Package eu.clarin.sru.fcs.qlparser.lex
Class QueryNode
- java.lang.Object
-
- eu.clarin.sru.fcs.qlparser.AbstractQueryNode<QueryNode,QueryNodeType,QueryVisitor>
-
- eu.clarin.sru.fcs.qlparser.lex.QueryNode
-
- Direct Known Subclasses:
Modifier
,Relation
,SearchClause
,SearchClauseGroup
,Subquery
public abstract class QueryNode extends AbstractQueryNode<QueryNode,QueryNodeType,QueryVisitor>
Base class for LexCQL expression tree nodes.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class eu.clarin.sru.fcs.qlparser.AbstractQueryNode
AbstractQueryNode.AbstractQueryNodeType, AbstractQueryNode.AbstractQueryVisitor, AbstractQueryNode.SourceLocation
-
-
Field Summary
-
Fields inherited from class eu.clarin.sru.fcs.qlparser.AbstractQueryNode
children, location, nodeType, parent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
QueryNode(QueryNodeType nodeType)
Constructor.protected
QueryNode(QueryNodeType nodeType, QueryNode child)
Constructor.protected
QueryNode(QueryNodeType nodeType, List<QueryNode> children)
Constructor.
-
Method Summary
-
Methods inherited from class eu.clarin.sru.fcs.qlparser.AbstractQueryNode
accept, getChild, getChild, getChildCount, getChildren, getFirstChild, getFirstChild, getLastChild, getLocation, getNodeType, getParent, hasNodeType, setLocation, setParent, toString
-
-
-
-
Constructor Detail
-
QueryNode
protected QueryNode(QueryNodeType nodeType, List<QueryNode> children)
Constructor.- Parameters:
nodeType
- the type of the nodechildren
- the children of this node ornull
if none
-
QueryNode
protected QueryNode(QueryNodeType nodeType, QueryNode child)
Constructor.- Parameters:
nodeType
- the type of the nodechild
- the child of this node ornull
if none
-
QueryNode
protected QueryNode(QueryNodeType nodeType)
Constructor.- Parameters:
nodeType
- the type of the node
-
-