diff options
Diffstat (limited to 'flowgraph/scope.h')
-rw-r--r-- | flowgraph/scope.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/flowgraph/scope.h b/flowgraph/scope.h index 65898cf..3fc0fcc 100644 --- a/flowgraph/scope.h +++ b/flowgraph/scope.h @@ -16,11 +16,14 @@ namespace FlowGraph { class LocalScope { public: - LocalScope() = default; + LocalScope(); + ~LocalScope(); void push_back(std::shared_ptr<Data> data); void append(const LocalScope& other); - index_t indexOfStorage(const Storage& storage) const; + index_t indexOfData(const FlowGraph::Data& data) const; + + size_t size() const; private: std::vector<std::shared_ptr<Data>> m_variables; |