analyze

For multiple files

  1. bool analyze(string[] fileNames, StaticAnalysisConfig config, string errorFormat, StringCache cache, ModuleCache moduleCache, bool staticAnalyze)
    bool
    analyze
    (
    string[] fileNames
    ,,,
    ref StringCache cache
    ,
    ref ModuleCache moduleCache
    ,
    bool staticAnalyze = true
    )
  2. MessageSet analyze(string fileName, Module m, StaticAnalysisConfig analysisConfig, ModuleCache moduleCache, const(Token)[] tokens, bool staticAnalyze)

Return Value

Type: bool

true if there were errors or if there were warnings and staticAnalyze was true.

Meta