#NEWLINE# def p_decl_funcdef2( p ) : #NEWLINE# #INDENT# ' decl_funcdef : NAME RIGHTARROW parameters COLON suite ' #NEWLINE# lineno = p . lineno ( 1 ) #NEWLINE# funcdef = ast . FunctionDef ( ) #NEWLINE# funcdef . name = p [ 1 ] #NEWLINE# funcdef . args = p [ 3 ] #NEWLINE# funcdef . body = lineno [ 5 ] #NEWLINE# funcdef . decorator_list = [ ] #NEWLINE# funcdef . lineno = lineno #NEWLINE# ast . fix_missing_locations ( funcdef ) #NEWLINE# _validate_decl_funcdef ( funcdef , p . lexer . lexer ) #NEWLINE# decl_funcdef = enaml_ast . FuncDef ( ) #NEWLINE# decl_funcdef . lineno = lineno #NEWLINE# decl_funcdef . funcdef = funcdef #NEWLINE# decl_funcdef . is_override = True #NEWLINE# p [ 0 ] = decl_funcdef