#pragma once #include "data.h" #include "minicc.h" #include #include #include namespace FlowGraph { class Storage; ///< Forward declaration // Provide a context for local temporaries name generation class LocalScope { public: LocalScope(); ~LocalScope(); void push_back(std::shared_ptr data); void append(const LocalScope& other); index_t indexOfData(const FlowGraph::Data& data) const; size_t size() const; private: std::vector> m_variables; }; }