dsymbol.semantic
This file is part of DCD, a development tool for the D programming language. Copyright (C) 2014 Brian Schott
Discussion
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
-
Declaration
structSemanticSymbol;Intermediate form between DSymbol and the AST classes. Stores enough information to resolve things like base classes and alias this.
-
Declaration
this();Disable default construction.
-
Declaration
this(DSymbol*acSymbol);Parameters
namethe name
-
Declaration
voidaddChild(SemanticSymbol*child, boolowns);Adds a
childto the children field and updates the acSymbol's parts field -
Declaration
UnrolledList!(TypeLookup*, Mallocator, false)typeLookups;Information used to do type resolution, inheritance, mixins, and alias this
-
Declaration
UnrolledList!(SemanticSymbol*, Mallocator, false)children;Child symbols
-
Declaration
DSymbol*acSymbol;Autocompletion symbol
-
Declaration
SemanticSymbol*parent;Parent symbol
-
Declaration
IdTypeprotection;Protection level for this symobol
-
-
Declaration
TypeargptrType;Type of the argptr variable
-
Declaration
TypeargumentsType;Type of arguments