Changes in src/AST/Pass.impl.hpp [c86b08d:fac05b3]
- File:
-
- 1 edited
-
src/AST/Pass.impl.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.impl.hpp
rc86b08d rfac05b3 1066 1066 1067 1067 //-------------------------------------------------------------------------- 1068 // WhenClause1069 template< typename core_t >1070 const ast::WhenClause * ast::Pass< core_t >::visit( const ast::WhenClause * node ) {1071 VISIT_START( node );1072 1073 if ( __visit_children() ) {1074 maybe_accept( node, &WhenClause::target );1075 maybe_accept( node, &WhenClause::stmt );1076 maybe_accept( node, &WhenClause::when_cond );1077 }1078 1079 VISIT_END( WhenClause, node );1080 }1081 1082 //--------------------------------------------------------------------------1083 1068 // WaitForStmt 1084 1069 template< typename core_t > … … 1105 1090 1106 1091 if ( __visit_children() ) { 1107 maybe_accept( node, &WaitForClause::target );1092 maybe_accept( node, &WaitForClause::target_func ); 1108 1093 maybe_accept( node, &WaitForClause::target_args ); 1109 1094 maybe_accept( node, &WaitForClause::stmt ); 1110 maybe_accept( node, &WaitForClause:: when_cond );1095 maybe_accept( node, &WaitForClause::cond ); 1111 1096 } 1112 1097 1113 1098 VISIT_END( WaitForClause, node ); 1114 }1115 1116 //--------------------------------------------------------------------------1117 // WaitUntilStmt1118 template< typename core_t >1119 const ast::Stmt * ast::Pass< core_t >::visit( const ast::WaitUntilStmt * node ) {1120 VISIT_START( node );1121 1122 if ( __visit_children() ) {1123 maybe_accept( node, &WaitUntilStmt::clauses );1124 maybe_accept( node, &WaitUntilStmt::timeout_time );1125 maybe_accept( node, &WaitUntilStmt::timeout_stmt );1126 maybe_accept( node, &WaitUntilStmt::timeout_cond );1127 maybe_accept( node, &WaitUntilStmt::else_stmt );1128 maybe_accept( node, &WaitUntilStmt::else_cond );1129 }1130 1131 VISIT_END( Stmt, node );1132 1099 } 1133 1100 … … 2075 2042 if ( __visit_children() ) { 2076 2043 maybe_accept( node, &TupleType::types ); 2077 maybe_accept( node, &TupleType::members );2078 2044 } 2079 2045
Note:
See TracChangeset
for help on using the changeset viewer.