Class ASTGraphRefAll
java.lang.Object
org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
org.eclipse.rdf4j.query.parser.sparql.ast.ASTGraphRefAll
- All Implemented Interfaces:
Node
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisNamed()jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data) Accept the visitor.voidsetDefault(boolean _default) voidsetNamed(boolean named) 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
-
ASTGraphRefAll
public ASTGraphRefAll(int id) -
ASTGraphRefAll
-
-
Method Details
-
jjtAccept
Accept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Throws:
VisitorException
-
setDefault
public void setDefault(boolean _default) - Parameters:
_default- The default to set.
-
isDefault
public boolean isDefault()- Returns:
- Returns the default.
-
setNamed
public void setNamed(boolean named) - Parameters:
named- The named to set.
-
isNamed
public boolean isNamed()- Returns:
- Returns the named.
-