org.eclipse.jdt.internal.compiler.batch.Main.tokenize()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(9.2k)|赞(0)|评价(0)|浏览(181)

本文整理了Java中org.eclipse.jdt.internal.compiler.batch.Main.tokenize()方法的一些代码示例,展示了Main.tokenize()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Main.tokenize()方法的具体详情如下:
包路径:org.eclipse.jdt.internal.compiler.batch.Main
类名称:Main
方法名:tokenize

Main.tokenize介绍

暂无

代码示例

代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/ecj

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, new PrintWriter(System.out), new PrintWriter(System.err), null);
  4. */
  5. public static boolean compile(String commandLine) {
  6. return new Main(new PrintWriter(System.out), new PrintWriter(System.err), false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.jetty.orbit/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.jdt.core.compiler/ecj

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.xtext/org.eclipse.xtext.xbase.testing

  1. protected boolean compile(String arguments) {
  2. // return BatchCompiler.compile(sb.toString(), new PrintWriter(new
  3. // OutputStreamWriter(System.out)), new PrintWriter(
  4. // new OutputStreamWriter(errorStream)), null);
  5. return getMain().compile(Main.tokenize(arguments));
  6. }

代码示例来源:origin: com.google.code.maven-play-plugin.org.eclipse.jdt/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: com.vaadin/vaadin-client-compiler-deps

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.tycho/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: trylimits/Eclipse-Postfix-Code-Completion

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.core

  1. /**
  2. * @deprecated - use {@link BatchCompiler#compile(String, PrintWriter, PrintWriter, CompilationProgress)} instead
  3. * e.g. BatchCompiler.compile(commandLine, outWriter, errWriter, null);
  4. */
  5. public static boolean compile(String commandLine, PrintWriter outWriter, PrintWriter errWriter) {
  6. return new Main(outWriter, errWriter, false /* systemExit */, null /* options */, null /* progress */).compile(tokenize(commandLine));
  7. }

相关文章