FirstPass

First Pass handles the following:

  • symbol name
  • symbol location
  • alias this locations
  • base class names
  • protection level
  • symbol kind
  • function call tip
  • symbol file path

Constructors

this
this(Module mod, istring symbolFile, IAllocator symbolAllocator, IAllocator semanticAllocator, bool includeParameterSymbols, ModuleCache* cache, CacheEntry* entry)

Members

Aliases

visit
alias visit = ASTVisitor.visit
Undocumented in source.

Functions

run
void run()

Runs the against the AST and produces symbols.

visit
void visit(Unittest u)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Constructor con)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(SharedStaticConstructor con)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StaticConstructor con)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Destructor des)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(SharedStaticDestructor des)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StaticDestructor des)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(FunctionDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ClassDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(InterfaceDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(UnionDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StructDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(BaseClass bc)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(VariableDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AliasDeclaration aliasDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AliasThisDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Declaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Module mod)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(EnumDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ModuleDeclaration moduleDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(StructBody structBody)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ImportDeclaration importDeclaration)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(BlockStatement blockStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(TemplateMixinExpression tme)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ForeachStatement feStatement)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ForeachTypeList feTypeList)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ForeachType feType)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(WithStatement withStatement)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin visitEnumMember!EnumMember
Undocumented in source.
__anonymous
mixin visitEnumMember!AnonymousEnumMember
Undocumented in source.

Variables

moduleScope
Scope* moduleScope;

Module scope

rootSymbol
SemanticSymbol* rootSymbol;

The module

symbolAllocator
IAllocator symbolAllocator;

Allocator used for symbol allocation

symbolsAllocated
uint symbolsAllocated;

Number of symbols allocated

Meta