AggregateSymbol

Aggregates have function and field members.

abstract
class AggregateSymbol : ScopeSymbol {
Type type;
FunctionSymbol[] funcs;
VariableSymbol[] fields;
}

Members

Variables

aliases
AliasSymbol[] aliases;

AliasThis symbols.

Inherited Members

From ScopeSymbol

symbolTable
SymbolTable symbolTable;

The symbol table.

members
Symbol[] members;

The member symbols (in lexical order.)

lookup
Symbol lookup(Identifier* name)

Looks up name in the table.

lookup
Symbol lookup(hash_t hash)

Looks up a symbol in the table using its string hash.

insert
void insert(Symbol s, Identifier* name)

Inserts a symbol into the table.

Meta