Examples of Compiler


Examples of org.eclipse.jdt.internal.compiler.Compiler

    for (int i = 0; i < compilationUnits.length; i++)
    {
      compilationUnits[i] = new CompilationUnit(units[i].getSourceCode(), units[i].getName());
    }

    Compiler compiler =
      new Compiler(env, policy, settings, requestor, problemFactory);
    compiler.compile(compilationUnits);

    if (problemBuffer.length() > 0)
    {
      return problemBuffer.toString();
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.compiler.Compiler

            new ICompilationUnit[classNames.length];
        for (int i = 0; i < compilationUnits.length; i++) {
            String className = classNames[i];
            compilationUnits[i] = new CompilationUnit(fileNames[i], className);
        }
        Compiler compiler = new Compiler(env,
                                         policy,
                                         settings,
                                         requestor,
                                         problemFactory);
        compiler.compile(compilationUnits);

        if (!ctxt.keepGenerated()) {
            File javaFile = new File(ctxt.getServletJavaFileName());
            javaFile.delete();
        }
View Full Code Here

Examples of org.kitesdk.morphline.base.Compiler

        .setMetricRegistry(SharedMetricRegistries.getOrCreate(morphlineFileAndId))
        .build();
    }
   
    Config override = ConfigFactory.parseMap(context.getSubProperties(MORPHLINE_VARIABLE_PARAM + "."));
    morphline = new Compiler().compile(new File(morphlineFile), morphlineId, morphlineContext, finalChild, override);     
   
    this.mappingTimer = morphlineContext.getMetricRegistry().timer(
        MetricRegistry.name("morphline.app", Metrics.ELAPSED_TIME));
    this.numRecords = morphlineContext.getMetricRegistry().meter(
        MetricRegistry.name("morphline.app", Metrics.NUM_RECORDS));
View Full Code Here

Examples of org.objectweb.celtix.tools.processors.wsdl2.compiler.Compiler

            String arg = (String)obj;
            args[i] = arg;
            i++;
        }

        Compiler compiler = new Compiler(System.out);

        if (!compiler.internalCompile(args)) {
            Message msg = new Message("FAIL_TO_COMPILE_GENERATE_CODES", LOG);
            throw new ToolException(msg);
        }

    }
View Full Code Here

Examples of org.openquark.cal.compiler.Compiler

     * Test invoking a non-zero arity run target.
     */
    public void testInvokingNonCAF_lecc () {
        if (test_lecc_machine) {
            WorkspaceManager workspaceManager = leccCALServices.getWorkspaceManager();
            Compiler compiler = leccCALServices.getCompiler();

            CompilerMessageLogger messageLogger = new MessageLogger();
            EntryPoint entryPoint = compiler.getEntryPoint(
                EntryPointSpec.make(QualifiedName.make(CALPlatformTestModuleNames.RuntimeRegression, "nonCAFEntryPoint")),
                CALPlatformTestModuleNames.RuntimeRegression, messageLogger);
            if (messageLogger.getNMessages() > 0) {
                System.err.println(messageLogger.toString());
            }
View Full Code Here

Examples of org.stringtemplate.v4.compiler.Compiler

                List<FormalArgument> args,
                String template,
                Token templateToken) // for error location
    {
    //System.out.println("STGroup.compile: "+enclosingTemplateName);
    Compiler c = new Compiler(this);
    return c.compile(srcName, name, args, template, templateToken);
  }
View Full Code Here

Examples of org.sweble.wikitext.engine.Compiler

 
  public SwebleWikipediaTextFilter() {
    try {
      config = new SimpleWikiConfiguration(
              "classpath:/org/languagetool/resource/dev/SimpleWikiConfiguration.xml");
      compiler = new Compiler(config);
      final PageTitle pageTitle = PageTitle.make(config, "fileTitle");
      pageId = new PageId(pageTitle, -1);
    } catch (Exception e) {
      throw new RuntimeException("Could not set up text filter", e);
    }
View Full Code Here

Examples of processing.app.debug.Compiler

    editor.status.progressUpdate(20);
    String primaryClassName = preprocess(buildPath);

    // compile the program. errors will happen as a RunnerException
    // that will bubble up to whomever called build().
    Compiler compiler = new Compiler();
    boolean success;
    editor.status.progressUpdate(30);
    if (compiler.compile(this, buildPath, primaryClassName, verbose)) {
      size(buildPath, primaryClassName);
      editor.status.progressUpdate(90);
      return primaryClassName;
    }
    return null;
View Full Code Here

Examples of ru.yandex.strictweb.scriptjava.compiler.Compiler

          this.getClass().getSimpleName(), f.getName().replace(".java", ""))
        );
       
        if(cl.isAnnotationPresent(SkipTest.class)) continue;
                 
        Compiler compiler = new Compiler("");
        Ajax.prepareCompiler(compiler);
       
        compiler
          .addPlugin(new AjaxServiceHelperCompilerPlugin())
                 
          .parseClass(this.getClass())
          .parseClass(cl)
          .compileAndSave("temp.js");
View Full Code Here

Examples of shen.Shen.Compiler

        return fibBoxed(n - 1) + fibBoxed(n - 2);
    }

    static void bench(String test, int times) throws Throwable {
        Object kl = read(new StringReader(test)).get(0);
        bench(new Compiler(kl).load("__eval__", Callable.class).newInstance(), times);
    }
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.