Function deno_ast::emit

source ยท
pub fn emit(
    program: &Program,
    comments: &dyn Comments,
    source_map: &SourceMap,
    emit_options: &EmitOptions,
) -> Result<EmittedSourceBytes, EmitError>
Expand description

Emits the program as a string of JavaScript code, possibly with the passed comments, and optionally also a source map.