workspaced.com.moduleman

Members

Functions

getModule
const(string)[] getModule(string code)

Returns the module name of a D code

normalizeModules
CodeReplacement[] normalizeModules(string file, string code)

Renames/adds/removes a module from a file to match the majority of files in the folder.

rename
FileChanges[] rename(string mod, string rename, bool renameSubmodules = true)

Renames a module to something else (only in the project root).

start
void start(string projectRoot)

Initializes the module & import parser. Call with {"cmd": "load", "components": ["moduleman"]}

stop
void stop()

Has no purpose right now.

Meta