public abstract class ErrorReporter extends Object
Constructor and Description |
---|
ErrorReporter() |
Modifier and Type | Method and Description |
---|---|
boolean |
hadError() |
void |
reportError(SourcePosition location,
String format,
Object... arguments) |
protected abstract void |
reportMessage(SourcePosition location,
String message) |
protected void |
reportMessage(SourcePosition location,
String kind,
String format,
Object... arguments) |
void |
reportWarning(SourcePosition location,
String format,
Object... arguments) |
public final void reportError(SourcePosition location, String format, Object... arguments)
public final void reportWarning(SourcePosition location, String format, Object... arguments)
protected void reportMessage(SourcePosition location, String kind, String format, Object... arguments)
protected abstract void reportMessage(SourcePosition location, String message)
public final boolean hadError()
Copyright © 2009-2015 Google. All Rights Reserved.