refactor(transformer): re-order imports (#5499)

Style nit. Re-order imports to make it clearer what types are external/internal to crate.
This commit is contained in:
overlookmotel 2024-09-05 16:04:42 +00:00
parent 6abde0a69f
commit a96866d951

View file

@ -40,11 +40,8 @@
//! - @babel/plugin-transform-unicode-sets-regex: <https://babeljs.io/docs/en/babel-plugin-proposal-unicode-sets-regex>
//! - TC39 Proposal: <https://github.com/tc39/proposal-regexp-set-notation>
mod options;
use std::borrow::Cow;
pub use options::RegExpOptions;
use oxc_ast::ast::*;
use oxc_diagnostics::Result;
use oxc_regular_expression::ast::{
@ -56,6 +53,9 @@ use oxc_traverse::{Traverse, TraverseCtx};
use crate::context::Ctx;
mod options;
pub use options::RegExpOptions;
pub struct RegExp<'a> {
ctx: Ctx<'a>,
unsupported_flags: RegExpFlags,