Class IrFieldAccess
Represents a field access.
public class IrFieldAccess : IrExpression
- Inheritance
-
IrFieldAccess
- Inherited Members
Constructors
IrFieldAccess(IrExpression, string, IrType)
Initializes a new instance of the IrFieldAccess class.
public IrFieldAccess(IrExpression obj, string fieldName, IrType type)
Parameters
objIrExpressionfieldNamestringtypeIrType
Properties
FieldName
Gets the name of the field being accessed.
public string FieldName { get; }
Property Value
Kind
Gets the node kind for this field access.
public override IrNodeKind Kind { get; }
Property Value
Object
Gets the expression representing the object being accessed.
public IrExpression Object { get; }
Property Value
Type
Gets the result type of the field access.
public override IrType Type { get; }