Package com.google.javascript.jscomp
Interface SourceExcerptProvider.ExcerptFormatter
-
- Enclosing interface:
- SourceExcerptProvider
public static interface SourceExcerptProvider.ExcerptFormatter
A excerpt formatter is responsible of formatting source excerpts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
formatLine(java.lang.String line, int lineNumber)
Format a line excerpt.java.lang.String
formatRegion(@Nullable Region region)
Format a region excerpt.
-
-
-
Method Detail
-
formatLine
java.lang.String formatLine(java.lang.String line, int lineNumber)
Format a line excerpt.
-
formatRegion
java.lang.String formatRegion(@Nullable Region region)
Format a region excerpt.
-
-