mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-27 12:11:12 +08:00
refactor: CompileCtx 状态族迁出 emit.rs 独立成 compile_ctx 模块
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
pub mod class;
|
||||
pub mod closure;
|
||||
mod compile_ctx;
|
||||
pub mod emit;
|
||||
pub mod emit_ctx;
|
||||
mod emit_log;
|
||||
@@ -17,7 +18,9 @@ pub mod shared;
|
||||
pub mod stmt;
|
||||
pub mod symbol_table;
|
||||
|
||||
pub use compile_ctx::CompileCtx;
|
||||
pub use emit::{is_anonymous_function_definition, is_int_literal, is_side_effect_free};
|
||||
pub use emit::{CompileCtx, Emitter, FunctionBodyContext, LabelScope, ParamSpec};
|
||||
pub use emit::{Emitter, FunctionBodyContext, ParamSpec};
|
||||
pub use emit_ctx::LabelScope;
|
||||
pub use oxide_bytecode::module::Constant;
|
||||
pub use oxide_parser::{AssignmentOperator, BinaryOperator, UnaryOperator};
|
||||
|
||||
Reference in New Issue
Block a user