|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.debugging.sourcemap.SourceMapConsumerV2
public class SourceMapConsumerV2
Class for parsing version 2 of the SourceMap format, as produced by the Closure Compiler, etc.
| Constructor Summary | |
|---|---|
SourceMapConsumerV2()
|
|
| Method Summary | |
|---|---|
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(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 SourceMapConsumerV2()
| Method Detail |
|---|
public void parse(String contents)
throws SourceMapParseException
parse in interface SourceMapConsumerSourceMapParseException
public void parse(org.json.JSONObject sourceMapRoot)
throws SourceMapParseException
SourceMapParseException
public Mapping.OriginalMapping getMappingForLine(int lineNumber,
int columnIndex)
SourceMapping
getMappingForLine in interface SourceMappinglineNumber - The line number, with the first being '1'.columnIndex - The column index, with the first being '1'.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||