Trait 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,

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 Node for ArrayLit

Source§

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

Source§

impl Node for ArrayPat

Source§

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

Source§

impl Node for ArrowExpr

Source§

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

Source§

impl Node for AssignExpr

Source§

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

Source§

impl Node for AssignPat

Source§

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

Source§

impl Node for AssignPatProp

Source§

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

Source§

impl Node for AssignProp

Source§

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

Source§

impl Node for AssignTarget

Source§

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

Source§

impl Node for AssignTargetPat

Source§

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

Source§

impl Node for AutoAccessor

Source§

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

Source§

impl Node for AwaitExpr

Source§

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

Source§

impl Node for BigInt

Source§

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

Source§

impl Node for BinExpr

Source§

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

Source§

impl Node for BindingIdent

Source§

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

Source§

impl Node for BlockStmt

Source§

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

Source§

impl Node for BlockStmtOrExpr

Source§

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

Source§

impl Node for Bool

Source§

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

Source§

impl Node for BreakStmt

Source§

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

Source§

impl Node for CallExpr

Source§

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

Source§

impl Node for Callee

Source§

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

Source§

impl Node for CatchClause

Source§

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

Source§

impl Node for Class

Source§

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

Source§

impl Node for ClassDecl

Source§

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

Source§

impl Node for ClassExpr

Source§

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

Source§

impl Node for ClassMember

Source§

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

Source§

impl Node for ClassMethod

Source§

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

Source§

impl Node for ClassProp

Source§

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

Source§

impl Node for ComputedPropName

Source§

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

Source§

impl Node for CondExpr

Source§

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

Source§

impl Node for Constructor

Source§

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

Source§

impl Node for ContinueStmt

Source§

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

Source§

impl Node for DebuggerStmt

Source§

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

Source§

impl Node for Decl

Source§

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

Source§

impl Node for Decorator

Source§

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

Source§

impl Node for DoWhileStmt

Source§

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

Source§

impl Node for EmptyStmt

Source§

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

Source§

impl Node for ExportAll

Source§

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

Source§

impl Node for ExportDecl

Source§

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

Source§

impl Node for ExportDefaultDecl

Source§

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

Source§

impl Node for ExportDefaultExpr

Source§

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

Source§

impl Node for ExportNamedSpecifier

Source§

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

Source§

impl Node for ExportNamespaceSpecifier

Source§

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

Source§

impl Node for ExportSpecifier

Source§

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

Source§

impl Node for Expr

Source§

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

Source§

impl Node for ExprOrSpread

Source§

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

Source§

impl Node for ExprStmt

Source§

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

Source§

impl Node for FnDecl

Source§

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

Source§

impl Node for FnExpr

Source§

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

Source§

impl Node for ForHead

Source§

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

Source§

impl Node for ForInStmt

Source§

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

Source§

impl Node for ForOfStmt

Source§

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

Source§

impl Node for ForStmt

Source§

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

Source§

impl Node for GetterProp

Source§

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

Source§

impl Node for Ident

Source§

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

Source§

impl Node for IdentName

Source§

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

Source§

impl Node for IfStmt

Source§

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

Source§

impl Node for Import

Source§

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

Source§

impl Node for ImportDecl

Source§

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

Source§

impl Node for ImportNamedSpecifier

Source§

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

Source§

impl Node for Invalid

Source§

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

Source§

impl Node for JSXAttr

Source§

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

Source§

impl Node for JSXAttrName

Source§

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

Source§

impl Node for JSXAttrOrSpread

Source§

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

Source§

impl Node for JSXAttrValue

Source§

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

Source§

impl Node for JSXClosingElement

Source§

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

Source§

impl Node for JSXClosingFragment

Source§

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

Source§

impl Node for JSXElement

Source§

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

Source§

impl Node for JSXElementChild

Source§

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

Source§

impl Node for JSXElementName

Source§

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

Source§

impl Node for JSXEmptyExpr

Source§

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

Source§

impl Node for JSXExpr

Source§

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

Source§

impl Node for JSXExprContainer

