Struct swc_ecma_codegen::text_writer::JsWriter [−][src]
pub struct JsWriter<'a, W: Write> { /* fields omitted */ }
Expand description
Ported from createTextWriter
of the typescript compiler.
https://github.com/Microsoft/TypeScript/blob/45eaf42006/src/compiler/utilities.ts#L2548
Implementations
Trait Implementations
Returns javascript target which should be used while generating code. Read more
This may write semicolon.
Auto Trait Implementations
impl<'a, W> RefUnwindSafe for JsWriter<'a, W> where
W: RefUnwindSafe,
impl<'a, W> !UnwindSafe for JsWriter<'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