Struct swc_ecma_codegen::Emitter[][src]

pub struct Emitter<'a> {
    pub cfg: Config,
    pub cm: Lrc<SourceMap>,
    pub comments: Option<&'a dyn Comments>,
    pub wr: Box<dyn WriteJs + 'a>,
}

Fields

cfg: Configcm: Lrc<SourceMap>comments: Option<&'a dyn Comments>wr: Box<dyn WriteJs + 'a>

Implementations

1..toString is a valid property access, emit a dot after the literal

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.