Trait swc_estree_compat::babelify::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

§

type Output = Access

source§

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

source§

impl Babelify for ArrayLit

§

type Output = ArrayExpression

source§

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

source§

impl Babelify for ArrayPat

§

type Output = ArrayPattern

source§

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

source§

impl Babelify for ArrowExpr

§

type Output = ArrowFunctionExpression

source§

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

source§

impl Babelify for AssignExpr

§

type Output = AssignmentExpression

source§

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

source§

impl Babelify for AssignOp

§

type Output = String

source§

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

source§

impl Babelify for AssignPat

§

type Output = AssignmentPattern

source§

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

source§

impl Babelify for AssignPatProp

§

type Output = ObjectProperty

source§

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

source§

impl Babelify for AssignProp

§

type Output = AssignmentPattern

source§

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

source§

impl Babelify for AssignTarget

§

type Output = LVal

source§

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

source§

impl Babelify for AssignTargetPat

§

type Output = LVal

source§

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

source§

impl Babelify for AwaitExpr

§

type Output = AwaitExpression

source§

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

source§

impl Babelify for BigInt

§

type Output = BigIntLiteral

source§

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

source§

impl Babelify for BinExpr

§

type Output = BinaryOrLogicalExpr

source§

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

source§

impl Babelify for BinaryOp

§

type Output = BinaryOpOutput

source§

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

source§

impl Babelify for BindingIdent

§

type Output = Identifier

source§

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

source§

impl Babelify for BlockStmt

§

type Output = BlockStatement

source§

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

source§

impl Babelify for BlockStmtOrExpr

§

type Output = ArrowFuncExprBody

source§

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

source§

impl Babelify for Bool

§

type Output = BooleanLiteral

source§

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

source§

impl Babelify for BreakStmt

§

type Output = BreakStatement

source§

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

source§

impl Babelify for CallExpr

§

type Output = CallExpression

source§

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

source§

impl Babelify for Callee

§

type Output = Expression

source§

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

source§

impl Babelify for CatchClause

§

type Output = CatchClause

source§

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

source§

impl Babelify for Class

§

type Output = ClassExpression

source§

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

source§

impl Babelify for ClassDecl

§

type Output = ClassDeclaration

source§

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

source§

impl Babelify for ClassExpr

§

type Output = ClassExpression

source§

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

source§

impl Babelify for ClassMember

§

type Output = ClassBodyEl

source§

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

source§

impl Babelify for ClassMethod

§

type Output = ClassMethod

source§

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

source§

impl Babelify for ClassProp

§

type Output = ClassProperty

source§

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

source§

impl Babelify for ComputedPropName

§

type Output = Expression

source§

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

source§

impl Babelify for CondExpr

§

type Output = ConditionalExpression

source§

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

source§

impl Babelify for Constructor

§

type Output = ClassMethod

source§

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

source§

impl Babelify for ContinueStmt

§

type Output = ContinueStatement

source§

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

source§

impl Babelify for DebuggerStmt

§

type Output = DebuggerStatement

source§

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

source§

impl Babelify for Decl

§

type Output = Declaration

source§

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

source§

impl Babelify for Decorator

§

type Output = Decorator

source§

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

source§

impl Babelify for DefaultDecl

§

type Output = ExportDefaultDeclType

source§

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

source§

impl Babelify for DoWhileStmt

§

type Output = DoWhileStatement

source§

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

source§

impl Babelify for EmptyStmt

§

type Output = EmptyStatement

source§

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

source§

impl Babelify for ExportAll

§

type Output = ExportAllDeclaration

source§

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

source§

impl Babelify for ExportDecl

§

type Output = ExportNamedDeclaration

source§

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

source§

impl Babelify for ExportDefaultDecl

§

type Output = ExportDefaultDeclaration

source§

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

source§

impl Babelify for ExportDefaultExpr

§

type Output = ExportDefaultDeclaration

source§

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

source§

impl Babelify for ExportDefaultSpecifier

§

type Output = ExportDefaultSpecifier

source§

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

source§

impl Babelify for ExportNamedSpecifier

§

type Output = ExportSpecifier

source§

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

source§

impl Babelify for ExportNamespaceSpecifier

