public abstract class AbstractParser extends Object implements Parser
Modifier and Type | Field and Description |
---|---|
protected Lexer |
lexer |
protected Deque<Node> |
stack |
protected boolean |
strict
Whether to impose strict syntax for the query language.
|
Constructor and Description |
---|
AbstractParser() |
Modifier and Type | Method and Description |
---|---|
protected static Node |
getLastDescendantNodeForNode(Node node)
Convenience method to navigate down through descendants to find the last one.
|
void |
setExplicitParameters(boolean flag) |
void |
setStrict(boolean flag) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
parse, parseFrom, parseOrder, parseParameters, parseResult, parseTuple, parseUpdate, parseVariable, parseVariables
protected boolean strict
protected Lexer lexer
public void setExplicitParameters(boolean flag)
setExplicitParameters
in interface Parser
protected static Node getLastDescendantNodeForNode(Node node)
node
- The nodeCopyright © 2019. All rights reserved.