Lines Matching refs:cmds
68 def __init__(self, name, items, cmds): argument
71 self.cmds = list(cmds)
74 def __init__(self, condition, cmds): argument
76 self.cmds = list(cmds)
79 def __init__(self, condition, cmds): argument
81 self.cmds = list(cmds)
89 def __init__(self, cmds): argument
90 self.cmds = list(cmds)
104 def __init__(self, cmds): argument
105 self.cmds = cmds
330 cmds = get_production(p[1:], "compound_list")[1:]
332 cmds = []
334 p[0] = ('case_item', (name, cmds))
706 name += ['commands', map(format_commands, v.cmds)]
739 return ['SubShell', map(format_commands, v.cmds)]
743 def print_commands(cmds, output=sys.stdout): argument
752 formatted = format_commands(cmds)
756 def stringify_commands(cmds): argument
773 return stringify(format_commands(cmds))
776 def visit_commands(cmds, callable): argument
780 if isinstance(cmds, (tuple, list)):
781 map(lambda c: visit_commands(c,callable), cmds)
782 elif isinstance(cmds, (Pipeline, SimpleCommand)):
783 callable(cmds)