3e71876080f9210e051a96348a75b570b7f74c56,explainshell/parser.py,CommandLineParser,parse_command,#CommandLineParser#,194

Before Change


    def parse_command(self):
        node = self.parse_command_part()
        tt = self.peek_token()
        while tt in ("word", "number"):
            part = self.parse_command_part()
            node.command.extend(part.command)
            node.redirects.extend(part.redirects)

After Change


        else:
            return self.parse_simple_command()

        node = Node(kind="compound", group=tt, list=node, redirects=[])
        self.parse_redirections(node)
        parse_logger.debug("returning %r", node)
        return node
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: idank/explainshell
Commit Name: 3e71876080f9210e051a96348a75b570b7f74c56
Time: 2013-09-07
Author: idankk86@gmail.com
File Name: explainshell/parser.py
Class Name: CommandLineParser
Method Name: parse_command


Project Name: idank/explainshell
Commit Name: 325d88c95defcf89e98dcf2ac9ac7d53bbea1b99
Time: 2013-09-07
Author: idankk86@gmail.com
File Name: explainshell/parser.py
Class Name: CommandLineParser
Method Name: parse_simple_command


Project Name: dPys/PyNets
Commit Name: e0c9d018aca7bf05486c385484d5ed1c37bac423
Time: 2018-10-13
Author: dpisner@utexas.edu
File Name: pynets/diffconnectometry.py
Class Name:
Method Name: create_mni2diff_transforms