summaryrefslogtreecommitdiff
path: root/src/ast/expr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/expr.hpp')
-rw-r--r--src/ast/expr.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/expr.hpp b/src/ast/expr.hpp
index 1ebd3090..340d0bb2 100644
--- a/src/ast/expr.hpp
+++ b/src/ast/expr.hpp
@@ -358,6 +358,7 @@ public:
{
}
+ ::std::shared_ptr<ExprNode> take_node() { return ::std::move(m_node); }
void visit_nodes(NodeVisitor& v);
friend ::std::ostream& operator<<(::std::ostream& os, const Expr& pat);