| 637 | } |
| 638 | |
| 639 | void NameResolver::VisitScriptModule(ScriptModule* script_module) { |
| 640 | if (auto* tsm = dyn_cast<TextScriptModule>(script_module)) { |
| 641 | VisitModule(&tsm->module); |
| 642 | } |
| 643 | } |
| 644 | |
| 645 | void NameResolver::VisitCommand(Command* command) { |
| 646 | switch (command->type) { |