Class IrReturn
Represents a return statement.
public class IrReturn : IrStatement
- Inheritance
-
IrReturn
- Inherited Members
Constructors
IrReturn(IrExpression?)
Initializes a new instance of IrReturn with an optional return value.
public IrReturn(IrExpression? value = null)
Parameters
valueIrExpression
Properties
Kind
Gets the IR node kind for this statement.
public override IrNodeKind Kind { get; }
Property Value
Value
Gets the optional return value expression.
public IrExpression? Value { get; }