public class GrammarRootAST extends GrammarASTWithOptions
| Modifier and Type | Field and Description |
|---|---|
Map<String,String> |
cmdLineOptions |
static Map<String,String> |
defaultOptions |
String |
fileName |
int |
grammarType |
boolean |
hasErrors |
org.antlr.runtime.TokenStream |
tokenStream
Track stream used to create this tree
|
optionsatnState, g, textOverride| Constructor and Description |
|---|
GrammarRootAST(GrammarRootAST node) |
GrammarRootAST(int type) |
GrammarRootAST(int type,
org.antlr.runtime.Token t) |
GrammarRootAST(int type,
org.antlr.runtime.Token t,
String text) |
GrammarRootAST(org.antlr.runtime.Token t) |
| Modifier and Type | Method and Description |
|---|---|
GrammarRootAST |
dupNode() |
String |
getGrammarName() |
String |
getOptionString(String key) |
Object |
visit(GrammarASTVisitor v) |
getNumberOfOptions, getOptionAST, getOptions, setOptiondeleteChild, dupTree, getAllChildrenWithType, getAltLabel, getChildrenAsArray, getFirstDescendantWithType, getFirstDescendantWithType, getNodesWithType, getNodesWithType, getOutermostAltNode, insertChild, setText, setType, toTokenStringgetCharPositionInLine, getChildIndex, getLine, getParent, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex, setUnknownTokenBoundaries, toStringaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, freshenParentAndChildIndexesDeeply, freshenParentAndChildIndexesDeeply, getAncestor, getAncestors, getChild, getChildCount, getChildren, getFirstChildWithType, hasAncestor, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreepublic int grammarType
public boolean hasErrors
public org.antlr.runtime.TokenStream tokenStream
public String fileName
public GrammarRootAST(GrammarRootAST node)
public GrammarRootAST(int type)
public GrammarRootAST(org.antlr.runtime.Token t)
public GrammarRootAST(int type,
org.antlr.runtime.Token t)
public GrammarRootAST(int type,
org.antlr.runtime.Token t,
String text)
public String getGrammarName()
public String getOptionString(String key)
getOptionString in class GrammarASTWithOptionspublic Object visit(GrammarASTVisitor v)
visit in class GrammarASTpublic GrammarRootAST dupNode()
dupNode in interface org.antlr.runtime.tree.TreedupNode in class GrammarASTWithOptionsCopyright © 2012. All Rights Reserved.