oxc/tasks/ast_tools
overlookmotel d8b27afc35 refactor(ast)!: no unneccesary trailing underscores on AstBuilder method names (#8283)
`AstBuilder` method names have an `_` added on end if method name is not a valid identifier (e.g. `super`). But no need for trailing underscore on `alloc_super`.

Currently this only applies to `super`. But future-proof by checking against all Rust's reserved words.

This is a breaking change, because `alloc_super` method was previously called `alloc_super_`. But probably no-one uses that method anyway - usually you'd use `expression_super` method to get an `Expression::Super`.
2025-01-06 15:09:05 +00:00
..
src refactor(ast)!: no unneccesary trailing underscores on AstBuilder method names (#8283) 2025-01-06 15:09:05 +00:00
Cargo.toml refactor(ast_tools): replace str::replace with CowUtils::cow_replace (#6954) 2024-10-28 00:23:34 +00:00