Class SourceMapWriter.Generator
java.lang.Object
de.inetsoftware.jwebassembly.sourcemap.SourceMapWriter.Generator
- Enclosing class:
SourceMapWriter
The generator of the source map
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Appendableprivate intprivate intprivate intprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidAppend the mappings to the source map.(package private) voidwriteEntry(SourceMapping mapping) Write a single single mapping to the source map.
-
Field Details
-
out
-
previousLine
private int previousLine -
previousColumn
private int previousColumn -
previousSourceFileNameId
private int previousSourceFileNameId -
previousSourceLine
private int previousSourceLine -
previousSourceColumn
private int previousSourceColumn
-
-
Constructor Details
-
Generator
-
-
Method Details
-
appendLineMappings
Append the mappings to the source map.- Throws:
IOException- if any I/O error occur
-
writeEntry
Write a single single mapping to the source map.- Parameters:
mapping- the mapping- Throws:
IOException- if any I/O error occur
-