Trait Swcify

Source
pub trait Swcify {
    type Output: Debug + Send + Sync;

    // Required method
    fn swcify(self, ctx: &Context) -> Self::Output;
}
Expand description

Used to convert a babel ast node to

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl Swcify for Access

Source§

type Output = Accessibility

Source§

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

Source§

impl Swcify for Arg

Source§

type Output = Option<ExprOrSpread>

Source§

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

Source§

impl Swcify for ArrayExprEl

Source§

type Output = ExprOrSpread

Source§

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

Source§

impl Swcify for ArrayExpression

Source§

type Output = ArrayLit

Source§

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

Source§

impl Swcify for ArrayPattern

Source§

type Output = ArrayPat

Source§

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

Source§

impl Swcify for ArrowFuncExprBody

Source§

type Output = BlockStmtOrExpr

Source§

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

Source§

impl Swcify for ArrowFunctionExpression

Source§

type Output = ArrowExpr

Source§

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

Source§

impl Swcify for AssignmentExpression

Source§

type Output = AssignExpr

Source§

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

Source§

impl Swcify for AssignmentPattern

Source§

type Output = AssignPat

Source§

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

Source§

impl Swcify for AssignmentPatternLeft

Source§

type Output = Pat

Source§

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

Source§

impl Swcify for AwaitExpression

Source§

type Output = AwaitExpr

Source§

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

Source§

impl Swcify for BigIntLiteral

Source§

type Output = BigInt

Source§

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

Source§

impl Swcify for BinaryExprLeft

Source§

type Output = Box<Expr>

Source§

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

Source§

impl Swcify for BinaryExprOp

Source§

type Output = BinaryOp

Source§

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

Source§

impl Swcify for BinaryExpression

Source§

type Output = BinExpr

Source§

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

Source§

impl Swcify for BindExpression

Source§

impl Swcify for BlockStatement

Source§

type Output = BlockStmt

Source§

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

Source§

impl Swcify for BooleanLiteral

Source§

type Output = Bool

Source§

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

Source§

impl Swcify for BreakStatement

Source§

type Output = BreakStmt

Source§

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

Source§

impl Swcify for CallExpression

Source§

type Output = CallExpr

Source§

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

Source§

impl Swcify for Callee

Source§

type Output = Callee

Source§

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

Source§

impl Swcify for CatchClause

Source§

type Output = CatchClause

Source§

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

Source§

impl Swcify for CatchClauseParam

Source§

type Output = Pat

Source§

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

Source§

impl Swcify for ClassBody

Source§

type Output = Vec<ClassMember>

Source§

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

Source§

impl Swcify for ClassBodyEl

Source§

type Output = ClassMember

Source§

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

Source§

impl Swcify for ClassDeclaration

Source§

type Output = ClassDecl

Source§

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

Source§

impl Swcify for ClassExpression

Source§

type Output = ClassExpr

Source§

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

Source§

impl Swcify for ClassImpl

Source§

type Output = TsExprWithTypeArgs

Source§

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

Source§

impl Swcify for ClassMethod

Source§

type Output = ClassMember

Source§

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

Source§

impl Swcify for ClassPrivateMethod

Source§

type Output = PrivateMethod

Source§

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

Source§

impl Swcify for ClassPrivateProperty

Source§

type Output = PrivateProp

Source§

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

Source§

impl Swcify for ClassProperty

Source§

type Output = ClassProp

Source§

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

Source§

impl Swcify for ConditionalExpression

Source§

type Output = CondExpr

Source§

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

Source§

impl Swcify for ContinueStatement

Source§

type Output = ContinueStmt

Source§

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

Source§

impl Swcify for DebuggerStatement

Source§

type Output = DebuggerStmt

Source§

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

Source§

impl Swcify for DecimalLiteral

Source§

type Output = Number

Source§

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

Source§

impl Swcify for DeclareClass

Source§

type Output = ClassDecl

Source§

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

Source§

impl Swcify for DeclareExportAllDeclaration

Source§

type Output = ExportAll

Source§

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

Source§

impl Swcify for DeclareExportDeclaration

Source§

type Output = ExportDecl

Source§

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

Source§

impl Swcify for DeclareFunction

Source§

type Output = FnDecl

Source§

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

Source§

impl Swcify for DeclareInterface

Source§

type Output = TsInterfaceDecl

Source§

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

Source§

