use of org.eclipse.rdf4j.query.parser.serql.ast.ASTFunctionCall in project rdf4j by eclipse.
the class QueryModelBuilder method visit.
@Override
public FunctionCall visit(ASTFunctionCall node, Object data) throws VisitorException {
ValueConstant vc = (ValueConstant) node.getURI().jjtAccept(this, null);
assert vc.getValue() instanceof IRI;
FunctionCall functionCall = new FunctionCall(vc.getValue().toString());
for (ASTValueExpr argExpr : node.getArgList().getElements()) {
functionCall.addArg((ValueExpr) argExpr.jjtAccept(this, null));
}
return functionCall;
}
Aggregations