ModuleCache

Caches pre-parsed module information.

Disabled Default Constructor

A disabled default is present on this object. To use it, use one of the other constructors or a factory function.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Postblit

this(this)
@disable this(this)

No copying.

Copying this object is disabled.

Members

Functions

addImportPaths
void addImportPaths(const string[] paths)

Adds the given path to the list of directories checked for imports. Performs duplicate checking, so multiple instances of the same path will not be present.

cacheModule
DSymbol* cacheModule(string location)

Caches the module at the given location

clear
void clear()

TODO: Implement

getModuleSymbol
DSymbol* getModuleSymbol(istring location)
resolveDeferredTypes
void resolveDeferredTypes(istring location)

Resolves types for deferred symbols

resolveImportLocation
istring resolveImportLocation(string moduleName)

Variables

symbolsAllocated
uint symbolsAllocated;

Count of autocomplete symbols that have been allocated

Meta