Trait swc_ecma_codegen::Node

source ·
pub trait Node: Spanned {
    // Required method
    fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
       where W: WriteJs,
             S: SourceMapper + SourceMapperExt;
}

Required Methods§

source

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapper + SourceMapperExt,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Node for ArrayLit

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ArrayPat

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ArrowExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for AssignExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for AssignPat

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for AssignPatProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for AssignProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for AssignTarget

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for AssignTargetPat

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for AutoAccessor

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for AwaitExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for BigInt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for BinExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for BindingIdent

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for BlockStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for BlockStmtOrExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Bool

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for BreakStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for CallExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Callee

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for CatchClause

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Class

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ClassDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ClassExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ClassMember

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ClassMethod

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ClassProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ComputedPropName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for CondExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Constructor

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ContinueStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for DebuggerStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Decl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Decorator

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for DoWhileStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for EmptyStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExportAll

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExportDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExportDefaultDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExportDefaultExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExportNamedSpecifier

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExportNamespaceSpecifier

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExportSpecifier

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Expr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExprOrSpread

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ExprStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for FnDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for FnExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ForHead

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ForInStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ForOfStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ForStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Function

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for GetterProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Ident

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for IfStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Import

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ImportDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ImportNamedSpecifier

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Invalid

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXAttr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXAttrName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXAttrOrSpread

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXAttrValue

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXClosingElement

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXClosingFragment

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXElement

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXElementChild

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXElementName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXEmptyExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXExprContainer

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXFragment

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXMemberExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXNamespacedName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXObject

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXOpeningElement

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXOpeningFragment

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXSpreadChild

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for JSXText

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Key

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for KeyValuePatProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for KeyValueProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for LabeledStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Lit

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for MemberExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for MetaPropExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for MethodProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Module

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ModuleDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ModuleExportName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ModuleItem

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for NamedExport

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for NewExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Number

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ObjectLit

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ObjectPat

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ObjectPatProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for OptChainExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Param

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ParamOrTsParamProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ParenExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Pat

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for PrivateMethod

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for PrivateName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for PrivateProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Program

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Prop

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for PropName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for PropOrSpread

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for RestPat

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ReturnStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Script

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for SeqExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for SetterProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for SimpleAssignTarget

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for SpreadElement

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for StaticBlock

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Stmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Str

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Super

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for SuperPropExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for SwitchCase

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for SwitchStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TaggedTpl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ThisExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for ThrowStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for Tpl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TplElement

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TryStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsArrayType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsAsExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsCallSignatureDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsConditionalType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsConstAssertion

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsConstructSignatureDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsConstructorType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsEntityName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsEnumDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsEnumMember

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsEnumMemberId

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsExportAssignment

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsExprWithTypeArgs

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsExternalModuleRef

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsFnOrConstructorType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsFnParam

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsFnType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsGetterSignature

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsImportEqualsDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsImportType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsIndexSignature

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsIndexedAccessType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsInferType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsInstantiation

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsInterfaceBody

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsInterfaceDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsIntersectionType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsKeywordType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsLit

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsLitType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsMappedType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsMethodSignature

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsModuleBlock

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsModuleDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsModuleName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsModuleRef

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsNamespaceBody

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsNamespaceDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsNamespaceExportDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsNonNullExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsOptionalType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsParamProp

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsParamPropParam

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsParenthesizedType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsPropertySignature

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsQualifiedName

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsRestType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsSatisfiesExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsSetterSignature

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsThisType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsThisTypeOrIdent

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTplLitType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTupleElement

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTupleType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeAliasDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeAnn

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeAssertion

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeElement

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeLit

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeOperator

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeParam

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeParamDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeParamInstantiation

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypePredicate

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeQuery

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeQueryExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsTypeRef

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsUnionOrIntersectionType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for TsUnionType

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for UnaryExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for UpdateExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for UsingDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for VarDecl

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for VarDeclOrExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for VarDeclarator

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for WhileStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for WithStmt

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl Node for YieldExpr

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapperExt + SourceMapper,

source§

impl<'a, N: Node> Node for &'a N

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapper + SourceMapperExt,

source§

impl<N> Node for Option<N>
where N: Node,

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapper + SourceMapperExt,

source§

impl<N: Node> Node for Box<N>

source§

fn emit_with<W, S>(&self, e: &mut Emitter<'_, W, S>) -> Result
where W: WriteJs, S: SourceMapper + SourceMapperExt,

Implementors§