mirror of
https://github.com/danbulant/oxc
synced 2026-05-22 13:48:55 +00:00
Add `SemanticBuilder::with_excess_capacity` method to request that `SemanticBuilder` over-allocate space in `Semantic`'s `Vec`s. Use this method to reserve 200% extra capacity for transformer to create more scopes, symbols and references. 200% is an unscientific guess of how much extra capacity is required. Obviously it depends on what transforms are enabled and content of the source code. |
||
|---|---|---|
| .. | ||
| codegen.rs | ||
| isolated_declarations.rs | ||
| lexer.rs | ||
| linter.rs | ||
| minifier.rs | ||
| parser.rs | ||
| parser_napi.rs | ||
| prettier.rs | ||
| semantic.rs | ||
| sourcemap.rs | ||
| transformer.rs | ||