summaryrefslogtreecommitdiff
path: root/src/ast/ast.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/ast.hpp')
-rw-r--r--src/ast/ast.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ast/ast.hpp b/src/ast/ast.hpp
index 775ed943..c1c9c283 100644
--- a/src/ast/ast.hpp
+++ b/src/ast/ast.hpp
@@ -268,6 +268,7 @@ public:
private:
Class m_fcn_class;
+ ::std::string m_lifetime;
TypeParams m_params;
Expr m_code;
TypeRef m_rettype;
@@ -285,6 +286,8 @@ public:
{
}
+ void set_self_lifetime(::std::string s) { m_lifetime = s; }
+
const Class fcn_class() const { return m_fcn_class; }
TypeParams& params() { return m_params; }