| 746 | }*/ |
| 747 | |
| 748 | void HLSLTreeVisitor::VisitFunction(HLSLFunction *node) |
| 749 | { |
| 750 | VisitType(node->returnType); |
| 751 | |
| 752 | HLSLArgument *argument = node->argument; |
| 753 | while (argument != NULL) { |
| 754 | VisitArgument(argument); |
| 755 | argument = argument->nextArgument; |
| 756 | } |
| 757 | |
| 758 | VisitStatements(node->statement); |
| 759 | } |
| 760 | |
| 761 | void HLSLTreeVisitor::VisitArgument(HLSLArgument *node) |
| 762 | { |