Class SourceMapConsumerV2

  • All Implemented Interfaces:
    SourceMapConsumer, SourceMapping

    public class SourceMapConsumerV2
    extends java.lang.Object
    implements SourceMapConsumer
    Class for parsing version 2 of the SourceMap format, as produced by the Closure Compiler, etc.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Mapping.OriginalMapping getMappingForLine​(int lineNumber, int columnIndex)
      Returns the original mapping for the line number and column position found in the source map.
      void parse​(java.lang.String contents)
      Parses the given contents containing a source map.
      void parse​(org.json.JSONObject sourceMapRoot)
      Parses the given contents containing a source map.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SourceMapConsumerV2

        public SourceMapConsumerV2()