Lines Matching refs:fdef
2007 fdef = ast.parse(s).body[0]
2008 self._check_end_pos(fdef, 5, 15)
2009 self._check_content(s, fdef.body[0], 'return True')
2010 self._check_content(s, fdef.args.args[0], 'x: int')
2011 self._check_content(s, fdef.args.args[0].annotation, 'int')
2012 self._check_content(s, fdef.args.kwarg, 'kwargs: Any')
2013 self._check_content(s, fdef.args.kwarg.annotation, 'Any')
2255 fdef = ast.parse(s).body[0]
2256 self._check_content(s, fdef.body[0].value, 'yield x')
2257 self._check_content(s, fdef.body[1].value, 'await y')