Changes in src/Common/PassVisitor.impl.h [d807ca28:cc32d83]
- File:
-
- 1 edited
-
src/Common/PassVisitor.impl.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
rd807ca28 rcc32d83 2073 2073 2074 2074 //-------------------------------------------------------------------------- 2075 // GenericExpr2076 template< typename pass_type >2077 void PassVisitor< pass_type >::visit( GenericExpr * node ) {2078 VISIT_START( node );2079 2080 indexerScopedAccept( node->result, *this );2081 maybeAccept_impl( node->control, *this );2082 for ( GenericExpr::Association & assoc : node->associations ) {2083 indexerScopedAccept( assoc.type, *this );2084 maybeAccept_impl( assoc.expr, *this );2085 }2086 2087 VISIT_END( node );2088 }2089 2090 template< typename pass_type >2091 Expression * PassVisitor< pass_type >::mutate( GenericExpr * node ) {2092 MUTATE_START( node );2093 2094 indexerScopedMutate( node->env, *this );2095 indexerScopedMutate( node->result, *this );2096 maybeMutate_impl( node->control, *this );2097 for ( GenericExpr::Association & assoc : node->associations ) {2098 indexerScopedMutate( assoc.type, *this );2099 maybeMutate_impl( assoc.expr, *this );2100 }2101 2102 MUTATE_END( Expression, node );2103 }2104 2105 //--------------------------------------------------------------------------2106 2075 // VoidType 2107 2076 template< typename pass_type >
Note:
See TracChangeset
for help on using the changeset viewer.