JsFeature

enum JsFeature : ProtocolMessageEnum
Enumeration of Elide JavaScript features which may be enabled/disabled.
Protobuf enum elide.meta.JsSettings.JsFeature

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val ESM_VALUE: Int = 1
ESM: Support for ECMAScript Modules.
ESM = 1;
Link copied to clipboard
The feature is unknown or unspecified; regular code should not use this value. Backwards-incompatible values also
decode to this value, where supported.
FEATURE_UNRECOGNIZED = 0 [deprecated = true];
Link copied to clipboard
val NPM_VALUE: Int = 2
NPM: Support for NPM modules and CommonJS `require`.
NPM = 2;
Link copied to clipboard
val WASM_VALUE: Int = 3
WASM: Integration with JavaScript. Requires WASM to be installed as a language.
WASM = 3;

Functions

Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<JsSettings.JsFeature>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): JsSettings.JsFeature
open fun valueOf(value: Int): JsSettings.JsFeature

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.