SemanticSymbol

Intermediate form between DSymbol and the AST classes. Stores enough information to resolve things like base classes and alias this.

Constructors

this
this()

Disable default construction.

this
this(DSymbol* acSymbol)

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)

Disable copy construction

Members

Functions

addChild
void addChild(SemanticSymbol* child, bool owns)

Adds a child to the children field and updates the acSymbol's parts field

protection
deprecated inout(IdType) protection()

Protection level for this symobol

Variables

acSymbol
DSymbol* acSymbol;

Autocompletion symbol

children
UnrolledList!(SemanticSymbol*, Mallocator, false) children;

Child symbols

parent
SemanticSymbol* parent;

Parent symbol

typeLookups
UnrolledList!(TypeLookup*, Mallocator, false) typeLookups;

Information used to do type resolution, inheritance, mixins, and alias this

Meta