antlr
Class GrammarAtom
(package private) abstract class GrammarAtom
A GrammarAtom is either a token ref, a character ref, or string.
The analysis doesn't care.
ASTNodeType
protected String ASTNodeType
Set to type of AST node to create during parse. Defaults to what is
set in the TokenSymbol.
atomText
protected String atomText
label
protected String label
tokenType
protected int tokenType
GrammarAtom
public GrammarAtom(Grammar g,
Token t,
int autoGenType)
getASTNodeType
public String getASTNodeType()
getText
public String getText()
getType
public int getType()
setASTNodeType
public void setASTNodeType(String type)
setOption
public void setOption(Token option,
Token value)