public class GrammarRootAST extends GrammarASTWithOptions
| Modifier and Type | Field and Description |
|---|---|
Map |
cmdLineOptions
|
static Map |
defaultOptions
|
String |
fileName
|
int |
grammarType
|
boolean |
hasErrors
|
TokenStream |
tokenStream
Track stream used to create this tree
|
optionsatnState, g, textOverride| Constructor and Description |
|---|
GrammarRootAST(GrammarRootAST
|
GrammarRootAST(int type, Token t, String
|
GrammarRootAST(int type, Token t, TokenStream tokenStream)
|
GrammarRootAST(Token t, TokenStream tokenStream)
|
| Modifier and Type | Method and Description |
|---|---|
GrammarRootAST |
dupNode()
|
String |
getGrammarName()
|
String |
getOptionString(String
|
Object |
visit(GrammarASTVisitor
|
getNumberOfOptions, getOptionAST, getOptions, setOptiondeleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getNodesWithTypePreorderDFS_, getNodesWithTypePreorderDFS, getNodeWithTokenIndex, getOutermostAltNode, setText, setType, toTokenStringpublic int grammarType
public boolean hasErrors
public final TokenStream tokenStream
public StringfileName
public GrammarRootAST(GrammarRootASTnode)
public GrammarRootAST(Token t,
TokenStream tokenStream)public GrammarRootAST(int type,
Token t,
TokenStream tokenStream)public GrammarRootAST(int type,
Token t,
String text,
TokenStream tokenStream) public StringgetGrammarName()
public Objectvisit(GrammarASTVisitor v)
public GrammarRootASTdupNode()