本文整理了Java中com.google.javascript.jscomp.Compiler.parseInputs()
方法的一些代码示例,展示了Compiler.parseInputs()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Compiler.parseInputs()
方法的具体详情如下:
包路径:com.google.javascript.jscomp.Compiler
类名称:Compiler
方法名:parseInputs
[英]Parses the externs and main inputs.
[中]解析外部和主要输入。
代码示例来源:origin: com.google.javascript/closure-compiler
/**
* Parses input files without doing progress tracking that is part of a full compile.
*
* <p>Either {@code init()} or {@code initModules()} must be called first to set up the input
* files to be read.
* <p>TODO(bradfordcsmith): Rename this to parseIndependentOfCompilation() or similar.
*/
public void parse() {
parseInputs();
}
代码示例来源:origin: org.scala-js/closure-compiler-java-6
public void parse() {
parseInputs();
}
代码示例来源:origin: com.google.javascript/closure-compiler
/**
* Parses input files in preparation for compilation.
*
* <p>Either {@code init()} or {@code initModules()} must be called first to set up the input
* files to be read.
*
* <p>TODO(bradfordcsmith): Rename this to parse()
*/
private void parseForCompilationInternal() {
setProgress(0.0, null);
CompilerOptionsPreprocessor.preprocess(options);
maybeSetTracker();
parseInputs();
// Guesstimate.
setProgress(0.15, "parse");
}
代码示例来源:origin: org.scala-js/closure-compiler-java-6
ImmutableList.copyOf(inputs),
options);
compiler.parseInputs();
代码示例来源:origin: com.google.javascript/closure-compiler
compiler.runInCompilerThread(
() -> {
compiler.parseInputs();
return null;
});
内容来源于网络,如有侵权,请联系作者删除!