ImporterComponent

ditto

Members

Functions

add
ImportModification add(string importName, const(char)[] code, int pos, bool insertOutermost)

Returns a list of code patches for adding an import. If insertOutermost is false, the import will get added to the innermost block.

get
ImportInfo[] get(const(char)[] code, int pos)

Returns all imports available at some code position.

load
void load()
Undocumented in source. Be warned that the author may not have intended to support it.
sortImports
ImportBlock sortImports(const(char)[] code, int pos)

Sorts the imports in a whitespace separated group of code Returns ImportBlock.init if no changes would be done.

Mixins

__anonymous
mixin DefaultComponentWrapper
Undocumented in source.

Mixed In Members

From mixin DefaultComponentWrapper

workspaced
WorkspaceD workspaced;
Undocumented in source.
refInstance
WorkspaceD.Instance refInstance;
Undocumented in source.
_threads
TaskPool _threads;
Undocumented in source.
~this
~this()
Undocumented in source.
gthreads
TaskPool gthreads()
Undocumented in source. Be warned that the author may not have intended to support it.
threads
TaskPool threads(int minSize, int maxSize)
Undocumented in source. Be warned that the author may not have intended to support it.
instance
inout(WorkspaceD.Instance) instance()
Undocumented in source. Be warned that the author may not have intended to support it.
instance
WorkspaceD.Instance instance(WorkspaceD.Instance instance)
Undocumented in source. Be warned that the author may not have intended to support it.
importPaths
string[] importPaths()
Undocumented in source. Be warned that the author may not have intended to support it.
stringImportPaths
string[] stringImportPaths()
Undocumented in source. Be warned that the author may not have intended to support it.
importFiles
string[] importFiles()
Undocumented in source. Be warned that the author may not have intended to support it.
projectVersions
string[] projectVersions()

Lists the project defined version identifiers, if provided by any identifier

debugSpecifications
string[] debugSpecifications()

Lists the project defined debug specification identifiers, if provided by any provider

importPathProvider
inout(ImportPathProvider) importPathProvider()
Undocumented in source. Be warned that the author may not have intended to support it.
stringImportPathProvider
inout(ImportPathProvider) stringImportPathProvider()
Undocumented in source. Be warned that the author may not have intended to support it.
importFilesProvider
inout(ImportPathProvider) importFilesProvider()
Undocumented in source. Be warned that the author may not have intended to support it.
projectVersionsProvider
inout(IdentifierListProvider) projectVersionsProvider()
Undocumented in source. Be warned that the author may not have intended to support it.
debugSpecificationsProvider
inout(IdentifierListProvider) debugSpecificationsProvider()
Undocumented in source. Be warned that the author may not have intended to support it.
config
inout(Configuration) config()
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has()
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
cwd
string cwd()
Undocumented in source. Be warned that the author may not have intended to support it.
shutdown
void shutdown(bool dtor)
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind(WorkspaceD workspaced, WorkspaceD.Instance instance)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ComponentWrapper

bind
void bind(WorkspaceD workspaced, WorkspaceD.Instance instance)
Undocumented in source.
shutdown
void shutdown(bool dtor)
Undocumented in source.

Meta