§

type Output = ExportNamespaceSpecifier

source§

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

source§

impl Babelify for ExportSpecifier

§

type Output = ExportSpecifierType

source§

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

source§

impl Babelify for Expr

§

type Output = ExprOutput

source§

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

source§

impl Babelify for ExprOrSpread

§

type Output = ArrayExprEl

source§

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

source§

impl Babelify for ExprStmt

§

type Output = ExpressionStatement

source§

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

source§

impl Babelify for FnDecl

§

type Output = FunctionDeclaration

source§

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

source§

impl Babelify for FnExpr

§

type Output = FunctionExpression

source§

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

source§

impl Babelify for ForHead

§

type Output = ForStmtLeft

source§

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

source§

impl Babelify for ForInStmt

§

type Output = ForInStatement

source§

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

source§

impl Babelify for ForOfStmt

§

type Output = ForOfStatement

source§

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

source§

impl Babelify for ForStmt

§

type Output = ForStatement

source§

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

source§

impl Babelify for Function

§

type Output = FunctionExpression

source§

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

source§

impl Babelify for GetterProp

§

type Output = ObjectMethod

source§

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

source§

impl Babelify for Ident

§

type Output = Identifier

source§

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

source§

impl Babelify for IfStmt

§

type Output = IfStatement

source§

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

source§

impl Babelify for Import

§

type Output = Import

source§

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

source§

impl Babelify for ImportDecl

§

type Output = ImportDeclaration

source§

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

source§

impl Babelify for ImportDefaultSpecifier

§

type Output = ImportDefaultSpecifier

source§

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

source§

impl Babelify for ImportNamedSpecifier

§

type Output = ImportSpecifier

source§

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

source§

impl Babelify for ImportPhase

§

type Output = Option<ImportPhase>

source§

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

source§

impl Babelify for ImportSpecifier

§

type Output = ImportSpecifierType

source§

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

source§

impl Babelify for ImportStarAsSpecifier

§

type Output = ImportNamespaceSpecifier

source§

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

source§

impl Babelify for JSXAttr

§

type Output = JSXAttribute

source§

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

source§

impl Babelify for JSXAttrName

§

type Output = JSXAttrName

source§

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

source§

impl Babelify for JSXAttrOrSpread

§

type Output = JSXOpeningElAttr

source§

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

source§

impl Babelify for JSXAttrValue

§

type Output = JSXAttrVal

source§

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

source§

impl Babelify for JSXClosingElement

§

type Output = JSXClosingElement

source§

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

source§

impl Babelify for JSXClosingFragment

§

type Output = JSXClosingFragment

source§

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

source§

impl Babelify for JSXElement

§

type Output = JSXElement

source§

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

source§

impl Babelify for JSXElementChild

§

type Output = JSXElementChild

source§

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

source§

impl Babelify for JSXElementName

§

type Output = JSXElementName

source§

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

source§

impl Babelify for JSXEmptyExpr

§

type Output = JSXEmptyExpression

source§

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

source§

impl Babelify for JSXExpr

§

type Output = JSXExprContainerExpr

source§

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

source§

impl Babelify for JSXExprContainer

§

type Output = JSXExpressionContainer

source§

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

source§

impl Babelify for JSXFragment

§

type Output = JSXFragment

source§

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

source§

impl Babelify for JSXMemberExpr

§

type Output = JSXMemberExpression

source§

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

source§

impl Babelify for JSXNamespacedName

§

type Output = JSXNamespacedName

source§

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

source§

impl Babelify for JSXObject

§

type Output = JSXMemberExprObject

source§

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

source§

impl Babelify for JSXOpeningElement

§

type Output = JSXOpeningElement

source§

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

source§

impl Babelify for JSXOpeningFragment

§

type Output = JSXOpeningFragment

source§

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

source§

impl Babelify for JSXSpreadChild

§

type Output = JSXSpreadChild

source§

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

source§

impl Babelify for JSXText

§

type Output = JSXText

source§

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

source§

impl Babelify for KeyValuePatProp

§

type Output = ObjectProperty

source§

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

source§

impl Babelify for KeyValueProp

§

type Output = ObjectProperty

source§

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

