- accept
void accept(Visitor v)
Undocumented in source. Be warned that the author may not have intended to support it.
- checkImportDeprecation
void checkImportDeprecation(Loc loc, Scope* sc)
Print deprecation warning if we're deprecated, when
this module is imported from scope sc.
- deleteObjFile
void deleteObjFile()
Undocumented in source. Be warned that the author may not have intended to support it.
- fullyQualifiedName
void fullyQualifiedName(OutBuffer buf)
Writes this module's fully-qualified name to buf
- 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, Visibility visibility, 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.
- loadSourceBuffer
bool loadSourceBuffer(Loc loc, File.ReadResult readResult)
Loads the source buffer from the given read result into this.srcBuffer.
- needModuleInfo
int needModuleInfo()
Determine if we need to generate an instance of ModuleInfo
for this Module.
- parse
Module parse()
- parseModule
Module parseModule()
- read
bool read(Loc loc)
Reads the file from srcfile and loads the source buffer.
- 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.
- setDocfile
void setDocfile()
Undocumented in source. Be warned that the author may not have intended to support it.
- setOutfilename
FileName setOutfilename(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.
- 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.
- deinitialize
void deinitialize()
Deinitializes the global state of the compiler.
- load
Module load(Loc loc, Identifiers* packages, Identifier ident)
Undocumented in source. Be warned that the author may not have intended to support it.
- load
Module load(Loc loc, Identifier[] 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.
- equals
bool equals(RootObject o)
Undocumented in source. Be warned that the author may not have intended to support it.
- resolve
DsymbolTable resolve(Identifier[] 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
- 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.
- resolvePKGunknown
void resolvePKGunknown()
Checks for the existence of a package.d to set isPkgMod appropriately
if isPkgMod == PKG.unknown