|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.debugging.sourcemap.SourceMapConsumerV3
public class SourceMapConsumerV3
Class for parsing version 3 of the SourceMap format, as produced by the Closure Compiler, etc. http://goto.google.com/sourcemapv3
Constructor Summary | |
---|---|
SourceMapConsumerV3()
|
Method Summary | |
---|---|
Mapping.OriginalMapping |
getMappingForLine(int lineNumber,
int column)
Returns the original mapping for the line number and column position found in the source map. |
void |
parse(org.json.JSONObject sourceMapRoot)
Parses the given contents containing a source map. |
void |
parse(String contents)
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 |
---|
public SourceMapConsumerV3()
Method Detail |
---|
public void parse(String contents) throws SourceMapParseException
parse
in interface SourceMapConsumer
SourceMapParseException
public void parse(org.json.JSONObject sourceMapRoot) throws SourceMapParseException
SourceMapParseException
public Mapping.OriginalMapping getMappingForLine(int lineNumber, int column)
SourceMapping
getMappingForLine
in interface SourceMapping
lineNumber
- The line number, with the first being '1'.column
- The column index, with the first being '1'.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |