org.openrdf.query.parser.serql.ast
Class ASTOptPathExprTail
java.lang.Object
org.openrdf.query.parser.serql.ast.SimpleNode
org.openrdf.query.parser.serql.ast.ASTPathExprTail
org.openrdf.query.parser.serql.ast.ASTOptPathExprTail
- All Implemented Interfaces:
- Node
public class ASTOptPathExprTail
- extends ASTPathExprTail
| Methods inherited from class org.openrdf.query.parser.serql.ast.SimpleNode |
childrenAccept, dump, dump, jjtAddChild, jjtAppendChild, jjtClose, jjtGetChild, jjtGetChild, jjtGetChildren, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtInsertChild, jjtOpen, jjtReplaceChild, jjtReplaceWith, jjtSetParent, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTOptPathExprTail
public ASTOptPathExprTail(int id)
ASTOptPathExprTail
public ASTOptPathExprTail(SyntaxTreeBuilder p,
int id)
jjtAccept
public java.lang.Object jjtAccept(SyntaxTreeBuilderVisitor visitor,
java.lang.Object data)
throws VisitorException
- Description copied from class:
SimpleNode
- Accept the visitor.
- Specified by:
jjtAccept in interface Node- Overrides:
jjtAccept in class SimpleNode
- Throws:
VisitorException
getOptionalTail
public ASTBasicPathExprTail getOptionalTail()
- Gets the optional tail part of the path expression.
- Returns:
- The optional tail part of the path expression.
hasWhereClause
public boolean hasWhereClause()
getWhereClause
public ASTWhere getWhereClause()
- Gets the where-clause that constrains the results of the optional path
expression tail, if any.
- Returns:
- The where-clause, or null if not available.
getNextTail
public ASTPathExprTail getNextTail()
- Description copied from class:
ASTPathExprTail
- Gets the path epxression tail following this part of the path expression,
if any.
- Specified by:
getNextTail in class ASTPathExprTail
- Returns:
- The next part of the path expression, or null if this
is the last part of the path expression.
Copyright © 2001-2010 Aduna. All Rights Reserved.