Enum swc_ecma_preset_env::Feature [−][src]
pub enum Feature {
Show 43 variants
TemplateLiterals,
Literals,
FunctionName,
ArrowFunctions,
BlockScopedFunctions,
Classes,
ObjectSuper,
ShorthandProperties,
DuplicateKeys,
ComputedProperties,
ForOf,
StickyRegex,
DotAllRegex,
UnicodeRegex,
Spread,
Parameters,
Destructuring,
BlockScoping,
TypeOfSymbol,
NewTarget,
Regenerator,
ExponentiationOperator,
AsyncToGenerator,
AsyncGeneratorFunctions,
ObjectRestSpread,
UnicodePropertyRegex,
JsonStrings,
OptionalCatchBinding,
NamedCapturingGroupsRegex,
MemberExpressionLiterals,
PropertyLiterals,
ReservedWords,
ExportNamespaceFrom,
NullishCoalescing,
LogicalAssignmentOperators,
OptionalChaining,
ClassProperties,
NumericSeparator,
PrivateMethods,
UnicodeEscapes,
BugfixAsyncArrowsInClass,
BugfixEdgeDefaultParam,
BugfixTaggedTemplateCaching,
}
Variants
TemplateLiterals
transform-template-literals
Literals
transform-literals
FunctionName
transform-function-name
ArrowFunctions
transform-arrow-functions
BlockScopedFunctions
transform-block-scoped-functions
Classes
transform-classes
ObjectSuper
transform-object-super
ShorthandProperties
transform-shorthand-properties
DuplicateKeys
transform-duplicate-keys
ComputedProperties
transform-computed-properties
ForOf
transform-for-of
StickyRegex
transform-sticky-regex
DotAllRegex
transform-dotall-regex
UnicodeRegex
transform-unicode-regex
Spread
transform-spread
Parameters
transform-parameters
Destructuring
transform-destructuring
BlockScoping
transform-block-scoping
TypeOfSymbol
transform-typeof-symbol
NewTarget
transform-new-target
Regenerator
transform-regenerator
ExponentiationOperator
transform-exponentiation-operator
AsyncToGenerator
transform-async-to-generator
AsyncGeneratorFunctions
proposal-async-generator-functions
ObjectRestSpread
proposal-object-rest-spread
UnicodePropertyRegex
proposal-unicode-property-regex
JsonStrings
proposal-json-strings
OptionalCatchBinding
proposal-optional-catch-binding
NamedCapturingGroupsRegex
transform-named-capturing-groups-regex
MemberExpressionLiterals
transform-member-expression-literals
PropertyLiterals
transform-property-literals
ReservedWords
transform-reserved-words
ExportNamespaceFrom
proposal-export-namespace-from
NullishCoalescing
proposal-nullish-coalescing-operator
LogicalAssignmentOperators
proposal-logical-assignment-operators
OptionalChaining
proposal-optional-chaining
ClassProperties
proposal-class-properties
NumericSeparator
proposal-numeric-separator
PrivateMethods
proposal-private-methods
UnicodeEscapes
transform-unicode-escapes
BugfixAsyncArrowsInClass
bugfix/transform-async-arrows-in-class
BugfixEdgeDefaultParam
bugfix/transform-edge-default-parameters
BugfixTaggedTemplateCaching
bugfix/transform-tagged-template-caching
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Feature
impl UnwindSafe for Feature
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more