Struct swc_ecma_codegen::Emitter
source ·
[−]pub struct Emitter<'a, W> where
W: WriteJs, {
pub cfg: Config,
pub cm: Lrc<SourceMap>,
pub comments: Option<&'a dyn Comments>,
pub wr: W,
}
Fields
cfg: Config
cm: Lrc<SourceMap>
comments: Option<&'a dyn Comments>
wr: W
Implementations
1..toString
is a valid property access, emit a dot after the literal
Statements
Auto Trait Implementations
impl<'a, W> !RefUnwindSafe for Emitter<'a, W>
impl<'a, W> !UnwindSafe for Emitter<'a, W>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more