source§

impl Babelify for LabeledStmt

§

type Output = LabeledStatement

source§

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

source§

impl Babelify for Lit

§

type Output = LitOutput

source§

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

source§

impl Babelify for MemberExpr

§

type Output = MemberExpression

source§

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

source§

impl Babelify for MemberProp

§

type Output = MemberExprProp

source§

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

source§

impl Babelify for MetaPropExpr

§

type Output = MetaProperty

source§

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

source§

impl Babelify for MethodKind

§

type Output = ClassMethodKind

source§

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

source§

impl Babelify for MethodProp

§

type Output = ObjectMethod

source§

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

source§

impl Babelify for Module

§

type Output = Program

source§

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

source§

impl Babelify for ModuleDecl

§

type Output = ModuleDeclOutput

source§

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

source§

impl Babelify for ModuleExportName

§

type Output = ModuleExportNameType

source§

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

source§

impl Babelify for ModuleItem

§

type Output = ModuleItemOutput

source§

fn parallel(cnt: usize) -> bool

source§

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

source§

impl Babelify for NamedExport

§

type Output = ExportNamedDeclaration

source§

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

source§

impl Babelify for NewExpr

§

type Output = NewExpression

source§

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

source§

impl Babelify for Null

§

type Output = NullLiteral

source§

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

source§

impl Babelify for Number

§

type Output = NumericLiteral

source§

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

source§

impl Babelify for ObjectLit

§

type Output = ObjectExpression

source§

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

source§

impl Babelify for ObjectPat

§

type Output = ObjectPattern

source§

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

source§

impl Babelify for ObjectPatProp

§

type Output = ObjectPatternProp

source§

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

source§

impl Babelify for Param

§

type Output = Param

source§

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

source§

impl Babelify for ParamOrTsParamProp

§

type Output = Param

source§

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

source§

impl Babelify for ParenExpr

§

type Output = ParenthesizedExpression

source§

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

source§

impl Babelify for Pat

§

type Output = PatOutput

source§

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

source§

impl Babelify for PrivateMethod

§

type Output = ClassPrivateMethod

source§

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

source§

impl Babelify for PrivateName

§

type Output = PrivateName

source§

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

source§

impl Babelify for PrivateProp

§

type Output = ClassPrivateProperty

source§

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

source§

impl Babelify for Program

§

type Output = File

source§

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

source§

impl Babelify for Prop

§

type Output = ObjectMember

source§

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

source§

impl Babelify for PropName

§

type Output = ObjectKey

source§

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

source§

impl Babelify for PropOrSpread

§

type Output = ObjectExprProp

source§

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

source§

impl Babelify for Regex

§

type Output = RegExpLiteral

source§

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

source§

impl Babelify for RestPat

§

type Output = RestElement

source§

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

source§

impl Babelify for ReturnStmt

§

type Output = ReturnStatement

source§

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

source§

impl Babelify for Script

§

type Output = Program

source§

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

source§

impl Babelify for SeqExpr

§

type Output = SequenceExpression

source§

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

source§

impl Babelify for SetterProp

§

type Output = ObjectMethod

source§

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

source§

impl Babelify for SimpleAssignTarget

§

type Output = LVal

source§

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

source§

impl Babelify for SpreadElement

§

type Output = SpreadElement

source§

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

source§

impl Babelify for StaticBlock

§

type Output = StaticBlock

source§

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

source§

impl Babelify for Stmt

§

type Output = Statement

source§

fn parallel(cnt: usize) -> bool

source§

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

source§

impl Babelify for Str

§

type Output = StringLiteral

source§

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

source§

impl Babelify for Super

§

type Output = Super

source§

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

source§

impl Babelify for SuperProp

§

type Output = MemberExprProp

source§

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

source§

impl Babelify for SuperPropExpr

§

type Output = MemberExpression

source§

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

source§

impl Babelify for SwitchCase

§

type Output = SwitchCase

source§

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

source§

impl Babelify for SwitchStmt

§

type Output = SwitchStatement

source§

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

source§

impl Babelify for TaggedTpl

§

type Output = TaggedTemplateExpression

source§

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

source§

impl Babelify for ThisExpr

§

type Output = ThisExpression

source§

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

source§

impl Babelify for ThrowStmt

§

type Output = ThrowStatement

source§

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

source§

impl Babelify for Tpl

§

type Output = TemplateLiteral

source§

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

source§

impl Babelify for TplElement

§

type Output = TemplateElement

source§

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

source§

impl Babelify for TryStmt

§

type Output = TryStatement

source§

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

source§

impl Babelify for TsArrayType

§

type Output = TSArrayType

source§

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

source§

impl Babelify for TsAsExpr

§

type Output = TSAsExpression

source§

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

source§

impl Babelify for TsCallSignatureDecl

§

type Output = TSCallSignatureDeclaration

source§

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

source§

impl Babelify for TsConditionalType

§

type Output = TSConditionalType

source§

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

source§

impl Babelify for TsConstAssertion

§

type Output = String

source§

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

source§

impl Babelify for TsConstructSignatureDecl

§

type Output = TSConstructSignatureDeclaration

source§

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

source§

impl Babelify for TsConstructorType

§

type Output = TSConstructorType

source§

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

source§

impl Babelify for TsEntityName

§

type Output = TSEntityName

source§

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

source§

impl Babelify for TsEnumDecl

§

type Output = TSEnumDeclaration

source§

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

source§

impl Babelify for TsEnumMember

§

type Output = TSEnumMember

source§

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

source§

impl Babelify for TsEnumMemberId

§

type Output = IdOrString

source§

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

source§

impl Babelify for TsExportAssignment

§

type Output = TSExportAssignment

source§

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

source§

impl Babelify for TsExprWithTypeArgs

§

type Output = TSExpressionWithTypeArguments

source§

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

source§

impl Babelify for TsExternalModuleRef

§

type Output = TSExternalModuleReference

source§

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

source§

impl Babelify for TsFnOrConstructorType

§

type Output = TsFnOrConstructorTypeOutput

source§

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

source§

impl Babelify for TsFnParam

§

type Output = TsFnParamOutput

source§

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

source§

impl Babelify for TsFnType

§

type Output = TSFunctionType

source§

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

source§

impl Babelify for TsImportEqualsDecl

§

type Output = TSImportEqualsDeclaration

source§

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

source§

impl Babelify for TsImportType

§

type Output = TSImportType

source§

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

source§

impl Babelify for TsIndexSignature

§

type Output = TSIndexSignature

source§

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

source§

impl Babelify for TsIndexedAccessType

§

type Output = TSIndexedAccessType

source§

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

source§

impl Babelify for TsInferType

§

type Output = TSInferType

source§

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

source§

impl Babelify for TsInterfaceBody

§

type Output = TSInterfaceBody

source§

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

source§

impl Babelify for TsInterfaceDecl

§

type Output = TSInterfaceDeclaration

source§

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

source§

impl Babelify for TsIntersectionType

§

type Output = TSIntersectionType

source§

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

source§

impl Babelify for TsKeywordType

§

type Output = TsKeywordTypeOutput

source§

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

source§

impl Babelify for TsLit

§

type Output = TSLiteralTypeLiteral

source§

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

source§

impl Babelify for TsLitType

§

type Output = TSLiteralType

source§

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

source§

impl Babelify for TsMappedType

§

type Output = TSMappedType

source§

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

source§

impl Babelify for TsMethodSignature

§

type Output = TSMethodSignature

source§

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

source§

impl Babelify for TsModuleBlock

§

type Output = TSModuleBlock

source§

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

source§

impl Babelify for TsModuleDecl

§

type Output = TSModuleDeclaration

source§

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

source§

impl Babelify for TsModuleName

§

type Output = IdOrString

source§

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

source§

impl Babelify for TsModuleRef

§

type Output = TSImportEqualsDeclModuleRef

source§

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

source§

impl Babelify for TsNamespaceBody

§

type Output = TSModuleDeclBody

source§

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

source§

impl Babelify for TsNamespaceDecl

§

type Output = TSModuleDeclaration

source§

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

source§

impl Babelify for TsNamespaceExportDecl

§

type Output = TSNamespaceExportDeclaration

source§

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

source§

impl Babelify for TsNonNullExpr

§

