Package com.google.javascript.jscomp
Interface MessageFormatter
-
- All Known Implementing Classes:
AbstractMessageFormatter
,LightweightMessageFormatter
public interface MessageFormatter
Format warnings and errors. This interface may be used by implementations ofErrorManager
to request message formatting capabilities.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
formatError(JSError error)
Format an error.java.lang.String
formatWarning(JSError warning)
Format a warning.
-