summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/ast/let-exp.hxx
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
committerMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
commit967be9e750221ab2ab783f95df79bb26d290a45e (patch)
tree6802900a5e975f9f68b169f0f503f040056d6952 /tiger-compiler/src/ast/let-exp.hxx
add: added projectsHEADmain
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