Class SourceMapInput

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SourceMapInput
    extends java.lang.Object
    implements java.io.Serializable
    A lazy-loaded SourceMapConsumerV3 instance.
    See Also:
    Serialized Form
    • Constructor Detail

      • SourceMapInput

        public SourceMapInput​(SourceFile sourceFile)
    • Method Detail

      • getSourceMap

        @Nullable
        public 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.