| 39 | } |
| 40 | |
| 41 | void cDumpASTVisitor::VisitAssignment(cASTAssignment& node) |
| 42 | { |
| 43 | m_depth++; |
| 44 | indent(); |
| 45 | cout << node.GetVariable() << endl; |
| 46 | m_depth--; |
| 47 | |
| 48 | indent(); |
| 49 | cout << "=" << endl; |
| 50 | |
| 51 | m_depth++; |
| 52 | node.GetExpression()->Accept(*this); |
| 53 | m_depth--; |
| 54 | } |
| 55 | |
| 56 | |
| 57 | void cDumpASTVisitor::VisitArgumentList(cASTArgumentList& node) |
no test coverage detected