public class ElementToken extends Token
Constructor and Description |
---|
ElementToken(ElementExp[] acceptedPatterns) |
Modifier and Type | Method and Description |
---|---|
boolean |
match(ElementExp exp)
returns true if the given ElementExp can consume this token
|
java.lang.String |
toString() |
public ElementToken(ElementExp[] acceptedPatterns)
public boolean match(ElementExp exp)
Token
public java.lang.String toString()
toString
in class java.lang.Object
MSV