EnumDecl

class EnumDecl : Declaration {
Token* name;
TypeNode baseType;
EnumMemberDecl[] members;
}

Members

Functions

nameId
Identifier* nameId()

Returns the Identifier of this enum, or null if anonymous.

Variables

symbol
EnumSymbol symbol;

Semantic symbol.

Meta