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§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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§