end the most recently created command group by popping it from the group stack. groups are created by visitcommand or a nested command
(self)
| 459 | return True |
| 460 | |
| 461 | def endcommand(self): |
| 462 | """end the most recently created command group by popping it from the |
| 463 | group stack. groups are created by visitcommand or a nested command""" |
| 464 | assert len(self.group_stack) >= 2, ( |
| 465 | "groupstack must contain shell and command groups" |
| 466 | ) |
| 467 | g = self.group_stack.pop() |
| 468 | logger.info("ending group %s", g) |
| 469 | |
| 470 | def visitcommandsubstitution(self, node, command): |
| 471 | kind = self.s[node.pos[0]] |
no outgoing calls
no test coverage detected