DParsingService

D source code parsing service

Constructors

this
this()
Undocumented in source.

Members

Functions

addImportPaths
void addImportPaths(string[] paths)
Undocumented in source. Be warned that the author may not have intended to support it.
findDeclaration
DParsedModule findDeclaration(ubyte[] sourceCode, string filename, int bytePosition)
Undocumented in source. Be warned that the author may not have intended to support it.
findModuleFile
string findModuleFile(string moduleName)
Undocumented in source. Be warned that the author may not have intended to support it.
getOrParseModule
DParsedModule getOrParseModule(string moduleName)
Undocumented in source. Be warned that the author may not have intended to support it.
moduleNameToPackagePath
string moduleNameToPackagePath(string moduleName)

converts some.module.name to some/module/name.d

scan
DParsedModule scan(ubyte[] sourceCode, string filename, DParsedModule[string] scanned)
Undocumented in source. Be warned that the author may not have intended to support it.
scanDeps
void scanDeps(DParsedModule m, DParsedModule[string] scanned)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

instance
DParsingService instance [@property getter]

singleton

Static functions

shutdown
void shutdown()

destroy singleton

Static variables

_instance
DParsingService _instance;
Undocumented in source.

Variables

_cache
StringCache _cache;
Undocumented in source.
_currentModule
DParsedModule _currentModule;
Undocumented in source.
_importPaths
string[] _importPaths;
Undocumented in source.
_moduleByFile
DParsedModule[string] _moduleByFile;
Undocumented in source.
_moduleByName
DParsedModule[string] _moduleByName;
Undocumented in source.
_modules
DParsedModule[] _modules;
Undocumented in source.
_notFoundModules
bool[string] _notFoundModules;
Undocumented in source.

Meta