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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
match(ElementExp exp)
returns true if the given ElementExp can consume this token
|
toStringpublic static final Token theInstance
public boolean match(ElementExp exp)
Tokenmatch in class ElementTokenCopyright © 2016 Oracle Corporation. All Rights Reserved.