Skip to content

Commit 2b79f16

Browse files
committed
refactor(ast): oxc_ast crate re-export AST types from other crates
1 parent 0816255 commit 2b79f16

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

crates/oxc_ast/src/ast/mod.rs

+9
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,12 @@ mod ts;
183183
use macros::inherit_variants;
184184

185185
pub use self::{js::*, jsx::*, literal::*, ts::*};
186+
187+
// Re-export AST types from other crates
188+
pub use oxc_span::{Atom, Language, LanguageVariant, ModuleKind, SourceType, Span};
189+
pub use oxc_syntax::{
190+
number::{BigintBase, NumberBase},
191+
operator::{
192+
AssignmentOperator, BinaryOperator, LogicalOperator, UnaryOperator, UpdateOperator,
193+
},
194+
};

0 commit comments

Comments
 (0)