oxc/crates/oxc_parser/src/state.rs

10 lines
198 B
Rust

use rustc_hash::FxHashSet;
use oxc_ast::ast::Decorator;
#[derive(Default)]
pub struct ParserState<'a> {
pub not_parenthesized_arrow: FxHashSet<u32>,
pub decorators: Vec<Decorator<'a>>,
}