| Package | Description |
|---|---|
| com.google.javascript.rhino.jstype |
Provides abstractions to represent types in JavaScript.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanLiteralSet |
BooleanLiteralSet.get(boolean literalValue)
Returns the singleton set {literalValue}.
|
BooleanLiteralSet |
UnknownType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
BooleanType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
UnionType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
ObjectType.getPossibleToBooleanOutcomes() |
abstract BooleanLiteralSet |
JSType.getPossibleToBooleanOutcomes()
Computes the set of possible outcomes of the
ToBoolean predicate
for this type. |
BooleanLiteralSet |
NoType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
VoidType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
StringType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
SymbolType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
NullType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
NumberType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
AllType.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. |
Copyright © 2009-2020 Google. All Rights Reserved.