Class NullErrorReporter

java.lang.Object
com.google.javascript.jscomp.parsing.NullErrorReporter

public abstract class NullErrorReporter extends Object
An error reporter which consumes all calls and performs no actions.
  • Method Details

    • error

      public void error(String message, String sourceName, int line, int lineOffset)
    • warning

      public void warning(String message, String sourceName, int line, int lineOffset)
    • forOldRhino

      public static ErrorReporter forOldRhino()
    • forNewRhino

      public static com.google.javascript.rhino.head.ErrorReporter forNewRhino()