swc_estree_compat::babelify

Trait Babelify

source
pub trait Babelify: Send + Sync {
    type Output: Serialize + DeserializeOwned + Send + Sync;

    // Required method
    fn babelify(self, ctx: &Context) -> Self::Output;

    // Provided method
    fn parallel(_cnt: usize) -> bool { ... }
}

Required Associated Types§

Required Methods§

source

fn babelify(self, ctx: &Context) -> Self::Output

Provided Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Babelify for Accessibility

source§

type Output = Access

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for ArrayLit

source§

type Output = ArrayExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ArrayPat

source§

type Output = ArrayPattern

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ArrowExpr

source§

type Output = ArrowFunctionExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for AssignExpr

source§

type Output = AssignmentExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for AssignOp

source§

type Output = String

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for AssignPat

source§

type Output = AssignmentPattern

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for AssignPatProp

source§

type Output = ObjectProperty

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for AssignProp

source§

type Output = AssignmentPattern

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for AssignTarget

source§

type Output = LVal

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for AssignTargetPat

source§

type Output = LVal

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for AwaitExpr

source§

type Output = AwaitExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for BigInt

source§

type Output = BigIntLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for BinExpr

source§

type Output = BinaryOrLogicalExpr

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for BinaryOp

source§

type Output = BinaryOpOutput

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for BindingIdent

source§

type Output = Identifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for BlockStmt

source§

type Output = BlockStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for BlockStmtOrExpr

source§

type Output = ArrowFuncExprBody

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Bool

source§

type Output = BooleanLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for BreakStmt

source§

type Output = BreakStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for CallExpr

source§

type Output = CallExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Callee

source§

type Output = Expression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for CatchClause

source§

type Output = CatchClause

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Class

source§

type Output = ClassExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ClassDecl

source§

type Output = ClassDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ClassExpr

source§

type Output = ClassExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ClassMember

source§

type Output = ClassBodyEl

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ClassMethod

source§

type Output = ClassMethod

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ClassProp

source§

type Output = ClassProperty

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ComputedPropName

source§

type Output = Expression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for CondExpr

source§

type Output = ConditionalExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Constructor

source§

type Output = ClassMethod

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ContinueStmt

source§

type Output = ContinueStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for DebuggerStmt

source§

type Output = DebuggerStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Decl

source§

type Output = Declaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Decorator

source§

type Output = Decorator

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for DefaultDecl

source§

type Output = ExportDefaultDeclType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for DoWhileStmt

source§

type Output = DoWhileStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for EmptyStmt

source§

type Output = EmptyStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExportAll

source§

type Output = ExportAllDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExportDecl

source§

type Output = ExportNamedDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExportDefaultDecl

source§

type Output = ExportDefaultDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExportDefaultExpr

source§

type Output = ExportDefaultDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExportDefaultSpecifier

source§

type Output = ExportDefaultSpecifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExportNamedSpecifier

source§

type Output = ExportSpecifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExportNamespaceSpecifier

source§

type Output = ExportNamespaceSpecifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExportSpecifier

source§

type Output = ExportSpecifierType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Expr

source§

type Output = ExprOutput

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExprOrSpread

source§

type Output = ArrayExprEl

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ExprStmt

source§

type Output = ExpressionStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for FnDecl

source§

type Output = FunctionDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for FnExpr

source§

type Output = FunctionExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ForHead

source§

type Output = ForStmtLeft

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ForInStmt

source§

type Output = ForInStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ForOfStmt

source§

type Output = ForOfStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ForStmt

source§

type Output = ForStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Function

source§

type Output = FunctionExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for GetterProp

source§

type Output = ObjectMethod

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Ident

source§

type Output = Identifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for IdentName

source§

type Output = Identifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for IfStmt

source§

type Output = IfStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Import

source§

type Output = Import

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ImportDecl

source§

type Output = ImportDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ImportDefaultSpecifier

source§

type Output = ImportDefaultSpecifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ImportNamedSpecifier

source§

type Output = ImportSpecifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ImportPhase

source§

type Output = Option<ImportPhase>

source§

fn babelify(self, _: &Context) -> Self::Output

source§

impl Babelify for ImportSpecifier

source§

type Output = ImportSpecifierType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ImportStarAsSpecifier

source§

type Output = ImportNamespaceSpecifier

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXAttr

source§

type Output = JSXAttribute

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXAttrName

source§

type Output = JSXAttrName

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXAttrOrSpread

source§

type Output = JSXOpeningElAttr

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXAttrValue

source§

type Output = JSXAttrVal

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXClosingElement

source§

type Output = JSXClosingElement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXClosingFragment

source§

type Output = JSXClosingFragment

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXElement

source§

type Output = JSXElement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXElementChild

source§

type Output = JSXElementChild

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXElementName

source§

type Output = JSXElementName

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXEmptyExpr

source§

type Output = JSXEmptyExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXExpr

source§

type Output = JSXExprContainerExpr

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXExprContainer

source§

type Output = JSXExpressionContainer

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXFragment

source§

type Output = JSXFragment

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXMemberExpr

source§

type Output = JSXMemberExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXNamespacedName

source§

type Output = JSXNamespacedName

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXObject

source§

type Output = JSXMemberExprObject

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXOpeningElement

source§

type Output = JSXOpeningElement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXOpeningFragment

source§

type Output = JSXOpeningFragment

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXSpreadChild

source§

type Output = JSXSpreadChild

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for JSXText

source§

type Output = JSXText

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for KeyValuePatProp

source§

type Output = ObjectProperty

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for KeyValueProp

source§

type Output = ObjectProperty

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for LabeledStmt

source§

type Output = LabeledStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Lit

source§

type Output = LitOutput

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for MemberExpr

source§

type Output = MemberExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for MemberProp

source§

type Output = MemberExprProp

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for MetaPropExpr

source§

type Output = MetaProperty

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for MethodKind

source§

type Output = ClassMethodKind

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for MethodProp

source§

type Output = ObjectMethod

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Module

source§

type Output = Program

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ModuleDecl

source§

type Output = ModuleDeclOutput

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ModuleExportName

source§

type Output = ModuleExportNameType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ModuleItem

source§

type Output = ModuleItemOutput

source§

fn parallel(cnt: usize) -> bool

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for NamedExport

source§

type Output = ExportNamedDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for NewExpr

source§

type Output = NewExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Null

source§

type Output = NullLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Number

source§

type Output = NumericLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ObjectLit

source§

type Output = ObjectExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ObjectPat

source§

type Output = ObjectPattern

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ObjectPatProp

source§

type Output = ObjectPatternProp

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Param

source§

type Output = Param

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ParamOrTsParamProp

source§

type Output = Param

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ParenExpr

source§

type Output = ParenthesizedExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Pat

source§

type Output = PatOutput

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for PrivateMethod

source§

type Output = ClassPrivateMethod

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for PrivateName

source§

type Output = PrivateName

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for PrivateProp

source§

type Output = ClassPrivateProperty

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Program

source§

type Output = File

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Prop

source§

type Output = ObjectMember

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for PropName

source§

type Output = ObjectKey

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for PropOrSpread

source§

type Output = ObjectExprProp

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Regex

source§

type Output = RegExpLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for RestPat

source§

type Output = RestElement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ReturnStmt

source§

type Output = ReturnStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Script

source§

type Output = Program

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for SeqExpr

source§

type Output = SequenceExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for SetterProp

source§

type Output = ObjectMethod

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for SimpleAssignTarget

source§

type Output = LVal

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for SpreadElement

source§

type Output = SpreadElement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for StaticBlock

source§

type Output = StaticBlock

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Stmt

source§

type Output = Statement

source§

fn parallel(cnt: usize) -> bool

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Str

source§

type Output = StringLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Super

source§

type Output = Super

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for SuperProp

source§

type Output = MemberExprProp

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for SuperPropExpr

source§

type Output = MemberExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for SwitchCase

source§

type Output = SwitchCase

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for SwitchStmt

source§

type Output = SwitchStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TaggedTpl

source§

type Output = TaggedTemplateExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ThisExpr

source§

type Output = ThisExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for ThrowStmt

source§

type Output = ThrowStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for Tpl

source§

type Output = TemplateLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TplElement

source§

type Output = TemplateElement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TryStmt

source§

type Output = TryStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsArrayType

source§

type Output = TSArrayType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsAsExpr

source§

type Output = TSAsExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsCallSignatureDecl

source§

type Output = TSCallSignatureDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsConditionalType

source§

type Output = TSConditionalType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsConstAssertion

source§

type Output = String

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for TsConstructSignatureDecl

source§

type Output = TSConstructSignatureDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsConstructorType

source§

type Output = TSConstructorType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsEntityName

source§

type Output = TSEntityName

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsEnumDecl

source§

type Output = TSEnumDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsEnumMember

source§

type Output = TSEnumMember

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsEnumMemberId

source§

type Output = IdOrString

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsExportAssignment

source§

type Output = TSExportAssignment

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsExprWithTypeArgs

source§

type Output = TSExpressionWithTypeArguments

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsExternalModuleRef

source§

type Output = TSExternalModuleReference

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsFnOrConstructorType

source§

type Output = TsFnOrConstructorTypeOutput

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsFnParam

source§

type Output = TsFnParamOutput

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsFnType

source§

type Output = TSFunctionType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsImportEqualsDecl

source§

type Output = TSImportEqualsDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsImportType

source§

type Output = TSImportType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsIndexSignature

source§

type Output = TSIndexSignature

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsIndexedAccessType

source§

type Output = TSIndexedAccessType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsInferType

source§

type Output = TSInferType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsInterfaceBody

source§

type Output = TSInterfaceBody

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsInterfaceDecl

source§

type Output = TSInterfaceDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsIntersectionType

source§

type Output = TSIntersectionType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsKeywordType

source§

type Output = TsKeywordTypeOutput

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsLit

source§

type Output = TSLiteralTypeLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsLitType

source§

type Output = TSLiteralType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsMappedType

source§

type Output = TSMappedType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsMethodSignature

source§

type Output = TSMethodSignature

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsModuleBlock

source§

type Output = TSModuleBlock

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsModuleDecl

source§

type Output = TSModuleDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsModuleName

source§

type Output = IdOrString

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsModuleRef

source§

type Output = TSImportEqualsDeclModuleRef

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsNamespaceBody

source§

type Output = TSModuleDeclBody

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsNamespaceDecl

source§

type Output = TSModuleDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsNamespaceExportDecl

source§

type Output = TSNamespaceExportDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsNonNullExpr

source§

type Output = TSNonNullExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsOptionalType

source§

type Output = TSOptionalType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsParamProp

source§

type Output = TSParameterProperty

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsParamPropParam

source§

type Output = TSParamPropParam

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsParenthesizedType

source§

type Output = TSParenthesizedType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsPropertySignature

source§

type Output = TSPropertySignature

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsQualifiedName

source§

type Output = TSQualifiedName

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsRestType

source§

type Output = TSRestType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsThisType

source§

type Output = TSThisType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsThisTypeOrIdent

source§

type Output = TSTypePredicateParamName

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTplLitType

source§

type Output = String

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for TsTupleElement

source§

type Output = TSTupleTypeElType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTupleType

source§

type Output = TSTupleType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsType

source§

type Output = TSType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeAliasDecl

source§

type Output = TSTypeAliasDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeAnn

source§

type Output = TSTypeAnnotation

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeAssertion

source§

type Output = TSTypeAssertion

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeElement

source§

type Output = TSTypeElement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeLit

source§

type Output = TSTypeLiteral

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeOperator

source§

type Output = TSTypeOperator

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeOperatorOp

source§

type Output = Atom

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeParam

source§

type Output = TSTypeParameter

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeParamDecl

source§

type Output = TSTypeParameterDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeParamInstantiation

source§

type Output = TSTypeParameterInstantiation

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypePredicate

source§

type Output = TSTypePredicate

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeQuery

source§

type Output = TSTypeQuery

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeQueryExpr

source§

type Output = TSTypeQueryExprName

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsTypeRef

source§

type Output = TSTypeReference

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsUnionOrIntersectionType

source§

type Output = TsUnionOrIntersectionTypeOutput

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for TsUnionType

source§

type Output = TSUnionType

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for UnaryExpr

source§

type Output = UnaryExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for UnaryOp

source§

type Output = UnaryExprOp

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for UpdateExpr

source§

type Output = UpdateExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for UpdateOp

source§

type Output = UpdateExprOp

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for UsingDecl

source§

type Output = UsingDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for VarDecl

source§

type Output = VariableDeclaration

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for VarDeclKind

source§

type Output = VariableDeclarationKind

source§

fn babelify(self, _ctx: &Context) -> Self::Output

source§

impl Babelify for VarDeclOrExpr

source§

type Output = ForStmtInit

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for VarDeclarator

source§

type Output = VariableDeclarator

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for WhileStmt

source§

type Output = WhileStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for WithStmt

source§

type Output = WithStatement

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl Babelify for YieldExpr

source§

type Output = YieldExpression

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl<T> Babelify for Option<T>
where T: Babelify,

source§

type Output = Option<<T as Babelify>::Output>

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl<T> Babelify for Box<T>
where T: Babelify,

source§

type Output = <T as Babelify>::Output

source§

fn babelify(self, ctx: &Context) -> Self::Output

source§

impl<T> Babelify for Vec<T>
where T: Babelify,

source§

type Output = Vec<<T as Babelify>::Output>

source§

fn babelify(self, ctx: &Context) -> Self::Output

Implementors§