[][src]Struct swc_ecma_transforms::compat::es2015::StickyRegex

pub struct StickyRegex;

Compile ES2015 sticky regex to an ES5 RegExp constructor

Example

In

/o+/y;

Out

new RegExp("o+", "y")

Trait Implementations

impl Clone for StickyRegex[src]

impl Copy for StickyRegex[src]

impl Fold<Accessibility> for StickyRegex[src]

impl Fold<Expr> for StickyRegex[src]

impl Fold<TruePlusMinus> for StickyRegex[src]

impl Fold<TsArrayType> for StickyRegex[src]

impl Fold<TsCallSignatureDecl> for StickyRegex[src]

impl Fold<TsConditionalType> for StickyRegex[src]

impl Fold<TsConstructSignatureDecl> for StickyRegex[src]

impl Fold<TsConstructorType> for StickyRegex[src]

impl Fold<TsEntityName> for StickyRegex[src]

impl Fold<TsEnumDecl> for StickyRegex[src]

impl Fold<TsEnumMember> for StickyRegex[src]

impl Fold<TsEnumMemberId> for StickyRegex[src]

impl Fold<TsExternalModuleRef> for StickyRegex[src]

impl Fold<TsFnOrConstructorType> for StickyRegex[src]

impl Fold<TsFnParam> for StickyRegex[src]

impl Fold<TsFnType> for StickyRegex[src]

impl Fold<TsImportEqualsDecl> for StickyRegex[src]

impl Fold<TsImportType> for StickyRegex[src]

impl Fold<TsIndexSignature> for StickyRegex[src]

impl Fold<TsIndexedAccessType> for StickyRegex[src]

impl Fold<TsInferType> for StickyRegex[src]

impl Fold<TsInterfaceBody> for StickyRegex[src]

impl Fold<TsInterfaceDecl> for StickyRegex[src]

impl Fold<TsIntersectionType> for StickyRegex[src]

impl Fold<TsKeywordType> for StickyRegex[src]

impl Fold<TsKeywordTypeKind> for StickyRegex[src]

impl Fold<TsMappedType> for StickyRegex[src]

impl Fold<TsMethodSignature> for StickyRegex[src]

impl Fold<TsModuleBlock> for StickyRegex[src]

impl Fold<TsModuleDecl> for StickyRegex[src]

impl Fold<TsModuleName> for StickyRegex[src]

impl Fold<TsModuleRef> for StickyRegex[src]

impl Fold<TsNamespaceBody> for StickyRegex[src]

impl Fold<TsNamespaceDecl> for StickyRegex[src]

impl Fold<TsNamespaceExportDecl> for StickyRegex[src]

impl Fold<TsOptionalType> for StickyRegex[src]

impl Fold<TsParamProp> for StickyRegex[src]

impl Fold<TsParamPropParam> for StickyRegex[src]

impl Fold<TsParenthesizedType> for StickyRegex[src]

impl Fold<TsPropertySignature> for StickyRegex[src]

impl Fold<TsQualifiedName> for StickyRegex[src]

impl Fold<TsRestType> for StickyRegex[src]

impl Fold<TsSignatureDecl> for StickyRegex[src]

impl Fold<TsThisType> for StickyRegex[src]

impl Fold<TsThisTypeOrIdent> for StickyRegex[src]

impl Fold<TsTupleType> for StickyRegex[src]

impl Fold<TsType> for StickyRegex[src]

impl Fold<TsTypeAliasDecl> for StickyRegex[src]

impl Fold<TsTypeAnn> for StickyRegex[src]

impl Fold<TsTypeAssertion> for StickyRegex[src]

impl Fold<TsTypeCastExpr> for StickyRegex[src]

impl Fold<TsTypeElement> for StickyRegex[src]

impl Fold<TsTypeLit> for StickyRegex[src]

impl Fold<TsTypeOperator> for StickyRegex[src]

impl Fold<TsTypeOperatorOp> for StickyRegex[src]

impl Fold<TsTypeParam> for StickyRegex[src]

impl Fold<TsTypeParamDecl> for StickyRegex[src]

impl Fold<TsTypeParamInstantiation> for StickyRegex[src]

impl Fold<TsTypePredicate> for StickyRegex[src]

impl Fold<TsTypeQuery> for StickyRegex[src]

impl Fold<TsTypeQueryExpr> for StickyRegex[src]

impl Fold<TsTypeRef> for StickyRegex[src]

impl Fold<TsUnionOrIntersectionType> for StickyRegex[src]

impl Fold<TsUnionType> for StickyRegex[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T, F> Fold<T> for F where
    T: FoldWith<F>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<P> Pass for P where
    P: Fold<Module> + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, F> Visit<T> for F where
    T: VisitWith<F> + ?Sized
[src]

impl<T, F> VisitMut<T> for F where
    T: VisitMutWith<F> + ?Sized
[src]