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 |
NumberType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
UnknownType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
BooleanType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
ObjectType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
NullType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
AllType.getPossibleToBooleanOutcomes() |
abstract BooleanLiteralSet |
JSType.getPossibleToBooleanOutcomes()
Computes the set of possible outcomes of the
ToBoolean predicate
for this type. |
BooleanLiteralSet |
StringType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
VoidType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
NoType.getPossibleToBooleanOutcomes() |
BooleanLiteralSet |
UnionType.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(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–2023 Google. All rights reserved.