def get_capabilities_for_ext(self, ext, strict_type_matching: bool = False) -> Dict[Type, Dict[str, Parser]]:
r = dict()<EOL>for typ in self.get_all_supported_types_for_ext(ext):<EOL><INDENT>matching = self.find_all_matching_parsers(strict_type_matching, desired_type=typ, required_ext=ext)[<NUM_LIT:0>]<EOL>r[typ] = dict()<EOL>exact = list(reversed(matching[<NUM_LIT:2>]))<EOL>if len(exact) > <NUM_LIT:0>:<EOL><INDENT>r[typ]['<STR_LIT>'] = exact<EOL><DEDENT>approx = list(reversed(matching[<NUM_LIT:1>]))<EOL>if len(approx) > <NUM_LIT:0>:<EOL><INDENT>r[typ]['<STR_LIT>'] = approx<EOL><DEDENT>generic = list(reversed(matching[<NUM_LIT:0>]))<EOL>if len(generic) > <NUM_LIT:0>:<EOL><INDENT>r[typ]['<STR_LIT>'] = generic<EOL><DEDENT><DEDENT>return r<EOL>
Utility method to return, for a given file extension, all known ways to parse a file with this extension,
organized by target object type.

:param ext:
:param strict_type_matching:
:return: