Changes in src/SynTree/Visitor.cc [89e6ffc:8688ce1]
- File:
-
- 1 edited
-
src/SynTree/Visitor.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r89e6ffc r8688ce1 287 287 } 288 288 289 void Visitor::visit( ConstructorExpr * ctorExpr ) {290 acceptAll( ctorExpr->get_results(), *this );291 maybeAccept( ctorExpr->get_callExpr(), *this );289 void Visitor::visit( UntypedValofExpr *valofExpr ) { 290 acceptAll( valofExpr->get_results(), *this ); 291 maybeAccept( valofExpr->get_body(), *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 );303 298 } 304 299 … … 383 378 } 384 379 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 393 380 void Visitor::visit( SingleInit *singleInit ) { 394 381 singleInit->get_value()->accept( *this );
Note:
See TracChangeset
for help on using the changeset viewer.