Class IrConstant
Represents a constant value.
public class IrConstant : IrExpression
- Inheritance
-
IrConstant
- Inherited Members
Constructors
IrConstant(IrType, object)
Initializes a new instance of the IrConstant class.
public IrConstant(IrType type, object value)
Parameters
Properties
Kind
Gets the node kind for this constant.
public override IrNodeKind Kind { get; }
Property Value
Type
Gets the type of the constant.
public override IrType Type { get; }
Property Value
Value
Gets the constant value.
public object Value { get; }