diff options
Diffstat (limited to 'tiger-compiler/src/ast/type-dec.hxx')
| -rw-r--r-- | tiger-compiler/src/ast/type-dec.hxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/type-dec.hxx b/tiger-compiler/src/ast/type-dec.hxx new file mode 100644 index 0000000..69dc086 --- /dev/null +++ b/tiger-compiler/src/ast/type-dec.hxx @@ -0,0 +1,16 @@ +/** + ** \file ast/type-dec.hxx + ** \brief Inline methods of ast::TypeDec. + */ + +#pragma once + +#include <ast/type-dec.hh> + +namespace ast +{ + + inline const Ty& TypeDec::ty_get() const { return *ty_; } + inline Ty& TypeDec::ty_get() { return *ty_; } + +} // namespace ast |
