public final class AnyElementToken extends ElementToken
EoCR(exp) := exp/e1 | exp/e2 | ... | exp/en
{ei} = elements of concern
exp/ei = residual(exp,ei)
'|' represents choice
| Modifier and Type | Field and Description |
|---|---|
static Token |
theInstance
use this singleton instance instead of creating an object.
|
acceptedPatterns| Modifier | Constructor and Description |
|---|---|
private |
AnyElementToken() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(ElementExp exp)
returns true if the given ElementExp can consume this token
|
toStringisIgnorable, match, match, match, match, matchAnyStringpublic static final Token theInstance
public boolean match(ElementExp exp)
Tokenmatch in class ElementToken