java.lang.Object
com.google.javascript.jscomp.parsing.parser.util.ErrorReporter

public abstract class ErrorReporter extends Object
A conduit for reporting errors and warnings to the user.
  • Constructor Details

    • ErrorReporter

      public ErrorReporter()
  • Method Details

    • reportError

      @FormatMethod public final void reportError(SourcePosition location, @FormatString String format, Object... arguments)
    • reportError

      protected abstract void reportError(SourcePosition location, String message)
    • reportWarning

      @FormatMethod public final void reportWarning(SourcePosition location, @FormatString String format, Object... arguments)
    • reportWarning

      protected abstract void reportWarning(SourcePosition location, String message)
    • hadError

      public final boolean hadError()