public static class GrammarAlias.TokenAlias extends GrammarAlias.AbstractElementAlias
Modifier and Type | Field and Description |
---|---|
protected AbstractElement |
token |
many, optional, parent
Constructor and Description |
---|
GrammarAlias.TokenAlias(boolean many,
boolean optional,
AbstractElement token) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AbstractElement |
getToken() |
int |
hashCode() |
getParent, isMany, isOptional, toString
protected final AbstractElement token
public GrammarAlias.TokenAlias(boolean many, boolean optional, AbstractElement token)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public AbstractElement getToken()
public int hashCode()
hashCode
in class java.lang.Object