impl Swcify for DeclareModule

Source§

type Output = TsModuleDecl

Source§

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

Source§

impl Swcify for DeclareModuleExports

Source§

type Output = TsExportAssignment

Source§

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

Source§

impl Swcify for DeclareTypeAlias

Source§

type Output = TsTypeAliasDecl

Source§

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

Source§

impl Swcify for DeclareVariable

Source§

type Output = VarDecl

Source§

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

Source§

impl Swcify for Decorator

Source§

type Output = Decorator

Source§

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

Source§

impl Swcify for DoExpression

Source§

impl Swcify for DoWhileStatement

Source§

type Output = DoWhileStmt

Source§

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

Source§

impl Swcify for EmptyStatement

Source§

type Output = EmptyStmt

Source§

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

Source§

impl Swcify for ExportAllDeclaration

Source§

type Output = ExportAll

Source§

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

Source§

impl Swcify for ExportDefaultDeclaration

Source§

type Output = ModuleDecl

Source§

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

Source§

impl Swcify for ExportDefaultSpecifier

Source§

type Output = ExportDefaultSpecifier

Source§

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

Source§

impl Swcify for ExportNamedDeclaration

Source§

type Output = NamedExport

Source§

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

Source§

impl Swcify for ExportNamespaceSpecifier

Source§

type Output = ExportNamespaceSpecifier

Source§

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

Source§

impl Swcify for ExportSpecifier

Source§

type Output = ExportNamedSpecifier

Source§

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

Source§

impl Swcify for ExportSpecifierType

Source§

type Output = ExportSpecifier

Source§

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

Source§

impl Swcify for Expression

Source§

type Output = Box<Expr>

Source§

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

Source§

impl Swcify for ExpressionStatement

Source§

type Output = ExprStmt

Source§

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

Source§

impl Swcify for FlowType

Source§

impl Swcify for ForInStatement

Source§

type Output = ForInStmt

Source§

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

Source§

impl Swcify for ForOfStatement

Source§

type Output = ForOfStmt

Source§

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

Source§

impl Swcify for ForStatement

Source§

type Output = ForStmt

Source§

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

Source§

impl Swcify for ForStmtInit

Source§

type Output = VarDeclOrExpr

Source§

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

Source§

impl Swcify for ForStmtLeft

Source§

type Output = ForHead

Source§

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

Source§

impl Swcify for FunctionDeclaration

Source§

type Output = FnDecl

Source§

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

Source§

impl Swcify for FunctionExpression

Source§

type Output = FnExpr

Source§

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

Source§

impl Swcify for IdOrString

Source§

type Output = PropName

Source§

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

Source§

impl Swcify for Identifier

Source§

type Output = BindingIdent

Source§

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

Source§

impl Swcify for IfStatement

Source§

type Output = IfStmt

Source§

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

Source§

impl Swcify for Import

Source§

type Output = Import

Source§

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

Source§

impl Swcify for ImportAttribute

Source§

type Output = KeyValueProp

Source§

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

Source§

impl Swcify for ImportDeclaration

Source§

type Output = ImportDecl

Source§

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

Source§

impl Swcify for ImportDefaultSpecifier

Source§

type Output = ImportDefaultSpecifier

Source§

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

Source§

impl Swcify for ImportNamespaceSpecifier

Source§

type Output = ImportStarAsSpecifier

Source§

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

Source§

impl Swcify for ImportPhase

Source§

type Output = ImportPhase

Source§

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

Source§

impl Swcify for ImportSpecifier

Source§

type Output = ImportNamedSpecifier

Source§

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

Source§

impl Swcify for ImportSpecifierType

Source§

type Output = ImportSpecifier

Source§

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

Source§

impl Swcify for JSXAttrName

Source§

type Output = JSXAttrName

Source§

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

Source§

impl Swcify for JSXAttrVal

Source§

type Output = JSXAttrValue

Source§

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

Source§

impl Swcify for JSXAttribute

Source§

type Output = JSXAttr

Source§

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

Source§

impl Swcify for JSXClosingElement

Source§

type Output = JSXClosingElement

Source§

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

Source§

impl Swcify for JSXClosingFragment

Source§

type Output = JSXClosingFragment

Source§

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

Source§

impl Swcify for JSXElement

Source§

type Output = JSXElement

Source§

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

Source§

impl Swcify for JSXElementChild

Source§

