Class SourceMapping
java.lang.Object
de.inetsoftware.jwebassembly.sourcemap.SourceMapping
Mapping for Source Map.
-
Constructor Summary
ConstructorsConstructorDescriptionSourceMapping(int generatedColumn, int sourceLine, String sourceFileName) Create a mapping between a Java code line and a WebAssembly code position -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOffset(int offset) Ad an offset to the generated column
-
Constructor Details
-
SourceMapping
Create a mapping between a Java code line and a WebAssembly code position- Parameters:
generatedColumn- position in WebAssemblysourceLine- Java source linesourceFileName- Java source file
-
-
Method Details
-
addOffset
public void addOffset(int offset) Ad an offset to the generated column- Parameters:
offset- the offset
-