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