Source§

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

Source§

impl Node for JSXFragment

Source§

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

Source§

impl Node for JSXMemberExpr

Source§

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

Source§

impl Node for JSXNamespacedName

Source§

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

Source§

impl Node for JSXObject

Source§

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

Source§

impl Node for JSXOpeningElement

Source§

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

Source§

impl Node for JSXOpeningFragment

Source§

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

Source§

impl Node for JSXSpreadChild

Source§

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

Source§

impl Node for JSXText

Source§

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

Source§

impl Node for Key

Source§

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

Source§

impl Node for KeyValuePatProp

Source§

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

Source§

impl Node for KeyValueProp

Source§

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

Source§

impl Node for LabeledStmt

Source§

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

Source§

impl Node for Lit

Source§

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

Source§

impl Node for MemberExpr

Source§

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

Source§

impl Node for MetaPropExpr

Source§

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

Source§

impl Node for MethodProp

Source§

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

Source§

impl Node for Module

Source§

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

Source§

impl Node for ModuleDecl

Source§

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

Source§

impl Node for ModuleExportName

Source§

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

Source§

impl Node for ModuleItem

Source§

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

Source§

impl Node for NamedExport

Source§

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

Source§

impl Node for NewExpr

Source§

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

Source§

impl Node for Number

Source§

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

Source§

impl Node for ObjectLit

Source§

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

Source§

impl Node for ObjectPat

Source§

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

Source§

impl Node for ObjectPatProp

Source§

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

Source§

impl Node for OptChainExpr

Source§

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

Source§

impl Node for Param

Source§

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

Source§

impl Node for ParamOrTsParamProp

Source§

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

Source§

impl Node for ParenExpr

Source§

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

Source§

impl Node for Pat

Source§

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

Source§

impl Node for PrivateMethod

Source§

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

Source§

impl Node for PrivateName

Source§

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

Source§

impl Node for PrivateProp

Source§

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

Source§

impl Node for Program

Source§

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

Source§

impl Node for Prop

Source§

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

Source§

impl Node for PropName

Source§

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

Source§

impl Node for PropOrSpread

Source§

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

Source§

impl Node for RestPat

Source§

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

Source§

impl Node for ReturnStmt

Source§

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

Source§

impl Node for Script

Source§

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

Source§

impl Node for SeqExpr

Source§

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

Source§

impl Node for SetterProp

Source§

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

Source§

impl Node for SimpleAssignTarget

Source§

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

Source§

impl Node for SpreadElement

Source§

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

Source§

impl Node for StaticBlock

Source§

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

Source§

impl Node for Stmt

Source§

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

Source§

impl Node for Str

Source§

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

Source§

impl Node for Super

Source§

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

Source§

impl Node for SuperPropExpr

Source§

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

Source§

impl Node for SwitchCase

Source§

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

Source§

impl Node for SwitchStmt

Source§

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

Source§

impl Node for TaggedTpl

Source§

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

Source§

impl Node for ThisExpr

Source§

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

Source§

impl Node for ThrowStmt

Source§

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

Source§

impl Node for Tpl

Source§

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

Source§

impl Node for TplElement

Source§

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

Source§

impl Node for TryStmt

Source§

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

Source§

impl Node for TsArrayType

Source§

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

Source§

impl Node for TsAsExpr

Source§

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

Source§

impl Node for TsCallSignatureDecl

Source§

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

Source§

impl Node for TsConditionalType

Source§

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

Source§

impl Node for TsConstAssertion

Source§

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

Source§

impl Node for TsConstructSignatureDecl

Source§

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

Source§

impl Node for TsConstructorType

Source§

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

Source§

impl Node for TsEntityName

Source§

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

Source§

impl Node for TsEnumDecl

Source§

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

Source§

impl Node for TsEnumMember

Source§

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

Source§

impl Node for TsEnumMemberId

Source§

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

Source§

impl Node for TsExportAssignment

Source§

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

Source§

impl Node for TsExprWithTypeArgs

Source§

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

Source§

impl Node for TsExternalModuleRef

