Search in sources :

Example 1 with ASTSameTerm

use of org.eclipse.rdf4j.query.parser.serql.ast.ASTSameTerm in project rdf4j by eclipse.

the class QueryModelBuilder method visit.

@Override
public SameTerm visit(ASTSameTerm node, Object data) throws VisitorException {
    ValueExpr leftArg = (ValueExpr) node.getLeftOperand().jjtAccept(this, null);
    ValueExpr rightArg = (ValueExpr) node.getRightOperand().jjtAccept(this, null);
    return new SameTerm(leftArg, rightArg);
}
Also used : ValueExpr(org.eclipse.rdf4j.query.algebra.ValueExpr) ASTValueExpr(org.eclipse.rdf4j.query.parser.serql.ast.ASTValueExpr) ASTSameTerm(org.eclipse.rdf4j.query.parser.serql.ast.ASTSameTerm) SameTerm(org.eclipse.rdf4j.query.algebra.SameTerm)

Aggregations

SameTerm (org.eclipse.rdf4j.query.algebra.SameTerm)1 ValueExpr (org.eclipse.rdf4j.query.algebra.ValueExpr)1 ASTSameTerm (org.eclipse.rdf4j.query.parser.serql.ast.ASTSameTerm)1 ASTValueExpr (org.eclipse.rdf4j.query.parser.serql.ast.ASTValueExpr)1