type Output = TSNonNullExpression

source§

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

source§

impl Babelify for TsOptionalType

§

type Output = TSOptionalType

source§

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

source§

impl Babelify for TsParamProp

§

type Output = TSParameterProperty

source§

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

source§

impl Babelify for TsParamPropParam

§

type Output = TSParamPropParam

source§

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

source§

impl Babelify for TsParenthesizedType

§

type Output = TSParenthesizedType

source§

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

source§

impl Babelify for TsPropertySignature

§

type Output = TSPropertySignature

source§

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

source§

impl Babelify for TsQualifiedName

§

type Output = TSQualifiedName

source§

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

source§

impl Babelify for TsRestType

§

type Output = TSRestType

source§

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

source§

impl Babelify for TsThisType

§

type Output = TSThisType

source§

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

source§

impl Babelify for TsThisTypeOrIdent

§

type Output = TSTypePredicateParamName

source§

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

source§

impl Babelify for TsTplLitType

§

type Output = String

source§

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

source§

impl Babelify for TsTupleElement

§

type Output = TSTupleTypeElType

source§

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

source§

impl Babelify for TsTupleType

§

type Output = TSTupleType

source§

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

source§

impl Babelify for TsType

§

type Output = TSType

source§

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

source§

impl Babelify for TsTypeAliasDecl

§

type Output = TSTypeAliasDeclaration

source§

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

source§

impl Babelify for TsTypeAnn

§

type Output = TSTypeAnnotation

source§

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

source§

impl Babelify for TsTypeAssertion

§

type Output = TSTypeAssertion

source§

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

source§

impl Babelify for TsTypeElement

§

type Output = TSTypeElement

source§

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

source§

impl Babelify for TsTypeLit

§

type Output = TSTypeLiteral

source§

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

source§

impl Babelify for TsTypeOperator

§

type Output = TSTypeOperator

source§

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

source§

impl Babelify for TsTypeOperatorOp

§

type Output = Atom

source§

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

source§

impl Babelify for TsTypeParam

§

type Output = TSTypeParameter

source§

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

source§

impl Babelify for TsTypeParamDecl

§

type Output = TSTypeParameterDeclaration

source§

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

source§

impl Babelify for TsTypeParamInstantiation

§

type Output = TSTypeParameterInstantiation

source§

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

source§

impl Babelify for TsTypePredicate

§

type Output = TSTypePredicate

source§

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

source§

impl Babelify for TsTypeQuery

§

type Output = TSTypeQuery

source§

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

source§

impl Babelify for TsTypeQueryExpr

§

type Output = TSTypeQueryExprName

source§

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

source§

impl Babelify for TsTypeRef

§

type Output = TSTypeReference

source§

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

source§

impl Babelify for TsUnionOrIntersectionType

§

type Output = TsUnionOrIntersectionTypeOutput

source§

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

source§

impl Babelify for TsUnionType

§

type Output = TSUnionType

source§

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

source§

impl Babelify for UnaryExpr

§

type Output = UnaryExpression

source§

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

source§

impl Babelify for UnaryOp

§

type Output = UnaryExprOp

source§

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

source§

impl Babelify for UpdateExpr

§

type Output = UpdateExpression

source§

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

source§

impl Babelify for UpdateOp

§

type Output = UpdateExprOp

source§

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

source§

impl Babelify for UsingDecl

§

type Output = UsingDeclaration

source§

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

source§

impl Babelify for VarDecl

§

type Output = VariableDeclaration

source§

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

source§

impl Babelify for VarDeclKind

§

type Output = VariableDeclarationKind

source§

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

source§

impl Babelify for VarDeclOrExpr

§

type Output = ForStmtInit

source§

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

source§

impl Babelify for VarDeclarator

§

type Output = VariableDeclarator

source§

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

source§

impl Babelify for WhileStmt

§

type Output = WhileStatement

source§

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

source§

impl Babelify for WithStmt

§

type Output = WithStatement

source§

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

source§

impl Babelify for YieldExpr

§

type Output = YieldExpression

source§

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

source§

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

§

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,

§

type Output = <T as Babelify>::Output

source§

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

source§

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

§

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

source§

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

Implementors§