Java 类org.mozilla.javascript.ast.IdeErrorReporter 实例源码

项目:HL4A    文件:Parser.java   
public Parser(CompilerEnvirons compilerEnv, ErrorReporter errorReporter) {
    this.compilerEnv = compilerEnv;
    this.errorReporter = errorReporter;
    if (errorReporter instanceof IdeErrorReporter) {
        errorCollector = (IdeErrorReporter)errorReporter;
    }
}
项目:LoboEvolution    文件:Parser.java   
public Parser(CompilerEnvirons compilerEnv, ErrorReporter errorReporter) {
    this.compilerEnv = compilerEnv;
    this.errorReporter = errorReporter;
    if (errorReporter instanceof IdeErrorReporter) {
        errorCollector = (IdeErrorReporter)errorReporter;
    }
}