Skip to content

Commit

Permalink
feat(ecmascript): add constant_evaluation and side_effects code (#6550)
Browse files Browse the repository at this point in the history
I intend to move most of the constant evaluation code into the crate.
  • Loading branch information
Boshen committed Oct 15, 2024
1 parent 77ddab8 commit e561880
Show file tree
Hide file tree
Showing 15 changed files with 475 additions and 201 deletions.
2 changes: 1 addition & 1 deletion crates/oxc_ecmascript/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ doctest = false
[dependencies]
oxc_ast = { workspace = true }
oxc_span = { workspace = true }
oxc_syntax = { workspace = true }
oxc_syntax = { workspace = true, features = ["to_js_string"] }

num-bigint = { workspace = true }
num-traits = { workspace = true }
171 changes: 0 additions & 171 deletions crates/oxc_ecmascript/src/constant_evaluation.rs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(clippy::wildcard_imports)]
use oxc_ast::ast::*;

/// Returns true if this is a literal value. We define a literal value as any node that evaluates
Expand Down
Loading

0 comments on commit e561880

Please sign in to comment.