Package org.openrdf.query.algebra

Examples of org.openrdf.query.algebra.ValueExpr


  @Override
  public Object visit(ASTAnd 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 And(leftArg, rightArg);
  }
View Full Code Here


  @Override
  public Not visit(ASTNot node, Object data)
    throws VisitorException
  {
    ValueExpr arg = (ValueExpr)super.visit(node, null);
    return new Not(arg);
  }
View Full Code Here

  @Override
  public Compare visit(ASTCompare 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 Compare(leftArg, rightArg, node.getOperator());
  }
View Full Code Here

  @Override
  public SameTerm visit(ASTSameTerm 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 SameTerm(leftArg, rightArg);
  }
View Full Code Here

  @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());
  }
View Full Code Here

  @Override
  public Object visit(ASTStr node, Object data)
    throws VisitorException
  {
    ValueExpr arg = (ValueExpr)node.jjtGetChild(0).jjtAccept(this, null);
    return new Str(arg);
  }
View Full Code Here

  @Override
  public Lang visit(ASTLang node, Object data)
    throws VisitorException
  {
    ValueExpr arg = (ValueExpr)node.jjtGetChild(0).jjtAccept(this, null);
    return new Lang(arg);
  }
View Full Code Here

  @Override
  public Datatype visit(ASTDatatype node, Object data)
    throws VisitorException
  {
    ValueExpr arg = (ValueExpr)node.jjtGetChild(0).jjtAccept(this, null);
    return new Datatype(arg);
  }
View Full Code Here

  @Override
  public Object visit(ASTLangMatches 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 LangMatches(leftArg, rightArg);
  }
View Full Code Here

  @Override
  public IsURI visit(ASTIsIRI node, Object data)
    throws VisitorException
  {
    ValueExpr arg = (ValueExpr)node.jjtGetChild(0).jjtAccept(this, null);
    return new IsURI(arg);
  }
View Full Code Here

TOP

Related Classes of org.openrdf.query.algebra.ValueExpr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.