diff options
Diffstat (limited to 'tiger-compiler/src/ast/ast.hxx')
| -rw-r--r-- | tiger-compiler/src/ast/ast.hxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/ast.hxx b/tiger-compiler/src/ast/ast.hxx new file mode 100644 index 0000000..963aaba --- /dev/null +++ b/tiger-compiler/src/ast/ast.hxx @@ -0,0 +1,18 @@ +/** + ** \file ast/ast.hxx + ** \brief Inline methods of ast::Ast. + */ + +#pragma once + +#include <ast/ast.hh> + +namespace ast +{ + inline const Location& Ast::location_get() const { return location_; } + inline void Ast::location_set(const Location& location) + { + location_ = location; + } + +} // namespace ast |
