oxc/crates/oxc_syntax/src
overlookmotel 3858221f45 refactor(global): sort imports (#7883)
Pure refactor. Re-order imports for clarity:

1. `std`
2. External crates
3. `oxc_*` crates
4. Current crate `use crate::...`
5. Super `use super::...`
6. Local modules

This order is from "furthest away" to "closest". This makes it clearer to see what is coming from where.

`cargo +nightly fmt` (#7877) did a lot of the work, but unfortunately `rustfmt` does not have an option to (a) put workspace crates in a separate block from external crates and (b) move `mod` statements to after `use` statements.
2024-12-14 15:07:21 +00:00
..
generated perf(syntax): reorder operator enum variants (#7351) 2024-11-19 01:23:28 +00:00
class.rs
identifier.rs fix(identifier): add ZWSP to is_irregular_whitespace (#6662) 2024-10-18 22:20:02 +00:00
keyword.rs
lib.rs feat(parser,linter)!: use a different ModuleRecord for linter (#7554) 2024-11-30 16:02:01 +00:00
module_record.rs refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
node.rs feat(parser)!: Build ModuleRecord directly in parser (#7546) 2024-11-29 14:50:42 +00:00
number.rs
operator.rs refactor(semantic, syntax, wasm): remove #![allow(non_snake_case)] (#7863) 2024-12-14 01:52:32 +00:00
precedence.rs
reference.rs docs(syntax): more comments for ReferenceFlags (#7392) 2024-11-21 11:20:28 +00:00
scope.rs
symbol.rs refactor(semantic): improve the logic of resolving references to be cleaner (#7829) 2024-12-13 09:08:44 +00:00
xml_entities.rs