summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/let-exp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/ast/let-exp.hxx')
-rw-r--r--tiger-compiler/src/ast/let-exp.hxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/tiger-compiler/src/ast/let-exp.hxx b/tiger-compiler/src/ast/let-exp.hxx
new file mode 100644
index 0000000..9d6589c
--- /dev/null
+++ b/tiger-compiler/src/ast/let-exp.hxx
@@ -0,0 +1,19 @@
+/**
+ ** \file ast/let-exp.hxx
+ ** \brief Inline methods of ast::LetExp.
+ */
+
+#pragma once
+
+#include <ast/let-exp.hh>
+
+namespace ast
+{
+
+ inline const ChunkList& LetExp::chunks_get() const { return *chunks_; }
+ inline ChunkList& LetExp::chunks_get() { return *chunks_; }
+
+ inline const Exp& LetExp::body_get() const { return *body_; }
+ inline Exp& LetExp::body_get() { return *body_; }
+
+} // namespace ast