com.google.javascript.jscomp.Compiler.hasHaltingErrors()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 JavaScript  
字(1.2k)|赞(0)|评价(0)|浏览(123)

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

Compiler.hasHaltingErrors介绍

暂无

代码示例

代码示例来源:origin: com.google.javascript/closure-compiler

/**
 * Consults the {@link ErrorManager} to see if we've encountered errors
 * that should halt compilation. <p>
 *
 * If {@link CompilerOptions#canContinueAfterErrors} is {@code true}, this function
 * always returns {@code false} without consulting the error manager. The
 * error manager will continue to be told about new errors and warnings, but
 * the compiler will complete compilation of all inputs.<p>
 */
public boolean hasErrors() {
 return hasHaltingErrors();
}

代码示例来源:origin: org.scala-js/closure-compiler-java-6

/**
 * Consults the {@link ErrorManager} to see if we've encountered errors
 * that should halt compilation. <p>
 *
 * If {@link CompilerOptions#ideMode} is {@code true}, this function
 * always returns {@code false} without consulting the error manager. The
 * error manager will continue to be told about new errors and warnings, but
 * the compiler will complete compilation of all inputs.<p>
 */
public boolean hasErrors() {
 return hasHaltingErrors();
}

相关文章

Compiler类方法