public interface ReverseAbstractInterpreter
Abstract interpretation is the process of interpreting a program at an abstracted level (such as at the type level) instead of the concrete level (the flow of values). This reversed abstract interpreter reverses the abstract interpretation process by knowing the outcome of some computation and calculating a preciser view of the world than the view without knowing the outcome of the computation.
Modifier and Type | Method and Description |
---|---|
FlowScope |
getPreciserScopeKnowingConditionOutcome(Node condition,
FlowScope blindScope,
boolean outcome)
Calculates a precise version of the scope knowing the outcome of the
condition.
|
FlowScope getPreciserScopeKnowingConditionOutcome(Node condition, FlowScope blindScope, boolean outcome)
condition
- the condition's expressionblindScope
- the scope without knowledge about the outcome of the
conditionoutcome
- the outcome of the conditionCopyright © 2009–2023 Google. All rights reserved.