4094646ed929203e9d471469f76ab949f7fce522,explainshell/parser.py,CommandLineParser,parse_pipeline,#CommandLineParser#,229
Before Change
if len(parts) == 1:
node = parts[0]
else:
node = Node(kind="pipeline", parts=parts)
parse_logger.debug("returning %r", node)
return node
def parse_command(self):
After Change
if len(parts) == 1:
node = parts[0]
else:
node = Node(kind="pipeline", parts=parts, pos=(parts[0].pos[0], parts[-1].pos[1]))
parse_logger.debug("returning %r", node)
return node
def parse_command(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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_pipeline
Project Name: geometalab/OSMDeepOD
Commit Name: e34343896cf822e2fb6208b85399b1e33cfe9254
Time: 2016-11-25
Author: samuel.kurath@gmail.com
File Name: src/data/osm/street_loader.py
Class Name: StreetLoader
Method Name: _generate_street
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