Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    rdaf1af8 r67cf18c  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Thu Mar  8 16:36:00 2017
    13 // Update Count     : 23
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Thu Mar 30 16:45:19 2017
     13// Update Count     : 22
    1414//
    1515
     
    153153}
    154154
    155 Statement *Mutator::mutate( ThrowStmt *throwStmt ) {
    156         throwStmt->set_expr( maybeMutate( throwStmt->get_expr(), *this ) );
    157         throwStmt->set_target( maybeMutate( throwStmt->get_target(), *this ) );
    158         return throwStmt;
    159 }
    160 
    161155Statement *Mutator::mutate( TryStmt *tryStmt ) {
    162156        tryStmt->set_block( maybeMutate( tryStmt->get_block(), *this ) );
     
    414408}
    415409
     410Expression *Mutator::mutate( MemberTupleExpr *tupleExpr ) {
     411        tupleExpr->set_env( maybeMutate( tupleExpr->get_env(), *this ) );
     412        tupleExpr->set_result( maybeMutate( tupleExpr->get_result(), *this ) );
     413        tupleExpr->set_member( maybeMutate( tupleExpr->get_member(), *this ) );
     414        tupleExpr->set_aggregate( maybeMutate( tupleExpr->get_aggregate(), *this ) );
     415        return tupleExpr;
     416}
     417
    416418Expression *Mutator::mutate( TupleAssignExpr *assignExpr ) {
    417419        assignExpr->set_env( maybeMutate( assignExpr->get_env(), *this ) );
Note: See TracChangeset for help on using the changeset viewer.