Class JavaScriptParser.JSErrorReporter

java.lang.Object
org.fife.rsta.ac.js.JavaScriptParser.JSErrorReporter
All Implemented Interfaces:
org.mozilla.javascript.ErrorReporter
Enclosing class:
JavaScriptParser

public static class JavaScriptParser.JSErrorReporter extends Object implements org.mozilla.javascript.ErrorReporter
Error reporter for Rhino-based parsing.
Version:
1.0
  • Constructor Details

    • JSErrorReporter

      public JSErrorReporter()
  • Method Details

    • error

      public void error(String message, String sourceName, int line, String lineSource, int lineOffset)
      Specified by:
      error in interface org.mozilla.javascript.ErrorReporter
    • runtimeError

      public org.mozilla.javascript.EvaluatorException runtimeError(String message, String sourceName, int line, String lineSource, int lineOffset)
      Specified by:
      runtimeError in interface org.mozilla.javascript.ErrorReporter
    • warning

      public void warning(String message, String sourceName, int line, String lineSource, int lineOffset)
      Specified by:
      warning in interface org.mozilla.javascript.ErrorReporter