| 103 | |
| 104 | |
| 105 | void cDumpASTVisitor::VisitForeachBlock(cASTForeachBlock& node) |
| 106 | { |
| 107 | indent(); |
| 108 | cout << "foreach:" << endl; |
| 109 | |
| 110 | m_depth++; |
| 111 | node.GetVariable()->Accept(*this); |
| 112 | |
| 113 | indent(); |
| 114 | cout << "values:" << endl; |
| 115 | m_depth++; |
| 116 | node.GetValues()->Accept(*this); |
| 117 | |
| 118 | m_depth--; |
| 119 | indent(); |
| 120 | cout << "code:" << endl; |
| 121 | |
| 122 | m_depth++; |
| 123 | node.GetCode()->Accept(*this); |
| 124 | m_depth--; |
| 125 | |
| 126 | m_depth--; |
| 127 | } |
| 128 | |
| 129 | |
| 130 | void cDumpASTVisitor::VisitIfBlock(cASTIfBlock& node) |
no test coverage detected