Changes in src/SynTree/Visitor.cc [8688ce1:89e6ffc]
- File:
-
- 1 edited
-
src/SynTree/Visitor.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r8688ce1 r89e6ffc 287 287 } 288 288 289 void Visitor::visit( UntypedValofExpr *valofExpr ) {290 acceptAll( valofExpr->get_results(), *this );291 maybeAccept( valofExpr->get_body(), *this );289 void Visitor::visit( ConstructorExpr * ctorExpr ) { 290 acceptAll( ctorExpr->get_results(), *this ); 291 maybeAccept( ctorExpr->get_callExpr(), *this ); 292 292 } 293 293 … … 296 296 maybeAccept( compLitExpr->get_type(), *this ); 297 297 maybeAccept( compLitExpr->get_initializer(), *this ); 298 } 299 300 void Visitor::visit( UntypedValofExpr *valofExpr ) { 301 acceptAll( valofExpr->get_results(), *this ); 302 maybeAccept( valofExpr->get_body(), *this ); 298 303 } 299 304 … … 378 383 } 379 384 385 void Visitor::visit( ZeroType *zeroType ) { 386 acceptAll( zeroType->get_forall(), *this ); 387 } 388 389 void Visitor::visit( OneType *oneType ) { 390 acceptAll( oneType->get_forall(), *this ); 391 } 392 380 393 void Visitor::visit( SingleInit *singleInit ) { 381 394 singleInit->get_value()->accept( *this );
Note:
See TracChangeset
for help on using the changeset viewer.