@staticmethod<EOL><INDENT>def __findout_decl_type(match_class, **keywds):<DEDENT>
if '<STR_LIT>' in keywds:<EOL><INDENT>return keywds['<STR_LIT>']<EOL><DEDENT>matcher_args = keywds.copy()<EOL>del matcher_args['<STR_LIT>']<EOL>del matcher_args['<STR_LIT>']<EOL>if '<STR_LIT>' in matcher_args:<EOL><INDENT>del matcher_args['<STR_LIT>']<EOL><DEDENT>decl_matcher = match_class(**matcher_args)<EOL>if decl_matcher.decl_type:<EOL><INDENT>return decl_matcher.decl_type<EOL><DEDENT>return None<EOL>
implementation details