aboutsummaryrefslogtreecommitdiffstats
path: root/AST_accept.h
diff options
context:
space:
mode:
Diffstat (limited to 'AST_accept.h')
-rw-r--r--AST_accept.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/AST_accept.h b/AST_accept.h
index 173273c6..e0454d33 100644
--- a/AST_accept.h
+++ b/AST_accept.h
@@ -419,6 +419,26 @@ void FunctionCall::accept(ASTConstVisitor& _visitor) const
_visitor.endVisit(*this);
}
+void NewExpression::accept(ASTVisitor& _visitor)
+{
+ if (_visitor.visit(*this))
+ {
+ m_contractName->accept(_visitor);
+ listAccept(m_arguments, _visitor);
+ }
+ _visitor.endVisit(*this);
+}
+
+void NewExpression::accept(ASTConstVisitor& _visitor) const
+{
+ if (_visitor.visit(*this))
+ {
+ m_contractName->accept(_visitor);
+ listAccept(m_arguments, _visitor);
+ }
+ _visitor.endVisit(*this);
+}
+
void MemberAccess::accept(ASTVisitor& _visitor)
{
if (_visitor.visit(*this))