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

This may write semicolon.

Returns javascript target which should be used while generating code. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.