use of org.eclipse.rdf4j.query.algebra.MathExpr in project rdf4j by eclipse.
the class TupleExprBuilder method visit.
@Override
public MathExpr visit(ASTMath node, Object data) throws VisitorException {
ValueExpr leftArg = (ValueExpr) node.jjtGetChild(0).jjtAccept(this, null);
ValueExpr rightArg = (ValueExpr) node.jjtGetChild(1).jjtAccept(this, null);
return new MathExpr(leftArg, rightArg, node.getOperator());
}