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(const Module mod, istring symbolFile, IAllocator symbolAllocator, IAllocator semanticAllocator, bool includeParameterSymbols, ModuleCache* cache, CacheEntry* entry = null)

Members

Functions

run
void run()

Runs the against the AST and produces symbols.

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