Index: src/SynTree/Visitor.cc
===================================================================
--- src/SynTree/Visitor.cc	(revision 6d49ea3165b7fb8906721da9a6f6949632d35140)
+++ src/SynTree/Visitor.cc	(revision 135b43118e38aa40c2f0cbfa16829e4b41313af7)
@@ -155,4 +155,20 @@
 }
 
+void Visitor::visit( WaitForStmt *waitforStmt ) {
+	for( auto & clause : waitforStmt->clauses ) {
+		maybeAccept( clause.target.function, *this );
+		acceptAll( clause.target.arguments, *this );
+
+		maybeAccept( clause.statement, *this );
+		maybeAccept( clause.condition, *this );
+	}
+
+	maybeAccept( waitforStmt->timeout.time, *this );
+	maybeAccept( waitforStmt->timeout.statement, *this );
+	maybeAccept( waitforStmt->timeout.condition, *this );
+	maybeAccept( waitforStmt->orelse.statement, *this );
+	maybeAccept( waitforStmt->orelse.condition, *this );
+}
+
 void Visitor::visit( __attribute__((unused)) NullStmt *nullStmt ) {
 }
