4094646ed929203e9d471469f76ab949f7fce522,explainshell/parser.py,CommandLineParser,parse_list,#CommandLineParser#,209

Before Change


        if len(parts) == 1:
            node = parts[0]
        else:
            node = Node(kind="list", parts=parts)
            parse_logger.debug("returning %r", node)
        return node

    def parse_pipeline(self):

After Change


        if len(parts) == 1:
            node = parts[0]
        else:
            node = Node(kind="list", parts=parts, pos=(parts[0].pos[0], parts[-1].pos[1]))
            parse_logger.debug("returning %r", node)
        return node

    def parse_pipeline(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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


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


Project Name: onnx/onnx-coreml
Commit Name: fb77632a28e3338cb7e5a0d0c0f2c7ba76cdb984
Time: 2018-03-29
Author: aseem.elec@gmail.com
File Name: onnx_coreml/_transformers.py
Class Name: PixelShuffleFuser
Method Name: merge