def get_process_parser(self, process_id_or_name):
if process_id_or_name in self.process_parsers_by_name:<EOL><INDENT>return self.process_parsers_by_name[process_id_or_name]<EOL><DEDENT>else:<EOL><INDENT>return self.process_parsers[process_id_or_name]<EOL><DEDENT>
Returns the ProcessParser for the given process ID or name. It matches
by name first.