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
|
toString
public static final Token theInstance
public boolean match(ElementExp exp)
Token
match
in class ElementToken
Copyright © 2016 Oracle Corporation. All rights reserved.