com.bigdata.rdf.sail.sparql.ast.ASTGroupClause Maven / Gradle / Ivy
/* Generated By:JJTree: Do not edit this line. ASTGroupClause.java Version 4.3 */
/* JavaCCOptions:MULTI=true,NODE_USES_PARSER=false,VISITOR=true,TRACK_TOKENS=false,NODE_PREFIX=AST,NODE_EXTENDS=,NODE_FACTORY=,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package com.bigdata.rdf.sail.sparql.ast;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import com.bigdata.rdf.sail.sparql.ast.ASTGroupCondition;
import com.bigdata.rdf.sail.sparql.ast.SimpleNode;
import com.bigdata.rdf.sail.sparql.ast.SyntaxTreeBuilder;
import com.bigdata.rdf.sail.sparql.ast.SyntaxTreeBuilderVisitor;
import com.bigdata.rdf.sail.sparql.ast.VisitorException;
public
class ASTGroupClause extends SimpleNode {
public ASTGroupClause(int id) {
super(id);
}
public ASTGroupClause(SyntaxTreeBuilder p, int id) {
super(p, id);
}
/** Accept the visitor. **/
public Object jjtAccept(SyntaxTreeBuilderVisitor visitor, Object data) throws VisitorException {
return visitor.visit(this, data);
}
public List getBindingNames() {
List bindingNames = new ArrayList();
for(ASTGroupCondition condition: getGroupConditions()) {
bindingNames.add(condition.getName());
}
return bindingNames;
}
public List getGroupConditions() {
return jjtGetChildren(ASTGroupCondition.class);
}
}
/* JavaCC - OriginalChecksum=160933dbaf7175f4d32bb39163c160f5 (do not edit this line) */
© 2015 - 2024 Weber Informatics LLC | Privacy Policy