- accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
- deleteObjFile
void deleteObjFile()
Undocumented in source. Be warned that the author may not have intended to support it.
- importAll
void importAll(Scope* prevsc)
Undocumented in source. Be warned that the author may not have intended to support it.
- imports
int imports(Module m)
Recursively look at every module this module imports,
return true if it imports m.
Can be used to detect circular imports.
- isCoreModule
bool isCoreModule(Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
- isModule
inout(Module) isModule()
Undocumented in source. Be warned that the author may not have intended to support it.
- isPackageAccessible
bool isPackageAccessible(Package p, Prot protection, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- isRoot
bool isRoot()
Undocumented in source. Be warned that the author may not have intended to support it.
- kind
const(char)* kind()
Undocumented in source. Be warned that the author may not have intended to support it.
- needModuleInfo
int needModuleInfo()
Determine if we need to generate an instance of ModuleInfo
for this Module.
- parse
Module parse()
Undocumented in source. Be warned that the author may not have intended to support it.
- read
bool read(Loc loc)
Undocumented in source. Be warned that the author may not have intended to support it.
- rootImports
bool rootImports()
Return true if module imports root module.
- search
Dsymbol search(Loc loc, Identifier ident, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- selfImports
bool selfImports()
Return true if module imports itself.
- semantic
void semantic(Scope* )
Undocumented in source. Be warned that the author may not have intended to support it.
- semantic2
void semantic2(Scope* )
Undocumented in source. Be warned that the author may not have intended to support it.
- semantic3
void semantic3(Scope* )
Undocumented in source. Be warned that the author may not have intended to support it.
- setDocfile
void setDocfile()
Undocumented in source. Be warned that the author may not have intended to support it.
- setOutfile
File* setOutfile(const(char)* name, const(char)* dir, const(char)* arg, const(char)* ext)
Combines things into output file name for .html and .di files.
Input:
name Command line name given for the file, NULL if none
dir Command line directory given for the file, NULL if none
arg Name of the source file
ext File name extension to use if 'name' is NULL
global.params.preservePaths get output path from arg
srcfile Input file - output file name must not match input file
- symtabInsert
Dsymbol symtabInsert(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
- _init
void _init()
Undocumented in source. Be warned that the author may not have intended to support it.
- addDeferredSemantic
void addDeferredSemantic(Dsymbol s)
Can't run semantic on s now, try again later.
- addDeferredSemantic2
void addDeferredSemantic2(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
- addDeferredSemantic3
void addDeferredSemantic3(Dsymbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
- clearCache
void clearCache()
Undocumented in source. Be warned that the author may not have intended to support it.
- create
Module create(const(char)* filename, Identifier ident, int doDocComment, int doHdrGen)
Undocumented in source. Be warned that the author may not have intended to support it.
- load
Module load(Loc loc, Identifiers* packages, Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
- runDeferredSemantic
void runDeferredSemantic()
Run semantic() on deferred symbols.
- runDeferredSemantic2
void runDeferredSemantic2()
Undocumented in source. Be warned that the author may not have intended to support it.
- runDeferredSemantic3
void runDeferredSemantic3()
Undocumented in source. Be warned that the author may not have intended to support it.
- isPkgMod
PKG isPkgMod;
Undocumented in source.
- tag
uint tag;
Undocumented in source.
- mod
Module mod;
Undocumented in source.
- kind
const(char)* kind()
Undocumented in source. Be warned that the author may not have intended to support it.
- resolve
DsymbolTable resolve(Identifiers* packages, Dsymbol* pparent, Package* ppkg)
Input:
packages[] the pkg1.pkg2 of pkg1.pkg2.mod
- isPackage
inout(Package) isPackage()
Undocumented in source. Be warned that the author may not have intended to support it.
- isAncestorPackageOf
bool isAncestorPackageOf(Package pkg)
Checks if pkg is a sub-package of this
- semantic
void semantic(Scope* sc)
Undocumented in source. Be warned that the author may not have intended to support it.
- search
Dsymbol search(Loc loc, Identifier ident, int flags)
Undocumented in source. Be warned that the author may not have intended to support it.
- accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
- isPackageMod
Module isPackageMod()
Undocumented in source. Be warned that the author may not have intended to support it.