Source§

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

Source§

impl Node for TsFnOrConstructorType

Source§

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

Source§

impl Node for TsFnParam

Source§

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

Source§

impl Node for TsFnType

Source§

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

Source§

impl Node for TsGetterSignature

Source§

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

Source§

impl Node for TsImportCallOptions

Source§

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

Source§

impl Node for TsImportEqualsDecl

Source§

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

Source§

impl Node for TsImportType

Source§

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

Source§

impl Node for TsIndexSignature

Source§

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

Source§

impl Node for TsIndexedAccessType

Source§

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

Source§

impl Node for TsInferType

Source§

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

Source§

impl Node for TsInstantiation

Source§

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

Source§

impl Node for TsInterfaceBody

Source§

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

Source§

impl Node for TsInterfaceDecl

Source§

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

Source§

impl Node for TsIntersectionType

Source§

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

Source§

impl Node for TsKeywordType

Source§

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

Source§

impl Node for TsLit

Source§

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

Source§

impl Node for TsLitType

Source§

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

Source§

impl Node for TsMappedType

Source§

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

Source§

impl Node for TsMethodSignature

Source§

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

Source§

impl Node for TsModuleBlock

Source§

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

Source§

impl Node for TsModuleDecl

Source§

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

Source§

impl Node for TsModuleName

Source§

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

Source§

impl Node for TsModuleRef

Source§

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

Source§

impl Node for TsNamespaceBody

Source§

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

Source§

impl Node for TsNamespaceDecl

Source§

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

Source§

impl Node for TsNamespaceExportDecl

Source§

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

Source§

impl Node for TsNonNullExpr

Source§

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

Source§

impl Node for TsOptionalType

Source§

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

Source§

impl Node for TsParamProp

Source§

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

Source§

impl Node for TsParamPropParam

Source§

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

Source§

impl Node for TsParenthesizedType

Source§

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

Source§

impl Node for TsPropertySignature

Source§

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

Source§

impl Node for TsQualifiedName

Source§

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

Source§

impl Node for TsRestType

Source§

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

Source§

impl Node for TsSatisfiesExpr

Source§

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

Source§

impl Node for TsSetterSignature

Source§

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

Source§

impl Node for TsThisType

Source§

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

Source§

impl Node for TsThisTypeOrIdent

Source§

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

Source§

impl Node for TsTplLitType

Source§

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

Source§

impl Node for TsTupleElement

Source§

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

Source§

impl Node for TsTupleType

Source§

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

Source§

impl Node for TsType

Source§

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

Source§

impl Node for TsTypeAliasDecl

Source§

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

Source§

impl Node for TsTypeAnn

Source§

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

Source§

impl Node for TsTypeAssertion

Source§

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

Source§

impl Node for TsTypeElement

Source§

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

Source§

impl Node for TsTypeLit

Source§

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

Source§

impl Node for TsTypeOperator

Source§

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

Source§

impl Node for TsTypeParam

Source§

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

Source§

impl Node for TsTypeParamDecl

Source§

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

Source§

impl Node for TsTypeParamInstantiation

Source§

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

Source§

impl Node for TsTypePredicate

Source§

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

Source§

impl Node for TsTypeQuery

Source§

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

Source§

impl Node for TsTypeQueryExpr

Source§

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

Source§

impl Node for TsTypeRef

Source§

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

Source§

impl Node for TsUnionOrIntersectionType

Source§

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

Source§

impl Node for TsUnionType

Source§

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

Source§

impl Node for UnaryExpr

Source§

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

Source§

impl Node for UpdateExpr

Source§

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

Source§

impl Node for UsingDecl

Source§

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

Source§

impl Node for VarDecl

Source§

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

Source§

impl Node for VarDeclOrExpr

Source§

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

Source§

impl Node for VarDeclarator

Source§

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

Source§

impl Node for WhileStmt

Source§

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

Source§

impl Node for WithStmt

Source§

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

Source§

impl Node for YieldExpr

Source§

fn emit_with<W, S>(&self, emitter: &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 &N

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§