antlr
abstract class GrammarAtom extends AlternativeElement
Field Summary | |
---|---|
protected String | ASTNodeType Set to type of AST node to create during parse. |
protected String | atomText |
protected String | label |
protected boolean | not |
protected int | tokenType |
Constructor Summary | |
---|---|
GrammarAtom(Grammar g, Token t, int autoGenType) |
Method Summary | |
---|---|
String | getASTNodeType() |
String | getLabel() |
String | getText() |
int | getType() |
void | setASTNodeType(String type) |
void | setLabel(String label_) |
void | setOption(Token option, Token value) |
String | toString() |