summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/dec.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/ast/dec.hxx')
-rw-r--r--tiger-compiler/src/ast/dec.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/dec.hxx b/tiger-compiler/src/ast/dec.hxx
new file mode 100644
index 0000000..f3c12f5
--- /dev/null
+++ b/tiger-compiler/src/ast/dec.hxx
@@ -0,0 +1,15 @@
+/**
+ ** \file ast/dec.hxx
+ ** \brief Inline methods of ast::Dec.
+ */
+
+#pragma once
+
+#include <ast/dec.hh>
+
+namespace ast
+{
+ inline misc::symbol Dec::name_get() const { return name_; }
+ inline void Dec::name_set(misc::symbol name) { name_ = name; }
+
+} // namespace ast