Class ASTServiceGraphPattern
java.lang.Object
org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
org.eclipse.rdf4j.query.parser.sparql.ast.ASTServiceGraphPattern
- All Implemented Interfaces:
Node
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionASTServiceGraphPattern(int id) ASTServiceGraphPattern(SyntaxTreeBuilder p, int id) -
Method Summary
Modifier and TypeMethodDescriptionintintintintbooleanisSilent()jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data) Accept the visitor.voidsetBaseURI(String baseURI) voidsetBeginTokenColumnPos(int beginTokenColumnPos) voidsetBeginTokenLinePos(int beginTokenLinePos) voidsetEndTokenColumnPos(int endTokenColumnPos) voidsetEndTokenLinePos(int endTokenLinePos) voidsetPrefixDeclarations(Map<String, String> prefixDeclarations) voidsetSilent(boolean silent) 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
-
ASTServiceGraphPattern
public ASTServiceGraphPattern(int id) -
ASTServiceGraphPattern
-
-
Method Details
-
jjtAccept
Accept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Throws:
VisitorException
-
setSilent
public void setSilent(boolean silent) -
isSilent
public boolean isSilent() -
getPatternString
- Returns:
- Returns the patternString.
-
setPrefixDeclarations
-
getPrefixDeclarations
-
setBaseURI
- Parameters:
baseURI- The baseURI to set.
-
getBaseURI
- Returns:
- Returns the baseURI.
-
setEndTokenColumnPos
public void setEndTokenColumnPos(int endTokenColumnPos) - Parameters:
endTokenColumnPos- The endTokenColumnPos to set.
-
getEndTokenColumnPos
public int getEndTokenColumnPos()- Returns:
- Returns the endTokenColumnPos.
-
setEndTokenLinePos
public void setEndTokenLinePos(int endTokenLinePos) - Parameters:
endTokenLinePos- The endTokenLinePos to set.
-
getEndTokenLinePos
public int getEndTokenLinePos()- Returns:
- Returns the endTokenLinePos.
-
setBeginTokenColumnPos
public void setBeginTokenColumnPos(int beginTokenColumnPos) - Parameters:
beginTokenColumnPos- The beginTokenColumnPos to set.
-
getBeginTokenColumnPos
public int getBeginTokenColumnPos()- Returns:
- Returns the beginTokenColumnPos.
-
setBeginTokenLinePos
public void setBeginTokenLinePos(int beginTokenLinePos) - Parameters:
beginTokenLinePos- The beginTokenLinePos to set.
-
getBeginTokenLinePos
public int getBeginTokenLinePos()- Returns:
- Returns the beginTokenLinePos.
-