public class SourceMapping
extends java.lang.Object
Constructor and Description |
---|
SourceMapping(int generatedColumn,
int sourceLine,
java.lang.String sourceFileName)
Create a mapping between a Java code line and a WebAssembly code position
|
Modifier and Type | Method and Description |
---|---|
void |
addOffset(int offset)
Ad an offset to the generated column
|
public SourceMapping(int generatedColumn, int sourceLine, java.lang.String sourceFileName)
generatedColumn
- position in WebAssemblysourceLine
- Java source linesourceFileName
- Java source file