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 |
|---|---|
| public static final Token | theInstance
use this singleton instance instead of creating an object. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | match(ElementExp exp)
returns true if the given ElementExp can consume this token
|
| theInstance | back to summary |
|---|---|
| public static final Token theInstance use this singleton instance instead of creating an object. | |
| AnyElementToken | back to summary |
|---|---|
| private AnyElementToken() | |
| match | back to summary |
|---|---|
| public boolean match(ElementExp exp) Overrides com. Doc from com. returns true if the given ElementExp can consume this token | |