oxc/crates/oxc_syntax/src/lib.rs
Boshen c2ced15dfd feat(parser,linter)!: use a different ModuleRecord for linter (#7554)
The parser returns a simple `ModuleRecord` that is allocated in the arena for performance reasons.

The linter uses a more complicated, `Send` + `Sync` `ModuleRecord` that will hold more cross-module information.

The next step is to return more esm information from the parser to eliminated the need of the `oxc_module_lexer` crate.
2024-11-30 16:02:01 +00:00

21 lines
432 B
Rust

//! Common code for JavaScript Syntax
#![warn(missing_docs)]
pub mod class;
pub mod identifier;
pub mod keyword;
pub mod module_record;
pub mod node;
pub mod number;
pub mod operator;
pub mod precedence;
pub mod reference;
pub mod scope;
pub mod symbol;
pub mod xml_entities;
mod generated {
mod derive_clone_in;
mod derive_content_eq;
mod derive_content_hash;
#[cfg(feature = "serialize")]
mod derive_estree;
}