11#ifndef ARK_VM_VALUE_CLOSURESCOPE_HPP
12#define ARK_VM_VALUE_CLOSURESCOPE_HPP
42 void push_back(uint16_t
id,
Value&& val);
50 void push_back(uint16_t
id, const
Value& val);
52 Value* operator[](uint16_t id_to_look_for);
66 std::vector<std::pair<uint16_t,
Value>> m_data;
Default value type handled by the virtual machine.
A class to store fields captured by a closure.
ClosureScope() noexcept=default
Create a new ClosureScope.
A class to handle the VM scope more efficiently.