luaur_analysis/methods/
quantifier_quantifier.rs1use crate::records::quantifier::Quantifier;
2use crate::records::type_level::TypeLevel;
3
4impl Quantifier {
5 pub fn quantifier(level: TypeLevel) -> Self {
6 Quantifier {
7 base: crate::records::type_once_visitor::TypeOnceVisitor::new(
8 "Quantifier".to_string(),
9 false,
10 ),
11 level,
12 generics: alloc::vec::Vec::new(),
13 generic_packs: alloc::vec::Vec::new(),
14 scope: core::ptr::null_mut(),
15 seen_generic_type: false,
16 seen_mutable_type: false,
17 }
18 }
19}