Protected
constructorStatic
createProtected
computeGet the cached value or compute it if not present. This will, by default, not trigger any notifyDependents calls, as this is only a cache retrieval.
Get the control flow graph (CFG) for the request, computing if necessary.
Do not use the cache, instead force new analyses.
Whether to use the dataflow graph for the creation of the CFG.
Simplification passes to be applied to the CFG.
Get the dataflow graph for the request, computing if necessary.
Optional
force: booleanDo not use the cache, instead force new analyses.
FlowrAnalyzerCache#peekDataflow - to get the dataflow graph if already available without triggering a new computation.
Get the normalized abstract syntax tree for the request, normalizing if necessary.
Optional
force: booleanDo not use the cache, instead force new analyses.
FlowrAnalyzerCache#peekNormalize - to get the normalized AST if already available without triggering a new normalization.
Notify all dependents of a cache invalidation event.
Get the parse output for the request, parsing if necessary.
Optional
force: booleanDo not use the cache, instead force a new parse.
FlowrAnalyzerCache#peekParse - to get the parse output if already available without triggering a new parse.
Get the control flow graph (CFG) for the request if already available, otherwise return undefined
.
Whether to use the dataflow graph for the creation of the CFG.
Simplification passes to be applied to the CFG.
FlowrAnalyzerCache#controlflow - to get the control flow graph, computing if necessary.
Get the dataflow graph for the request if already available, otherwise return undefined
.
This will not trigger a new computation.
FlowrAnalyzerCache#dataflow - to get the dataflow graph, computing if necessary.
Get the normalized abstract syntax tree for the request if already available, otherwise return undefined
.
This will not trigger a new normalization.
FlowrAnalyzerCache#normalize - to get the normalized AST, normalizing if necessary.
Get the parse output for the request if already available, otherwise return undefined
.
This will not trigger a new parse.
FlowrAnalyzerCache#parse - to get the parse output, parsing if necessary.
This provides the full analyzer caching layer, please avoid using this directly and prefer the FlowrAnalyzer.