org.openrdf.query.parser.serql.ast
Class ASTOptPathExprTail

java.lang.Object
  extended by org.openrdf.query.parser.serql.ast.SimpleNode
      extended by org.openrdf.query.parser.serql.ast.ASTPathExprTail
          extended by org.openrdf.query.parser.serql.ast.ASTOptPathExprTail
All Implemented Interfaces:
Node

public class ASTOptPathExprTail
extends ASTPathExprTail


Field Summary
 
Fields inherited from class org.openrdf.query.parser.serql.ast.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTOptPathExprTail(int id)
           
ASTOptPathExprTail(SyntaxTreeBuilder p, int id)
           
 
Method Summary
 ASTPathExprTail getNextTail()
          Gets the path epxression tail following this part of the path expression, if any.
 ASTBasicPathExprTail getOptionalTail()
          Gets the optional tail part of the path expression.
 ASTWhere getWhereClause()
          Gets the where-clause that constrains the results of the optional path expression tail, if any.
 boolean hasWhereClause()
           
 Object jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data)
          Accept the visitor.
 
Methods inherited from class org.openrdf.query.parser.serql.ast.ASTPathExprTail
hasNextTail, isBranch, setBranch, toString
 
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
 

Constructor Detail

ASTOptPathExprTail

public ASTOptPathExprTail(int id)

ASTOptPathExprTail

public ASTOptPathExprTail(SyntaxTreeBuilder p,
                          int id)
Method Detail

jjtAccept

public Object jjtAccept(SyntaxTreeBuilderVisitor visitor,
                        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-2007 Aduna. All Rights Reserved.