denoland / deno_ast

Source text parsing, lexing, and AST related functionality for Deno
https://crates.io/crates/deno_ast
MIT License
144 stars 43 forks source link

feat(BREAKING): consolidate to a single `transpile` method #239

Closed dsherret closed 3 months ago

dsherret commented 3 months ago

Follow up to https://github.com/denoland/deno_ast/pull/237

The result is an enum to ensure the caller thinks about it when transpiling while owned is a performance issue (but we'd rather not crash for it).

We can land this sometime in the future.