AliasSymbol

An alias symbol.

class AliasSymbol : Symbol {
Type aliasType;
Symbol aliasSym;
}

Inherited Members

From Symbol

sid
SYM sid;

The ID of this symbol.

status
Status status;

The semantic status of this symbol.

parent
Symbol parent;

The parent this symbol belongs to.

name
Identifier* name;

The name of this symbol. If the symbol is nameless Ident.Empty is assigned to it.

loc
SLoc loc;

For locating a symbol.

setCompleting
void setCompleting()

Change the status to Status.Completing.

setComplete
void setComplete()

Change the status to Status.Complete.

isCompleting
bool isCompleting()

Returns true if the symbol is being completed.

isComplete
bool isComplete()

Returns true if the symbols is complete.

to
Class to()

Casts the symbol to Class.

getFQN
cstring getFQN()
getModule
Symbol getModule()

Returns the module this symbol belongs to or null if orphaned.

getType
Object getType()

Returns the type of this symbol or null if inexistent. The return type is Object to avoid circular imports.

toMangle
cstring toMangle()

Returns the mangled name of this symbol.

toString
string toString()

Returns the string representation of this symbol.

Meta