Package | Description |
---|---|
com.google.javascript.jscomp.type |
Provides type-checking data structures and algorithms.
|
com.google.javascript.rhino |
The core AST from Rhino.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Method and Description |
---|---|
protected FlowScope |
ChainableReverseAbstractInterpreter.firstPreciserScopeKnowingConditionOutcome(Node condition,
FlowScope blindScope,
Outcome outcome)
Calculates the preciser scope starting with the first link.
|
FlowScope |
ReverseAbstractInterpreter.getPreciserScopeKnowingConditionOutcome(Node condition,
FlowScope blindScope,
Outcome outcome)
Calculates a precise version of the scope knowing the outcome of the condition.
|
FlowScope |
ClosureReverseAbstractInterpreter.getPreciserScopeKnowingConditionOutcome(Node condition,
FlowScope blindScope,
Outcome outcome) |
FlowScope |
SemanticReverseAbstractInterpreter.getPreciserScopeKnowingConditionOutcome(Node condition,
FlowScope blindScope,
Outcome outcome) |
protected FlowScope |
ChainableReverseAbstractInterpreter.nextPreciserScopeKnowingConditionOutcome(Node condition,
FlowScope blindScope,
Outcome outcome)
Delegates the calculation of the preciser scope to the next link.
|
Modifier and Type | Method and Description |
---|---|
static Outcome |
Outcome.forBoolean(boolean val)
Gets the Outcome for the given boolean.
|
abstract Outcome |
Outcome.not()
Gets the
not of this . |
static Outcome |
Outcome.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Outcome[] |
Outcome.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
JSType |
UnionType.getRestrictedTypeGivenOutcome(Outcome outcome) |
JSType |
JSType.getRestrictedTypeGivenOutcome(Outcome outcome)
Computes the restricted type of this type knowing that the
ToBoolean predicate has a specific value. |
Copyright © 2009-2020 Google. All Rights Reserved.