Class SourceMapInput


  • public final class SourceMapInput
    extends java.lang.Object
    A lazy-loaded SourceMapConsumerV3 instance.
    • Constructor Detail

      • SourceMapInput

        public SourceMapInput​(SourceFile sourceFile)
    • Method Detail

      • getSourceMap

        public @Nullable SourceMapConsumerV3 getSourceMap​(ErrorManager errorManager)
        Gets the source map, reading from disk and parsing if necessary. Returns null if the sourcemap cannot be resolved or is malformed.
      • getOriginalPath

        public java.lang.String getOriginalPath()
        Gets the original location of this sourcemap file on disk.
      • getRawSourceMapContents

        public @Nullable java.lang.String getRawSourceMapContents()