Package com.google.debugging.sourcemap
Class SourceMapConsumerFactory
java.lang.Object
com.google.debugging.sourcemap.SourceMapConsumerFactory
Detect and parse the provided source map.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SourceMapping
static SourceMapping
parse
(String contents, SourceMapSupplier supplier)
-
Method Details
-
parse
- Parameters:
contents
- The string representing the source map file contents.- Returns:
- The parsed source map.
- Throws:
SourceMapParseException
-
parse
public static SourceMapping parse(String contents, SourceMapSupplier supplier) throws SourceMapParseException - Parameters:
contents
- The string representing the source map file contents.supplier
- A supplier for any referenced maps.- Returns:
- The parsed source map.
- Throws:
SourceMapParseException
-