9        m_data.emplace_back(
id, std::move(val));
 
 
   14        m_data.emplace_back(
id, val);
 
 
   19        for (
auto& [
id, value] : 
m_data)
 
   21            if (
id == id_to_look_for)
 
 
   29        for (
auto& [
id, value] : 
m_data)
 
 
   40        return A.m_data == B.m_data;
 
 
Subtype of the value type, handling closures.
 
A class to store fields captured by a closure.
 
void push_back(uint16_t id, Value &&val)
Put a value in the scope.
 
std::vector< std::pair< uint16_t, Value > > m_data
 
Value * operator[](uint16_t id_to_look_for)
 
void mergeRefInto(ScopeView &other)
Merge values from this scope as refs in the other scope.
 
A class to handle the VM scope more efficiently.
 
void pushBack(uint16_t id, Value &&val) noexcept
Put a value in the scope.
 
bool operator==(const Namespace &A, const Namespace &B)