summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/dec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/ast/dec.cc')
-rw-r--r--tiger-compiler/src/ast/dec.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/dec.cc b/tiger-compiler/src/ast/dec.cc
new file mode 100644
index 0000000..b19ed0b
--- /dev/null
+++ b/tiger-compiler/src/ast/dec.cc
@@ -0,0 +1,17 @@
+/**
+ ** \file ast/dec.cc
+ ** \brief Implementation of ast::Dec.
+ */
+
+#include <ast/dec.hh>
+#include <ast/visitor.hh>
+
+namespace ast
+{
+ Dec::Dec(const Location& location, misc::symbol name)
+ : Ast(location)
+ , Typable()
+ , name_(name)
+ {}
+
+} // namespace ast