/** ** \file ast/escapable.hh ** \brief Declaration of ast::Escapable. */ #pragma once #include namespace ast { /// Escapable. class Escapable { // FIXME DONE: Some code was deleted here. public: // Returns whether the object is escaped bool escape_get() const; // Sets the escaped status of the object void escape_set(bool escaped); // Return definition site. FunctionDec* def_get() const; // Set definition site. void def_set(FunctionDec*); private: bool escaping_ = true; FunctionDec* def_ = nullptr; }; } // namespace ast #include