|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.core.ext.soyc.SourceMappingWriter
class SourceMappingWriter
Writes a sorted stream of mappings to a sourcemap. Automatically merges mappings that have adjacent or overlapping JavaScript ranges and also point to the same Java line.
| Constructor Summary | |
|---|---|
SourceMappingWriter(com.google.gwt.thirdparty.debugging.sourcemap.SourceMapGenerator out)
|
|
| Method Summary | |
|---|---|
(package private) void |
addMapping(Range nextRange,
java.lang.String javaName)
Sends one mapping to the sourcemap. |
(package private) void |
flush()
Writes any buffered mappings to the source map generator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
SourceMappingWriter(com.google.gwt.thirdparty.debugging.sourcemap.SourceMapGenerator out)
| Method Detail |
|---|
void addMapping(Range nextRange,
java.lang.String javaName)
The mappings must be sorted by JavaScript starting position.
The output is buffered, so the caller must call flush() when done.
void flush()
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||