Class ASTInfix
java.lang.Object
org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
org.eclipse.rdf4j.query.parser.sparql.ast.ASTInfix
- All Implemented Interfaces:
Node
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjjtAccept(SyntaxTreeBuilderVisitor visitor, Object data) Accept the visitor.Methods inherited from class SimpleNode
childrenAccept, dump, getId, isScopeChange, jjtAddChild, jjtAppendChild, jjtClose, jjtGetChild, jjtGetChild, jjtGetChildren, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtReplaceChild, jjtReplaceWith, jjtSetParent, jjtSetValue, setScopeChange, toString, toStringModifier and TypeMethodDescriptionchildrenAccept(SyntaxTreeBuilderVisitor visitor, Object data) Accept the visitor.voidintgetId()booleanCheck if this AST node constitutes a variable scope change.voidjjtAddChild(Node n, int i) This method tells the node to add its argument to the node's list of children.voidAdds the supplied node as the last child node to this node.voidjjtClose()This method is called after all the child nodes have been added.jjtGetChild(int i) This method returns a child node.<T extends Node>
TjjtGetChild(Class<T> type) Gets the (first) child of this node that is of the specific type.Node[]jjtGetChildren(Class<T> type) intReturn the number of children the node has.voidjjtOpen()This method is called after the node has been made the current node.voidjjtReplaceChild(Node oldNode, Node newNode) Replaces a child node with a new node.voidjjtReplaceWith(Node newNode) voidjjtSetParent(Node n) This pair of methods are used to inform the node of its parent.voidjjtSetValue(Object value) voidsetScopeChange(boolean isScopeChange) toString()
-
Constructor Details
-
ASTInfix
public ASTInfix(int id) -
ASTInfix
-
-
Method Details
-
jjtAccept
Accept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Throws:
VisitorException
-