summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/var.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/ast/var.cc')
-rw-r--r--tiger-compiler/src/ast/var.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/var.cc b/tiger-compiler/src/ast/var.cc
new file mode 100644
index 0000000..6bea70c
--- /dev/null
+++ b/tiger-compiler/src/ast/var.cc
@@ -0,0 +1,15 @@
+/**
+ ** \file ast/var.cc
+ ** \brief Implementation of ast::Var.
+ */
+
+#include <ast/var.hh>
+#include <ast/visitor.hh>
+
+namespace ast
+{
+ Var::Var(const Location& location)
+ : Exp(location)
+ {}
+
+} // namespace ast