SemanticSymbol

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

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Constructors

this
this(DSymbol* acSymbol)

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

this(this)
@disable this(this)

Disable copy construction

Copying this object is disabled.

Members

Functions

addChild
void addChild(SemanticSymbol* child, bool owns)

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

Variables

acSymbol
DSymbol* acSymbol;

Autocompletion symbol

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

Child symbols

parent
SemanticSymbol* parent;

Parent symbol

protection
IdType protection;

Protection level for this symobol

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

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

Meta