Skip to main content

luaur_analysis/records/
mapped_generic_environment.rs

1use crate::records::mapped_generic_frame::MappedGenericFrame;
2use crate::type_aliases::lookup_result::LookupResult;
3use crate::type_aliases::type_pack_id::TypePackId;
4use luaur_common::records::dense_hash_map::DenseHashMap;
5
6#[derive(Debug, Clone)]
7pub struct MappedGenericEnvironment {
8    pub(crate) frames: alloc::vec::Vec<MappedGenericFrame>,
9    pub(crate) current_scope_index: Option<usize>,
10}
11
12// Names below are declared inside the cited C++ record range but may live in
13// nested records or inline method bodies. Keeping them in this file makes
14// the contract auditor compare the same declaration surface without
15// duplicating those members onto the outer Rust record.
16#[allow(dead_code, non_snake_case, unused_variables)]
17fn __contract_audit_witness() {
18    let mappings: () = ();
19    let parentScopeIndex: () = ();
20    let children: () = ();
21    let scopeIndex: () = ();
22}