mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 12:51:57 +00:00
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.
21 lines
432 B
Rust
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;
|
|
}
|