Examples of jjtAccept()


Examples of org.openrdf.query.parser.serql.ast.ASTQueryBody.jjtAccept()

    ASTQueryBody queryBodyNode = node.getQueryBody();

    if (queryBodyNode != null) {
      // Build tuple expression for query body
      tupleExpr = (TupleExpr)queryBodyNode.jjtAccept(this, null);
    }
    else {
      tupleExpr = new SingletonSet();
    }
View Full Code Here

Examples of org.openrdf.query.parser.serql.ast.ASTQueryContainer.jjtAccept()

      NullProcessor.process(qc);

      StringEscapesProcessor.process(qc);
      Map<String, String> namespaces = NamespaceDeclProcessor.process(qc);
      ProjectionProcessor.process(qc);
      qc.jjtAccept(new ProjectionAliasProcessor(), null);
      qc.jjtAccept(new AnonymousVarGenerator(), null);

      // TODO: check use of unbound variables?

      TupleExpr tupleExpr = QueryModelBuilder.buildQueryModel(qc, new ValueFactoryImpl());
View Full Code Here

Examples of org.openrdf.query.parser.serql.ast.ASTQueryContainer.jjtAccept()

      StringEscapesProcessor.process(qc);
      Map<String, String> namespaces = NamespaceDeclProcessor.process(qc);
      ProjectionProcessor.process(qc);
      qc.jjtAccept(new ProjectionAliasProcessor(), null);
      qc.jjtAccept(new AnonymousVarGenerator(), null);

      // TODO: check use of unbound variables?

      TupleExpr tupleExpr = QueryModelBuilder.buildQueryModel(qc, new ValueFactoryImpl());
View Full Code Here

Examples of org.openrdf.query.parser.serql.ast.ASTWhere.jjtAccept()

    tailNode.getOptionalTail().jjtAccept(this, subjVars);

    ASTWhere whereNode = tailNode.getWhereClause();
    if (whereNode != null) {
      // boolean contraint on optional path expression tail
      whereNode.jjtAccept(this, null);
    }

    graphPattern.getParent().addOptionalTE(graphPattern);
    graphPattern = graphPattern.getParent();
View Full Code Here

Examples of org.openrdf.query.parser.serql.ast.Node.jjtAccept()

    for (int i = 0; i < node.jjtGetNumChildren(); i++) {
      Node projElem = node.jjtGetChild(i);

      assert projElem instanceof ASTProjectionElem : "child node is not a projection element";

      Object result = projElem.jjtAccept(this, aliases);

      if (result instanceof String) {
        String alias = (String)result;

        boolean isUnique = aliases.add(alias);
View Full Code Here

Examples of org.openrdf.query.parser.sparql.ast.ASTLimit.jjtAccept()

    // Process limit and offset clauses
    ASTLimit limitNode = node.getLimit();
    int limit = -1;
    if (limitNode != null) {
      limit = (Integer)limitNode.jjtAccept(this, null);
    }

    ASTOffset offsetNode = node.getOffset();
    int offset = -1;
    if (offsetNode != null) {
View Full Code Here

Examples of org.openrdf.query.parser.sparql.ast.ASTLimit.jjtAccept()

    // process limit and offset clauses
    ASTLimit limitNode = node.getLimit();
    int limit = -1;
    if (limitNode != null) {
      limit = (Integer)limitNode.jjtAccept(this, null);
    }

    ASTOffset offsetNode = node.getOffset();
    int offset = -1;
    if (offsetNode != null) {
View Full Code Here

Examples of org.openrdf.query.parser.sparql.ast.ASTLimit.jjtAccept()

      // Process limit and offset clauses
      ASTLimit limitNode = node.getLimit();
      int limit = -1;
      if (limitNode != null) {
        limit = (Integer)limitNode.jjtAccept(this, null);
      }

      ASTOffset offsetNode = node.getOffset();
      int offset = -1;
      if (offsetNode != null) {
View Full Code Here

Examples of org.openrdf.query.parser.sparql.ast.ASTOffset.jjtAccept()

    }

    ASTOffset offsetNode = node.getOffset();
    int offset = -1;
    if (offsetNode != null) {
      offset = (Integer)offsetNode.jjtAccept(this, null);
    }

    if (offset >= 1 || limit >= 0) {
      tupleExpr = new Slice(tupleExpr, offset, limit);
    }
View Full Code Here

Examples of org.openrdf.query.parser.sparql.ast.ASTOffset.jjtAccept()

    }

    ASTOffset offsetNode = node.getOffset();
    int offset = -1;
    if (offsetNode != null) {
      offset = (Integer)offsetNode.jjtAccept(this, null);
    }

    if (offset >= 1 || limit >= 0) {
      tupleExpr = new Slice(tupleExpr, offset, limit);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.