MemberSelectorNode

to store a member selection (someStructOrEnum.memberName)

Constructors

this
this(CodeNode parent, string member, uinteger lineno)

Constructor

Members

Enums

Type
enum Type

Types

Properties

parent
CodeNode parent [@property getter]
CodeNode parent [@property setter]

Variables

isLiteral
bool isLiteral;

stores if value is static

lineno
uinteger lineno;

the line number (starts from 1) from which this node begins, or ends

memberName
string memberName;

name of member, this is valid for Type.EnumMemberRead & Type.StructMemberRead

memberNameIndex
integer memberNameIndex;

index of memberName in struct definition or enum definition. Only valid after ASTCheck

returnType
DataType returnType;

Return type. Only valid after ASTCheck

type
Type type;

stores the type this MemberSelector is of. Only valid after ASTCheck has been called on this

Meta