feat(furvm): add frames function to executor
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
#include "furvm/module.hpp" // IWYU pragma: keep
|
#include "furvm/module.hpp" // IWYU pragma: keep
|
||||||
#include "furvm/thing.hpp" // IWYU pragma: keep
|
#include "furvm/thing.hpp" // IWYU pragma: keep
|
||||||
|
|
||||||
#include <optional>
|
|
||||||
#include <stack>
|
#include <stack>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -103,6 +102,8 @@ public:
|
|||||||
* @return The frame.
|
* @return The frame.
|
||||||
*/
|
*/
|
||||||
frame frame() const;
|
frame frame() const;
|
||||||
|
|
||||||
|
const std::stack<struct frame>& frames() const { return m_frames; }
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* @brief Pushes a thing handle onto the stack.
|
* @brief Pushes a thing handle onto the stack.
|
||||||
|
|||||||
Reference in New Issue
Block a user