summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/int-exp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/ast/int-exp.hxx')
-rw-r--r--tiger-compiler/src/ast/int-exp.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/int-exp.hxx b/tiger-compiler/src/ast/int-exp.hxx
new file mode 100644
index 0000000..0308ba7
--- /dev/null
+++ b/tiger-compiler/src/ast/int-exp.hxx
@@ -0,0 +1,15 @@
+/**
+ ** \file ast/int-exp.hxx
+ ** \brief Inline methods of ast::IntExp.
+ */
+
+#pragma once
+
+#include <ast/int-exp.hh>
+
+namespace ast
+{
+
+ inline int IntExp::value_get() const { return value_; }
+
+} // namespace ast