Changes in src/AST/Pass.impl.hpp [fac05b3:c86b08d]
- File:
-
- 1 edited
-
src/AST/Pass.impl.hpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.impl.hpp
rfac05b3 rc86b08d 1066 1066 1067 1067 //-------------------------------------------------------------------------- 1068 // WhenClause 1069 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 //-------------------------------------------------------------------------- 1068 1083 // WaitForStmt 1069 1084 template< typename core_t > … … 1090 1105 1091 1106 if ( __visit_children() ) { 1092 maybe_accept( node, &WaitForClause::target _func);1107 maybe_accept( node, &WaitForClause::target ); 1093 1108 maybe_accept( node, &WaitForClause::target_args ); 1094 1109 maybe_accept( node, &WaitForClause::stmt ); 1095 maybe_accept( node, &WaitForClause:: cond );1110 maybe_accept( node, &WaitForClause::when_cond ); 1096 1111 } 1097 1112 1098 1113 VISIT_END( WaitForClause, node ); 1114 } 1115 1116 //-------------------------------------------------------------------------- 1117 // WaitUntilStmt 1118 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 ); 1099 1132 } 1100 1133 … … 2042 2075 if ( __visit_children() ) { 2043 2076 maybe_accept( node, &TupleType::types ); 2077 maybe_accept( node, &TupleType::members ); 2044 2078 } 2045 2079
Note:
See TracChangeset
for help on using the changeset viewer.