Expression that represents the union of two expressions "A|B".
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | isNullable
Compute this value eagerly for better performance |
| private final Expression | lhs
"A" of "A|B". |
| private final Expression | rhs
"B" of "A|B". |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | buildDAG(ElementSet incoming)
Implements abstract com. Builds up a DAG among |
| pack-priv boolean | isNullable()
Implements abstract com. True of |
| pack-priv ElementSet | |
| public String |
| isNullable | back to summary |
|---|---|
| private final boolean isNullable Compute this value eagerly for better performance | |
| lhs | back to summary |
|---|---|
| private final Expression lhs "A" of "A|B". | |
| rhs | back to summary |
|---|---|
| private final Expression rhs "B" of "A|B". | |
| Choice | back to summary |
|---|---|
| public Choice(Expression lhs, Expression rhs) | |
| buildDAG | back to summary |
|---|---|
| pack-priv void buildDAG(ElementSet incoming) Implements abstract com. Doc from com. Builds up a DAG among
| |
| isNullable | back to summary |
|---|---|
| pack-priv boolean isNullable() Implements abstract com. Doc from com. True of
| |
| lastSet | back to summary |
|---|---|
| pack-priv ElementSet lastSet() Implements abstract com. Doc from com. Computes
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |