Package com.google.javascript.jscomp
Class SourceMapInput
- java.lang.Object
-
- com.google.javascript.jscomp.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 Summary
Constructors Constructor Description SourceMapInput(SourceFile sourceFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOriginalPath()
Gets the original location of this sourcemap file on disk.@Nullable SourceMapConsumerV3
getSourceMap(ErrorManager errorManager)
Gets the source map, reading from disk and parsing if necessary.
-
-
-
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.
-
-