type Output = JSXElementChild

Source§

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

Source§

impl Swcify for JSXElementName

Source§

type Output = JSXElementName

Source§

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

Source§

impl Swcify for JSXEmptyExpression

Source§

type Output = JSXEmptyExpr

Source§

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

Source§

impl Swcify for JSXExprContainerExpr

Source§

type Output = JSXExpr

Source§

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

Source§

impl Swcify for JSXExpressionContainer

Source§

type Output = JSXExprContainer

Source§

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

Source§

impl Swcify for JSXFragment

Source§

type Output = JSXFragment

Source§

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

Source§

impl Swcify for JSXIdentifier

Source§

type Output = Ident

Source§

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

Source§

impl Swcify for JSXMemberExprObject

Source§

type Output = JSXObject

Source§

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

Source§

impl Swcify for JSXMemberExpression

Source§

type Output = JSXMemberExpr

Source§

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

Source§

impl Swcify for JSXNamespacedName

Source§

type Output = JSXNamespacedName

Source§

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

Source§

impl Swcify for JSXOpeningElAttr

Source§

type Output = JSXAttrOrSpread

Source§

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

Source§

impl Swcify for JSXOpeningElement

Source§

type Output = JSXOpeningElement

Source§

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

Source§

impl Swcify for JSXOpeningFragment

Source§

type Output = JSXOpeningFragment

Source§

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

Source§

impl Swcify for JSXSpreadAttribute

Source§

type Output = SpreadElement

Source§

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

Source§

impl Swcify for JSXSpreadChild

Source§

type Output = JSXSpreadChild

Source§

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

Source§

impl Swcify for JSXText

Source§

type Output = JSXText

Source§

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

Source§

impl Swcify for LVal

Source§

type Output = Pat

Source§

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

Source§

impl Swcify for LabeledStatement

Source§

type Output = LabeledStmt

Source§

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

Source§

impl Swcify for Literal

Source§

type Output = Lit

Source§

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

Source§

impl Swcify for LogicalExprOp

Source§

type Output = BinaryOp

Source§

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

Source§

impl Swcify for LogicalExpression

Source§

type Output = BinExpr

Source§

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

Source§

impl Swcify for MemberExpression

Source§

type Output = Expr

Source§

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

Source§

impl Swcify for MetaProperty

Source§

type Output = MetaPropExpr

Source§

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

Source§

impl Swcify for ModuleExportNameType

Source§

type Output = ModuleExportName

Source§

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

Source§

impl Swcify for ModuleExpression

Source§

impl Swcify for NewExpression

Source§

type Output = NewExpr

Source§

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

Source§

impl Swcify for NullLiteral

Source§

type Output = Null

Source§

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

Source§

impl Swcify for NumberLiteral

Source§

type Output = Number

Source§

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

Source§

impl Swcify for NumericLiteral

Source§

type Output = Number

Source§

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

Source§

impl Swcify for ObjectExprProp

Source§

type Output = PropOrSpread

Source§

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

Source§

impl Swcify for ObjectExpression

Source§

type Output = ObjectLit

Source§

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

Source§

impl Swcify for ObjectKey

Source§

type Output = PropName

Source§

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

Source§

impl Swcify for ObjectMethod

Source§

type Output = MethodProp

Source§

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

Source§

impl Swcify for ObjectPattern

Source§

type Output = ObjectPat

Source§

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

Source§

impl Swcify for ObjectPatternProp

Source§

type Output = ObjectPatProp

Source§

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

Source§

impl Swcify for ObjectProperty

Source§

type Output = KeyValueProp

Source§

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

Source§

impl Swcify for OptionalCallExpression

Source§

type Output = OptChainExpr

Source§

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

Source§

impl Swcify for OptionalMemberExprProp

Source§

type Output = Box<Expr>

Source§

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

Source§

impl Swcify for OptionalMemberExpression

Source§

type Output = OptChainExpr

Source§

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

Source§

impl Swcify for Param

Source§

type Output = Param

Source§

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

Source§

impl Swcify for ParenthesizedExpression

Source§

type Output = ParenExpr

Source§

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

Source§

impl Swcify for Pattern

Source§

type Output = Pat

Source§

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

Source§

impl Swcify for PatternLike

Source§

type Output = Pat

Source§

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

Source§

impl Swcify for PipelinePrimaryTopicReference

Source§

impl Swcify for PrivateName

