Skip to content

Commit d6566ee

Browse files
authored
refactor(es/compat): Initialize compiler API (#10902)
**Description:** The compiler should merge all syntax lowering transforms
1 parent c5dcb94 commit d6566ee

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

Cargo.lock

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
3+
description = "Compatibility layer for the ECMAScript standard"
4+
documentation = "https://rustdoc.swc.rs/swc_ecma_compiler/"
5+
edition = { workspace = true }
6+
include = ["Cargo.toml", "src/**/*.rs"]
7+
license = { workspace = true }
8+
name = "swc_ecma_compiler"
9+
repository = { workspace = true }
10+
version = "0.1.0"
11+
12+
[dependencies]
13+
swc_ecma_ast = { version = "14.0.0", path = "../swc_ecma_ast" }
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
use swc_ecma_ast::Pass;
2+
3+
#[derive(Debug)]
4+
pub struct Compiler {}
5+
6+
impl Pass for Compiler {
7+
fn process(&mut self, _program: &mut swc_ecma_ast::Program) {}
8+
}

0 commit comments

Comments
 (0)