diff options
Diffstat (limited to 'tiger-compiler/src/ast/type-constructor.hxx')
| -rw-r--r-- | tiger-compiler/src/ast/type-constructor.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/type-constructor.hxx b/tiger-compiler/src/ast/type-constructor.hxx new file mode 100644 index 0000000..86933f3 --- /dev/null +++ b/tiger-compiler/src/ast/type-constructor.hxx @@ -0,0 +1,23 @@ +/** + ** \file ast/type-constructor.hxx + ** \brief Inline methods of ast::TypeConstructor. + */ + +#pragma once + +#include <ast/type-constructor.hh> +#include <type/types.hh> + +namespace ast +{ + // FIXME DONE: Some code was deleted here. + inline void TypeConstructor::created_type_set(const type::Type* typ) + { + reference_ = typ; + } + + inline const type::Type* TypeConstructor::created_type_get() const + { + return reference_; + } +} // namespace ast |