Source§

type Output = PrivateName

Source§

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

Source§

impl Swcify for RecordExpression

Source§

impl Swcify for RegExpLiteral

Source§

type Output = Regex

Source§

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

Source§

impl Swcify for RestElement

Source§

type Output = RestPat

Source§

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

Source§

impl Swcify for ReturnStatement

Source§

type Output = ReturnStmt

Source§

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

Source§

impl Swcify for SequenceExpression

Source§

type Output = SeqExpr

Source§

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

Source§

impl Swcify for Statement

Source§

type Output = ModuleItem

Source§

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

Source§

impl Swcify for StringLiteral

Source§

type Output = Str

Source§

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

Source§

impl Swcify for Super

Source§

type Output = Super

Source§

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

Source§

impl Swcify for SuperTypeParams

Source§

type Output = TsTypeParamInstantiation

Source§

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

Source§

impl Swcify for SwitchCase

Source§

type Output = SwitchCase

Source§

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

Source§

impl Swcify for SwitchStatement

Source§

type Output = SwitchStmt

Source§

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

Source§

impl Swcify for TSAsExpression

Source§

type Output = TsAsExpr

Source§

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

Source§

impl Swcify for TSEntityName

Source§

type Output = TsEntityName

Source§

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

Source§

impl Swcify for TSExpressionWithTypeArguments

Source§

type Output = TsExprWithTypeArgs

Source§

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

Source§

impl Swcify for TSNonNullExpression

Source§

type Output = TsNonNullExpr

Source§

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

Source§

impl Swcify for TSQualifiedName

Source§

type Output = TsQualifiedName

Source§

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

Source§

impl Swcify for TSType

Source§

type Output = Box<TsType>

Source§

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

Source§

impl Swcify for TSTypeAnnotation

Source§

type Output = TsTypeAnn

Source§

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

Source§

impl Swcify for TSTypeAssertion

Source§

type Output = TsTypeAssertion

Source§

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

Source§

impl Swcify for TSTypeParameter

Source§

type Output = TsTypeParam

Source§

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

Source§

impl Swcify for TSTypeParameterDeclaration

Source§

type Output = TsTypeParamDecl

Source§

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

Source§

impl Swcify for TSTypeParameterInstantiation

Source§

type Output = TsTypeParamInstantiation

Source§

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

Source§

impl Swcify for TaggedTemplateExprTypeParams

Source§

type Output = TsTypeParamInstantiation

Source§

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

Source§

impl Swcify for TaggedTemplateExpression

Source§

type Output = TaggedTpl

Source§

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

Source§

impl Swcify for TemplateElement

Source§

type Output = TplElement

Source§

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

Source§

impl Swcify for TemplateLiteral

Source§

type Output = Tpl

Source§

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

Source§

impl Swcify for TemplateLiteralExpr

Source§

type Output = Box<Expr>

Source§

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

Source§

impl Swcify for ThisExpression

Source§

type Output = ThisExpr

Source§

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

Source§

impl Swcify for ThrowStatement

Source§

type Output = ThrowStmt

Source§

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

Source§

impl Swcify for TryStatement

Source§

type Output = TryStmt

Source§

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

Source§

impl Swcify for TupleExpression

Source§

impl Swcify for TypeAnnotOrNoop

Source§

type Output = Option<TsTypeAnn>

Source§

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

Source§

impl Swcify for TypeCastExpression

Source§

impl Swcify for TypeParamDeclOrNoop

Source§

type Output = Option<TsTypeParamDecl>

Source§

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

Source§

impl Swcify for UnaryExprOp

Source§

type Output = UnaryOp

Source§

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

Source§

impl Swcify for UnaryExpression

Source§

type Output = UnaryExpr

Source§

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

Source§

impl Swcify for UpdateExpression

Source§

type Output = UpdateExpr

Source§

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

Source§

impl Swcify for VariableDeclaration

Source§

type Output = VarDecl

Source§

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

Source§

impl Swcify for VariableDeclarator

Source§

type Output = VarDeclarator

Source§

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

Source§

impl Swcify for WhileStatement

Source§

type Output = WhileStmt

Source§

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

Source§

impl Swcify for WithStatement

Source§

type Output = WithStmt

Source§

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

Source§

impl Swcify for YieldExpression

Source§

type Output = YieldExpr

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Output = <T as Swcify>::Output

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§