ModuleDeclNode

If module declaration is found in the module points to that token

Members

Functions

addFunction
void addFunction(AstIndex func, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
fileName
string fileName(CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
isTopLevel
bool isTopLevel()
Undocumented in source. Be warned that the author may not have intended to support it.
tryFindFunction
FunctionDeclNode* tryFindFunction(Identifier id, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin ScopeDeclNodeData!(AstType.decl_module, 0, AstNodeState.name_register_self_done)
Undocumented in source.

Variables

fqn
Identifier fqn;

module identifier. Used by import declaration.

functions
AstNodes functions;

Linear list of all functions of a module (including nested and methods and externals) Order may be different from declaration order, because conditionaly compiled functions are added later

irModule
IrModule irModule;
Undocumented in source.
lirModule
IrModule lirModule;
Undocumented in source.
memberScope
ScopeIndex memberScope;
Undocumented in source.
moduleIndex
ModuleIndex moduleIndex;
Undocumented in source.
objectSymIndex
LinkIndex objectSymIndex;
Undocumented in source.
parentPackage
AstIndex parentPackage;

Points to PackageDeclNode

Meta