| Package | Description |
|---|---|
| org.jsweet.transpiler |
This package contains the JSweet Java to JavaScript transpiler
implementation.
|
| org.jsweet.transpiler.util |
This package contains utilities for the JSweet transpiler.
|
| Modifier and Type | Method and Description |
|---|---|
static SourcePosition |
SourceFile.findOriginPosition(SourcePosition position,
Collection<SourceFile> sourceFiles)
Finds the mapped position in one of the origin Java source file.
|
static SourcePosition |
SourceFile.findOriginPosition(SourcePosition position,
SourceFile[] sourceFiles) |
| Modifier and Type | Method and Description |
|---|---|
static SourcePosition |
SourceFile.findOriginPosition(SourcePosition position,
Collection<SourceFile> sourceFiles)
Finds the mapped position in one of the origin Java source file.
|
static SourcePosition |
SourceFile.findOriginPosition(SourcePosition position,
SourceFile[] sourceFiles) |
void |
TranspilationHandler.report(JSweetProblem problem,
SourcePosition sourcePosition,
String message)
This method is called by the transpiler when a problem needs to be
reported.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractDelegatedTranspilationHandler.report(JSweetProblem problem,
SourcePosition sourcePosition,
String message) |
void |
ErrorCountTranspilationHandler.report(JSweetProblem problem,
SourcePosition sourcePosition,
String message)
Count the problems and delegates to the decorated transpilation handler.
|
void |
ConsoleTranspilationHandler.report(JSweetProblem problem,
SourcePosition sourcePosition,
String message) |