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
transform-template-literals
transform-literals
transform-function-name
transform-arrow-functions
transform-block-scoped-functions
transform-classes
transform-object-super
transform-shorthand-properties
transform-duplicate-keys
transform-computed-properties
transform-for-of
transform-sticky-regex
transform-dotall-regex
transform-unicode-regex
transform-spread
transform-parameters
transform-destructuring
transform-block-scoping
transform-typeof-symbol
transform-new-target
transform-regenerator
transform-exponentiation-operator
transform-async-to-generator
proposal-async-generator-functions
proposal-object-rest-spread
proposal-unicode-property-regex
proposal-json-strings
proposal-optional-catch-binding
transform-named-capturing-groups-regex
transform-member-expression-literals
transform-property-literals
transform-reserved-words
proposal-export-namespace-from
proposal-nullish-coalescing-operator
proposal-logical-assignment-operators
proposal-optional-chaining
proposal-class-properties
proposal-numeric-separator
proposal-private-methods
transform-unicode-escapes
bugfix/transform-async-arrows-in-class
bugfix/transform-edge-default-parameters
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