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

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

public class ASTEdge
extends SimpleNode


Field Summary
 
Fields inherited from class org.openrdf.query.parser.serql.ast.SimpleNode
children, id, parent, parser
 
Constructor Summary
ASTEdge(int id)
           
ASTEdge(SyntaxTreeBuilder p, int id)
           
 
Method Summary
 ASTValueExpr getValueExpr()
          Gets the value expression for this edge.
 java.lang.Object jjtAccept(SyntaxTreeBuilderVisitor visitor, java.lang.Object data)
          Accept the visitor.
 
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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTEdge

public ASTEdge(int id)

ASTEdge

public ASTEdge(SyntaxTreeBuilder p,
               int id)
Method Detail

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

getValueExpr

public ASTValueExpr getValueExpr()
Gets the value expression for this edge.

Returns:
An ASTVar, ASTURI or ASTQName object.


Copyright © 2001-2010 Aduna. All Rights Reserved.