| Package | Description |
|---|---|
| org.jsweet.transpiler |
This package contains the JSweet Java to JavaScript transpiler
implementation.
|
| Modifier and Type | Method and Description |
|---|---|
EcmaScriptComplianceLevel |
JSweetTranspiler.getEcmaTargetVersion() |
EcmaScriptComplianceLevel |
JSweetOptions.getEcmaTargetVersion()
The targeted ECMAScript version.
|
static EcmaScriptComplianceLevel |
JSweetTranspiler.getEcmaTargetVersion(String targetVersion)
Gets the target version from a user-friendly descriptive string.
|
static EcmaScriptComplianceLevel |
EcmaScriptComplianceLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EcmaScriptComplianceLevel[] |
EcmaScriptComplianceLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EcmaScriptComplianceLevel.higherThan(EcmaScriptComplianceLevel other)
Compares two compliance levels.
|
void |
JSweetTranspiler.setEcmaTargetVersion(EcmaScriptComplianceLevel ecmaTargetVersion)
Sets target ECMA script version for generated JavaScript
|