workspaced.com.dscanner

Undocumented in source.

Members

Functions

findSymbol
void findSymbol(AsyncCallback cb, string symbol)

Asynchronously finds all definitions of a symbol in the import paths.

lint
void lint(AsyncCallback cb, string file, string ini, string code)

Asynchronously lints the file passed. If you provide code and DScanner supports reading from stdin (stable 0.4.0 and above) then code will be used.

listDefinitions
void listDefinitions(AsyncCallback cb, string file, string code)

Asynchronously lists all definitions in the specified file. If you provide code and DScanner supports reading from stdin (stable 0.4.0 and above) then code will be used.

start
void start(string dir, string dscannerPath)

Load function for dscanner. Call with {"cmd": "load", "components": ["dscanner"]} This will store the working directory and executable name for future use. It also checks for the version. All dub methods are used with "cmd": "dscanner"

stop
void stop()

Unloads dscanner. Has no purpose right now.

Meta