Uses of Interface
com.google.javascript.jscomp.SourceExcerptProvider
-
Packages that use SourceExcerptProvider Package Description com.google.javascript.jscomp com.google.javascript.jscomp.bundle -
-
Uses of SourceExcerptProvider in com.google.javascript.jscomp
Classes in com.google.javascript.jscomp that implement SourceExcerptProvider Modifier and Type Class Description class
AbstractCompiler
An abstract compiler, to help remove the circular dependency of passes on JSCompiler.class
Compiler
Compiler (and the other classes in this package) does the following: parses JS code checks for undefined variables performs optimizations such as constant folding and constants inlining renames variables (to short names) outputs compact JavaScript code External variables are declared in 'externs' files.Methods in com.google.javascript.jscomp that return SourceExcerptProvider Modifier and Type Method Description protected SourceExcerptProvider
AbstractMessageFormatter. getSource()
Get the source excerpt provider.Methods in com.google.javascript.jscomp with parameters of type SourceExcerptProvider Modifier and Type Method Description abstract java.lang.String
SourceExcerptProvider.SourceExcerpt. get(SourceExcerptProvider source, java.lang.String sourceName, int lineNumber, int length, SourceExcerptProvider.ExcerptFormatter formatter)
Get a source excerpt string based on the type of the source excerpt.java.lang.String
SourceExcerptProvider.SourceExcerpt. get(SourceExcerptProvider source, java.lang.String sourceName, int lineNumber, SourceExcerptProvider.ExcerptFormatter formatter)
Get a source excerpt string based on the type of the source excerpt.abstract MessageFormatter
ErrorFormat. toFormatter(SourceExcerptProvider source, boolean colorize)
Convert to a concrete formatter.Constructors in com.google.javascript.jscomp with parameters of type SourceExcerptProvider Constructor Description AbstractMessageFormatter(SourceExcerptProvider source)
JsonErrorReportGenerator(java.io.PrintStream stream, SourceExcerptProvider sourceExcerptProvider)
Creates an error manager.LightweightMessageFormatter(SourceExcerptProvider source)
LightweightMessageFormatter(SourceExcerptProvider source, SourceExcerptProvider.SourceExcerpt excerpt)
-
Uses of SourceExcerptProvider in com.google.javascript.jscomp.bundle
Constructors in com.google.javascript.jscomp.bundle with parameters of type SourceExcerptProvider Constructor Description TranspilationException(SourceExcerptProvider source, com.google.common.collect.ImmutableList<JSError> errors, com.google.common.collect.ImmutableList<JSError> warnings)
-