dscanner.analysis.run

Undocumented in source.

Members

Functions

analyze
bool analyze(string[] fileNames, StaticAnalysisConfig config, string errorFormat, StringCache cache, ModuleCache moduleCache, bool staticAnalyze)

For multiple files

analyze
MessageSet analyze(string fileName, Module m, StaticAnalysisConfig analysisConfig, ModuleCache moduleCache, const(Token)[] tokens, bool staticAnalyze)
Undocumented in source. Be warned that the author may not have intended to support it.
generateReport
void generateReport(string[] fileNames, StaticAnalysisConfig config, StringCache cache, ModuleCache moduleCache)
Undocumented in source. Be warned that the author may not have intended to support it.
messageFunction
void messageFunction(Message message, bool isError)
Undocumented in source. Be warned that the author may not have intended to support it.
messageFunctionFormat
void messageFunctionFormat(string format, Message message, bool isError)
Undocumented in source. Be warned that the author may not have intended to support it.
messageFunctionJSON
void messageFunctionJSON(string fileName, size_t line, size_t column, string message, bool )
Undocumented in source. Be warned that the author may not have intended to support it.
parseModule
const(Module) parseModule(string fileName, ubyte[] code, RollbackAllocator* p, string errorFormat, StringCache cache, bool report, const(Token)[] tokens, ulong* linesOfCode, uint* errorCount, uint* warningCount)
Undocumented in source. Be warned that the author may not have intended to support it.
shouldRun
bool shouldRun(string moduleName, StaticAnalysisConfig config)

Checks whether a module is part of a user-specified include/exclude list. The user can specify a comma-separated list of filters, everyone needs to start with either a '+' (inclusion) or '-' (exclusion). If no includes are specified, all modules are included.

syntaxCheck
bool syntaxCheck(string[] fileNames, string errorFormat, StringCache stringCache, ModuleCache moduleCache)
Undocumented in source. Be warned that the author may not have intended to support it.
writeJSON
void writeJSON(Message message)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

defaultErrorFormat
string defaultErrorFormat;
Undocumented in source.
first
bool first;
Undocumented in source.

Meta