Examples of visit()


Examples of lupos.sparql1_1.operatorgraph.StreamOperatorGraphGenerator.visit()

      final SPARQL2CoreSPARQLParserVisitorImplementationDumper spvid = SPARQL2CoreSPARQLParserVisitorImplementationDumper.createInstance();
      final String corequery = (root==null)?"":(String) spvid.visit(root);
      root = StreamSPARQL1_1Parser.parse(corequery);
      // checkForTimeFunc(root);
      final StreamOperatorGraphGenerator spvi = StreamOperatorGraphGenerator.createOperatorGraphGenerator(this);
      spvi.visit((ASTQuery)root);
      this.rootNode = spvi.getOperatorgraphRoot();
      this.result = spvi.getResult();
      this.determinePatternMatchers();
      this.rootNode.deleteParents();
      this.rootNode.setParents();
View Full Code Here

Examples of net.ex337.scriptus.model.ScriptAction.visit()

            assertTrue("Waited correctly", r2 instanceof Wait);

            //pause thread until child has termination
           
            r2.visit(this, p2);

          }

        }
       
View Full Code Here

Examples of net.ex337.scriptus.model.api.functions.Get.visit()

    p.save();

    Get g = (Get) r;
   
    g.visit(new ScriptusFacade(datastore, c, m, conf), p);
   
    p = datastore.getProcess(p.getPid());
   
    assertTrue("got content", p.getState() instanceof String);
   
View Full Code Here

Examples of net.jangaroo.jooc.ast.TypeRelation.visit()

      // "(localErrorVar)":
      out.writeSymbol(aCatch.getLParen(), !hasCondition);
      out.writeSymbol(errorVar, !hasCondition);
      if (!hasCondition && typeRelation != null) {
        // can only be ": *", add as comment:
        typeRelation.visit(this);
      }
      out.writeSymbol(aCatch.getRParen(), !hasCondition);
      if (hasCondition || !isLast) {
        // a catch block always needs a brace, so generate one for conditions:
        out.writeToken("{");
View Full Code Here

Examples of net.jangaroo.jooc.model.ClassModel.visit()

    propertyModel.setType("String");
    propertyModel.setAsdoc("The baz is a string.");
    classModel.addMember(propertyModel);

    StringWriter stringWriter = new StringWriter();
    classModel.visit(new ActionScriptCodeGeneratingModelVisitor(stringWriter));
    System.out.println("Result:\n" + stringWriter);
  }
}
View Full Code Here

Examples of net.sf.cglib.asm.ClassWriter.visit()

    protected byte[] generateRemoteInterface(Class serviceInterface) {
        String interfazeName = serviceInterface.getName();
        ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS);

        String simpleName = serviceInterface.getSimpleName();
        cw.visit(Constants.V1_5, Constants.ACC_PUBLIC + Constants.ACC_ABSTRACT + Constants.ACC_INTERFACE, interfazeName
            .replace('.', '/'), null, "java/lang/Object", new String[] {"java/rmi/Remote"});

        StringBuffer argsAndReturn = null;
        Method[] methods = serviceInterface.getMethods();
        for (Method method : methods) {
View Full Code Here

Examples of net.sf.jasperreports.engine.JRChild.visit()

            contentsFrame);
        for (Iterator it = children.iterator(); it
            .hasNext();)
        {
          JRChild child = (JRChild) it.next();
          child.visit(contentsVisitor);
        }
      }
     
      frame.addElement(contentsFrame);
View Full Code Here

Examples of net.sf.joafip.asm.ClassWriter.visit()

    FieldVisitor fv;
    MethodVisitor mv;
    @SuppressWarnings("unused")
    AnnotationVisitor av0;

    cw.visit(
        V1_5,
        ACC_PUBLIC + ACC_SUPER,
        "java/lang/Object",
        null,
        null,
View Full Code Here

Examples of net.sourceforge.ganttproject.export.TaskVisitor.visit()

                endPrefixedElement("task", handler);
                return "";
            }
        };
        try {
            visitor.visit(taskManager);
        } catch (Exception e) {
            throw new ExportException("Failed to write tasks", e);
        }
        endPrefixedElement("tasks", handler);
    }
View Full Code Here

Examples of net.sourceforge.htmlunit.corejs.javascript.ast.AstNode.visit()

        try {
            final CompilerEnvirons environs = new CompilerEnvirons();
            environs.initFromContext(contextFactory_.enterContext());
            final AstNode root = new Parser(environs).parse(sourceCode, sourceName, lineNo_);
            final Map<Integer, Integer> strings = new TreeMap<Integer, Integer>();
            root.visit(new NodeVisitor() {

                public boolean visit(final AstNode node) {
                    if (node instanceof StringLiteral) {
                        strings.put(node.getAbsolutePosition() + 1, node.getLength() - 2);
                    }
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.