Table of Contents

Class IrFieldAccess

Namespace
Xui.GPU.IR
Assembly
Xui.Core.dll

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

obj IrExpression
fieldName string
type IrType

Properties

FieldName

Gets the name of the field being accessed.

public string FieldName { get; }

Property Value

string

Kind

Gets the node kind for this field access.

public override IrNodeKind Kind { get; }

Property Value

IrNodeKind

Object

Gets the expression representing the object being accessed.

public IrExpression Object { get; }

Property Value

IrExpression

Type

Gets the result type of the field access.

public override IrType Type { get; }

Property Value

IrType