public class ParserBase extends Object
Constructor and Description |
---|
ParserBase()
A default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
begin(org.antlr.runtime.tree.Tree tree)
Returns start index of the tree in the underlying source
|
int |
end(org.antlr.runtime.tree.Tree tree)
Returns end index of the tree in the underlying source
|
protected ASTNode |
getASTNode(org.antlr.runtime.tree.Tree tree) |
protected String |
getFullText()
Returns the source text of the parsed expression.
|
protected String |
getText(org.antlr.runtime.tree.Tree tree) |
int |
line(org.antlr.runtime.tree.Tree tree) |
protected IdentifierAst |
parseIdentifierAst(org.antlr.runtime.tree.Tree tree) |
protected QIDAst |
parseQIDAst(org.antlr.runtime.tree.Tree tree) |
protected void |
setFullText(String fullText)
Sets the source text of the parsed expression.
|
protected String getFullText()
protected void setFullText(String fullText)
fullText
- public int line(org.antlr.runtime.tree.Tree tree)
tree
- public int begin(org.antlr.runtime.tree.Tree tree)
tree
- public int end(org.antlr.runtime.tree.Tree tree)
tree
- protected IdentifierAst parseIdentifierAst(org.antlr.runtime.tree.Tree tree)
protected QIDAst parseQIDAst(org.antlr.runtime.tree.Tree tree)
protected ASTNode getASTNode(org.antlr.runtime.tree.Tree tree)
protected String getText(org.antlr.runtime.tree.Tree tree)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.