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, nextPreciserScopeKnowingConditionOutcome
public ClosureReverseAbstractInterpreter(CodingConvention convention, JSTypeRegistry typeRegistry)
ClosureReverseAbstractInterpreter
.public FlowScope getPreciserScopeKnowingConditionOutcome(Node condition, FlowScope blindScope, boolean outcome)
ReverseAbstractInterpreter
condition
- the condition's expressionblindScope
- the scope without knowledge about the outcome of the
conditionoutcome
- the outcome of the conditionCopyright © 2009–2017 Google. All rights reserved.