/** ** \file type/method.hxx ** \brief Inline methods for type::Method. */ #pragma once namespace type { inline misc::symbol Method::name_get() const { return name_; } inline const Class* Method::owner_get() const { return owner_; } inline const Type& Method::type_get() const { // FIXME DONE: Some code was deleted here. return *def_->type_get(); } inline const ast::MethodDec* Method::def_get() const { return def_; } inline ast::MethodDec* Method::def_get() { return def_; } inline void Method::name_set(misc::symbol name) { name_ = name; } inline void Method::def_set(ast::MethodDec* def) { def_ = def; } } // namespace type