top | up | prev | next

UsingNodeAdder Class

Definition at line 44 of TypeBinder.cpp

Constructors

UsingNodeAdder(BoundCompileUnit& boundCompileUnit_, ContainerScope* containerScope_)

Member Functions

void Visit(AliasNode& aliasNode) override
void Visit(NamespaceImportNode& namespaceImportNode) override
void Visit(NamespaceNode& namespaceNode) override

Member Variables

BoundCompileUnit& boundCompileUnit
ContainerScope* containerScope
SymbolTable& symbolTable

Constructor Details

UsingNodeAdder Constructor

cmajor::binder::UsingNodeAdder::UsingNodeAdder(BoundCompileUnit & boundCompileUnit_, ContainerScope* containerScope_)

Definition at line 57 of TypeBinder.cpp :
  57 :
  58 boundCompileUnit(boundCompileUnit_)symbolTable(boundCompileUnit.GetSymbolTable())containerScope(containerScope_)
  59 {
  60 }


Declaration at line 47 of TypeBinder.cpp


Member Function Details

Visit Member Function

void cmajor::binder::UsingNodeAdder::Visit(AliasNode& aliasNode) override

Definition at line 76 of TypeBinder.cpp :
  77 {
  78     boundCompileUnit.FirstFileScope()->InstallAlias(containerScope&aliasNode);
  79 }


Declaration at line 49 of TypeBinder.cpp

Calls: cmajor::binder::BoundCompileUnit::FirstFileScope , cmajor::symbols::FileScope::InstallAlias


Visit Member Function

void cmajor::binder::UsingNodeAdder::Visit(NamespaceImportNode& namespaceImportNode) override

Definition at line 81 of TypeBinder.cpp :
  82 {
  83     boundCompileUnit.FirstFileScope()->InstallNamespaceImport(containerScope&namespaceImportNode);
  84 }


Declaration at line 50 of TypeBinder.cpp

Calls: cmajor::binder::BoundCompileUnit::FirstFileScope , cmajor::symbols::FileScope::InstallNamespaceImport


Visit Member Function

void cmajor::binder::UsingNodeAdder::Visit(NamespaceNode& namespaceNode) override

Definition at line 62 of TypeBinder.cpp
Declaration at line 48 of TypeBinder.cpp


top | up | prev | next