Struct swc::PassBuilder [−][src]
pub struct PassBuilder<'a, 'b, P: Fold> { /* fields omitted */ }
Expand description
Builder is used to create a high performance Compiler
.
Implementations
pub fn new(
cm: &'a Arc<SourceMap>,
handler: &'b Handler,
loose: bool,
global_mark: Mark,
pass: P
) -> Self
Note: hygiene is enabled by default.
If you pass None to this method, the hygiene
pass will be disabled.