public final class FormattingErrorReporter extends AbstractErrorReporter
ErrorReporter implementation that formats
SoyErrorKinds without attaching source locations.
TODO(lukes): replace this with ErrorReporterImpl
ErrorReporter.Checkpoint| Constructor and Description |
|---|
FormattingErrorReporter() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getCurrentNumberOfErrors() |
com.google.common.collect.ImmutableList<String> |
getErrorMessages() |
void |
report(SourceLocation sourceLocation,
SoyErrorKind error,
Object... args)
Reports the given
error, formatted according to args and associated with
the given sourceLocation. |
checkpoint, errorsSincepublic void report(SourceLocation sourceLocation, SoyErrorKind error, Object... args)
ErrorReportererror, formatted according to args and associated with
the given sourceLocation.public com.google.common.collect.ImmutableList<String> getErrorMessages()
protected int getCurrentNumberOfErrors()
getCurrentNumberOfErrors in class AbstractErrorReporter