public class ClosureReverseAbstractInterpreter extends ChainableReverseAbstractInterpreter
goog.isDef.convention| Constructor and Description |
|---|
ClosureReverseAbstractInterpreter(CodingConvention convention,
JSTypeRegistry typeRegistry)
Creates a
ClosureReverseAbstractInterpreter. |
| 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.
|
append, declareNameInScope, firstPreciserScopeKnowingConditionOutcome, getFirst, getRestrictedWithoutNull, getRestrictedWithoutUndefined, getTypeIfRefinable, nextPreciserScopeKnowingConditionOutcomepublic ClosureReverseAbstractInterpreter(CodingConvention convention, JSTypeRegistry typeRegistry)
ClosureReverseAbstractInterpreter.public FlowScope getPreciserScopeKnowingConditionOutcome(Node condition, FlowScope blindScope, boolean outcome)
ReverseAbstractInterpretercondition - the condition's expressionblindScope - the scope without knowledge about the outcome of the
conditionoutcome - the outcome of the condition