PackageDeclNode

Does not correspond to any token in the source code All packages and modules have parent package. Top-level package is root package (CommonAstNodes.node_root_package)

Members

Functions

addModule
void addModule(TokenIndex loc, Identifier modId, AstIndex modIndex, AstIndex conflictingModPack, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
getOrCreateSubpackage
AstIndex getOrCreateSubpackage(TokenIndex loc, Identifier subpackageId, AstIndex conflictingModule, 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.
lookup
AstIndex lookup(Identifier subpackageId, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.
visitModules
void visitModules(void delegate(ref AstIndex mod) visitor, CompilationContext* c)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin AstNodeData!(AstType.decl_package, 0, AstNodeState.ir_gen_done)
Undocumented in source.

Variables

declarations
AstNodeMap declarations;
Undocumented in source.
fqn
Identifier fqn;
Undocumented in source.
parentPackage
AstIndex parentPackage;

Points to PackageDeclNode

Meta