MCPcopy
hub / github.com/microsoft/pyright / isParseRequired

Method isParseRequired

server/src/analyzer/sourceFile.ts:218–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 }
217
218 isParseRequired() {
219 return this._analysisJob.fileContentsVersion !== this._fileContentsVersion;
220 }
221
222 isSemanticAnalysisRequired() {
223 return this._analysisJob.nextPhaseToRun <= AnalysisPhase.SemanticAnalysis;

Callers 5

getParseResultsMethod · 0.95
parseMethod · 0.95
doSemanticAnalysisMethod · 0.95
doTypeAnalysisMethod · 0.95
_parseFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected