SpecificationModules
Sourcedmodule.d
Documentationhttps://dlang.org/phobos/dmd_dmodule.html
removeHdrFilesAndFail(ref Paramparams, ref Modulesmodules);Package:dmd.dsymbol.ScopeDsymbol;resolve(Identifier[]packages, Dsymbol*pparent, Package*ppkg);Inputpackages[] the pkg1.pkg2 of pkg1.pkg2.mod
Output*pparent the rightmost package, i.e. pkg2, or NULL if no packages *ppkg the leftmost package, i.e. pkg1, or NULL if no packages
isAncestorPackageOf(const Packagepkg) const;Packagepkg | possible subpackage |
resolvePKGunknown();Module:dmd.dmodule.Package;deinitialize();src;tagSymTab;ImportCtag symbols that conflict with other symbols used as the index
selfImports();rootImports();importedFrom;setOutfilename(const(char)[]name, const(char)[]dir, const(char)[]arg, const(char)[]ext);Inputname 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
read(Locloc);Locloc | the location |
parse();parseModule(AST)();needModuleInfo();imports(Modulem);isCoreModule(Identifierident);identctfe_cov;fullyQualifiedName(ref OutBufferbuf);OutBufferbuf | The buffer to write to |
escapetable();ModuleDeclaration;toString() const;findGetMembers(ScopeDsymboldsym);