- ident
Identifier ident;
Undocumented in source.
- parent
Dsymbol parent;
Undocumented in source.
- csym
Symbol* csym;
Undocumented in source.
- isym
Symbol* isym;
Undocumented in source.
- comment
const(char)* comment;
Undocumented in source.
- loc
Loc loc;
Undocumented in source.
- _scope
Scope* _scope;
Undocumented in source.
- prettystring
const(char)* prettystring;
Undocumented in source.
- errors
bool errors;
Undocumented in source.
- semanticRun
PASS semanticRun;
Undocumented in source.
- depdecl
DeprecatedDeclaration depdecl;
Undocumented in source.
- userAttribDecl
UserAttributeDeclaration userAttribDecl;
Undocumented in source.
- ddocUnittest
UnitTestDeclaration ddocUnittest;
Undocumented in source.
- create
Dsymbol create(Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
- toChars
const(char)* toChars()
Undocumented in source. Be warned that the author may not have intended to support it.
- toPrettyCharsHelper
const(char)* toPrettyCharsHelper()
Undocumented in source. Be warned that the author may not have intended to support it.
- getLoc
Loc getLoc()
Undocumented in source. Be warned that the author may not have intended to support it.
- locToChars
const(char)* locToChars()
Undocumented in source. Be warned that the author may not have intended to support it.
- equals
bool equals(RootObject o)
Undocumented in source. Be warned that the author may not have intended to support it.
- isAnonymous
bool isAnonymous()
Undocumented in source. Be warned that the author may not have intended to support it.
- error
void error(Loc loc, const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
- error
void error(const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
- deprecation
void deprecation(Loc loc, const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
- deprecation
void deprecation(const(char)* format, ...)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkDeprecated
void checkDeprecated(Loc loc, Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
- getModule
Module getModule()
Determine which Module a Dsymbol is in.
- getAccessModule
Module getAccessModule()
Determine which Module a Dsymbol is in, as far as access rights go.
- pastMixin
inout(Dsymbol) pastMixin()
Undocumented in source. Be warned that the author may not have intended to support it.
- toParent
inout(Dsymbol) toParent()
- toParent2
inout(Dsymbol) toParent2()
parent field returns a lexically enclosing scope symbol this is a member of.
- isInstantiated
inout(TemplateInstance) isInstantiated()
Undocumented in source. Be warned that the author may not have intended to support it.
- isSpeculative
inout(TemplateInstance) isSpeculative()
Undocumented in source. Be warned that the author may not have intended to support it.
- ungagSpeculative
Ungag ungagSpeculative()
Undocumented in source. Be warned that the author may not have intended to support it.
- dyncast
int dyncast()
Undocumented in source. Be warned that the author may not have intended to support it.
- arraySyntaxCopy
Dsymbols* arraySyntaxCopy(Dsymbols* a)
Do syntax copy of an array of Dsymbol's.
- getIdent
Identifier getIdent()
Undocumented in source. Be warned that the author may not have intended to support it.
- toPrettyChars
const(char)* toPrettyChars(bool QualifyTypes)
Undocumented in source. Be warned that the author may not have intended to support it.
- kind
const(char)* kind()
Undocumented in source. Be warned that the author may not have intended to support it.
- toAlias
Dsymbol toAlias()
If this symbol is really an alias for another,
return that other.
If needed, semantic() is invoked due to resolve forward reference.
- toAlias2
Dsymbol toAlias2()
Resolve recursive tuple expansion in eponymous template.
- apply
int apply(Dsymbol_apply_ft_t fp, void* param)
Iterate this dsymbol or members of this scoped dsymbol, then
call fp with the found symbol and param.
- addMember
void addMember(Scope* sc, ScopeDsymbol sds)
Undocumented in source. Be warned that the author may not have intended to support it.
- setScope
void setScope(Scope* sc)
Set scope for future semantic analysis so we can
deal better with forward references.
- importAll
void importAll(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
- semantic
void semantic(Scope* sc)
Does semantic analysis on the public face of declarations.
- semantic2
void semantic2(Scope* sc)
Does semantic analysis on initializers and members of aggregates.
- semantic3
void semantic3(Scope* sc)
Does semantic analysis on function bodies.
- search
Dsymbol search(Loc loc, Identifier ident, int flags)
Search for ident as member of s.
- search_correct
Dsymbol search_correct(Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
- searchX
Dsymbol searchX(Loc loc, Scope* sc, RootObject id)
Search for identifier id as a member of 'this'.
id may be a template instance.
- overloadInsert
bool overloadInsert(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
- size
d_uns64 size(Loc loc)
- isforwardRef
bool isforwardRef()
Undocumented in source. Be warned that the author may not have intended to support it.
- isThis
AggregateDeclaration isThis()
Undocumented in source. Be warned that the author may not have intended to support it.
- isExport
bool isExport()
Undocumented in source. Be warned that the author may not have intended to support it.
- isImportedSymbol
bool isImportedSymbol()
Undocumented in source. Be warned that the author may not have intended to support it.
- isDeprecated
bool isDeprecated()
Undocumented in source. Be warned that the author may not have intended to support it.
- isOverloadable
bool isOverloadable()
Undocumented in source. Be warned that the author may not have intended to support it.
- isLabel
LabelDsymbol isLabel()
Undocumented in source. Be warned that the author may not have intended to support it.
- isMember
AggregateDeclaration isMember()
Returns an AggregateDeclaration when toParent() is that.
- isMember2
AggregateDeclaration isMember2()
Returns an AggregateDeclaration when toParent2() is that.
- isClassMember
ClassDeclaration isClassMember()
Undocumented in source. Be warned that the author may not have intended to support it.
- getType
Type getType()
Undocumented in source. Be warned that the author may not have intended to support it.
- needThis
bool needThis()
Undocumented in source. Be warned that the author may not have intended to support it.
- prot
Prot prot()
- syntaxCopy
Dsymbol syntaxCopy(Dsymbol s)
Copy the syntax.
Used for template instantiations.
If s is NULL, allocate the new object, otherwise fill it in.
- oneMember
bool oneMember(Dsymbol* ps, Identifier ident)
Determine if this symbol is only one.
- oneMembers
bool oneMembers(Dsymbols* members, Dsymbol* ps, Identifier ident)
Same as Dsymbol::oneMember(), but look at an array of Dsymbols.
- setFieldOffset
void setFieldOffset(AggregateDeclaration ad, uint* poffset, bool isunion)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasPointers
bool hasPointers()
Is Dsymbol a variable that contains pointers?
- hasStaticCtorOrDtor
bool hasStaticCtorOrDtor()
Undocumented in source. Be warned that the author may not have intended to support it.
- addLocalClass
void addLocalClass(ClassDeclarations* )
Undocumented in source. Be warned that the author may not have intended to support it.
- checkCtorConstInit
void checkCtorConstInit()
Undocumented in source. Be warned that the author may not have intended to support it.
- addComment
void addComment(const(char)* comment)
Add documentation comment to Dsymbol.
Ignore NULL comments.
- inNonRoot
bool inNonRoot()
Returns true if this symbol is defined in a non-root module without instantiation.
- isPackage
inout(Package) isPackage()
Undocumented in source. Be warned that the author may not have intended to support it.
- isModule
inout(Module) isModule()
Undocumented in source. Be warned that the author may not have intended to support it.
- isEnumMember
inout(EnumMember) isEnumMember()
Undocumented in source. Be warned that the author may not have intended to support it.
- isTemplateDeclaration
inout(TemplateDeclaration) isTemplateDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isTemplateInstance
inout(TemplateInstance) isTemplateInstance()
Undocumented in source. Be warned that the author may not have intended to support it.
- isTemplateMixin
inout(TemplateMixin) isTemplateMixin()
Undocumented in source. Be warned that the author may not have intended to support it.
- isNspace
inout(Nspace) isNspace()
Undocumented in source. Be warned that the author may not have intended to support it.
- isDeclaration
inout(Declaration) isDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isThisDeclaration
inout(ThisDeclaration) isThisDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isTypeInfoDeclaration
inout(TypeInfoDeclaration) isTypeInfoDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isTupleDeclaration
inout(TupleDeclaration) isTupleDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isAliasDeclaration
inout(AliasDeclaration) isAliasDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isAggregateDeclaration
inout(AggregateDeclaration) isAggregateDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isFuncDeclaration
inout(FuncDeclaration) isFuncDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isFuncAliasDeclaration
inout(FuncAliasDeclaration) isFuncAliasDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isOverDeclaration
inout(OverDeclaration) isOverDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isFuncLiteralDeclaration
inout(FuncLiteralDeclaration) isFuncLiteralDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isCtorDeclaration
inout(CtorDeclaration) isCtorDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isPostBlitDeclaration
inout(PostBlitDeclaration) isPostBlitDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isDtorDeclaration
inout(DtorDeclaration) isDtorDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isStaticCtorDeclaration
inout(StaticCtorDeclaration) isStaticCtorDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isStaticDtorDeclaration
inout(StaticDtorDeclaration) isStaticDtorDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isSharedStaticCtorDeclaration
inout(SharedStaticCtorDeclaration) isSharedStaticCtorDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isSharedStaticDtorDeclaration
inout(SharedStaticDtorDeclaration) isSharedStaticDtorDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isInvariantDeclaration
inout(InvariantDeclaration) isInvariantDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isUnitTestDeclaration
inout(UnitTestDeclaration) isUnitTestDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isNewDeclaration
inout(NewDeclaration) isNewDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isVarDeclaration
inout(VarDeclaration) isVarDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isClassDeclaration
inout(ClassDeclaration) isClassDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isStructDeclaration
inout(StructDeclaration) isStructDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isUnionDeclaration
inout(UnionDeclaration) isUnionDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isInterfaceDeclaration
inout(InterfaceDeclaration) isInterfaceDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isScopeDsymbol
inout(ScopeDsymbol) isScopeDsymbol()
Undocumented in source. Be warned that the author may not have intended to support it.
- isWithScopeSymbol
inout(WithScopeSymbol) isWithScopeSymbol()
Undocumented in source. Be warned that the author may not have intended to support it.
- isArrayScopeSymbol
inout(ArrayScopeSymbol) isArrayScopeSymbol()
Undocumented in source. Be warned that the author may not have intended to support it.
- isImport
inout(Import) isImport()
Undocumented in source. Be warned that the author may not have intended to support it.
- isEnumDeclaration
inout(EnumDeclaration) isEnumDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isDeleteDeclaration
inout(DeleteDeclaration) isDeleteDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isSymbolDeclaration
inout(SymbolDeclaration) isSymbolDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isAttribDeclaration
inout(AttribDeclaration) isAttribDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isAnonDeclaration
inout(AnonDeclaration) isAnonDeclaration()
Undocumented in source. Be warned that the author may not have intended to support it.
- isOverloadSet
inout(OverloadSet) isOverloadSet()
Undocumented in source. Be warned that the author may not have intended to support it.
- accept
void accept(Visitor v)
Overload Sets