Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
Modifier and Type | Field and Description |
---|---|
(package private) BooleanLiteralSet |
TypeInference.BooleanOutcomePair.booleanValues |
(package private) BooleanLiteralSet |
TypeInference.BooleanOutcomePair.toBooleanOutcomes |
Modifier and Type | Method and Description |
---|---|
private static BooleanLiteralSet |
TypeInference.joinBooleanOutcomes(boolean isAnd,
BooleanLiteralSet left,
BooleanLiteralSet right) |
Modifier and Type | Method and Description |
---|---|
private static BooleanLiteralSet |
TypeInference.joinBooleanOutcomes(boolean isAnd,
BooleanLiteralSet left,
BooleanLiteralSet right) |
Constructor and Description |
---|
BooleanOutcomePair(BooleanLiteralSet toBooleanOutcomes,
BooleanLiteralSet booleanValues,
FlowScope leftScope,
FlowScope rightScope) |
Modifier and Type | Method and Description |
---|---|
private BooleanLiteralSet |
BooleanLiteralSet.fromOrdinal(int ordinal) |
static BooleanLiteralSet |
BooleanLiteralSet.get(boolean literalValue)
Returns the singleton set {literalValue}.
|
BooleanLiteralSet |
AllType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
ArrowType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
BooleanType.getPossibleToBooleanOutcomes() |
abstract BooleanLiteralSet |
JSType.getPossibleToBooleanOutcomes()
Computes the set of possible outcomes of the
ToBoolean predicate
for this type. |
BooleanLiteralSet |
NoType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
NullType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
NumberType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
ObjectType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
StringType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
UnionType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
UnknownType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
VoidType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
BooleanLiteralSet.intersection(BooleanLiteralSet that)
Computes the intersection of this set and
that . |
BooleanLiteralSet |
BooleanLiteralSet.union(BooleanLiteralSet that)
Computes the union of this set and
that . |
static BooleanLiteralSet |
BooleanLiteralSet.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BooleanLiteralSet[] |
BooleanLiteralSet.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BooleanLiteralSet |
BooleanLiteralSet.intersection(BooleanLiteralSet that)
Computes the intersection of this set and
that . |
BooleanLiteralSet |
BooleanLiteralSet.union(BooleanLiteralSet that)
Computes the union of this set and
that . |