#NEWLINE# def p_template_impl1( p ) : #NEWLINE# #INDENT# ' template_impl : TEMPLATE NAME template_params COLON template_suite ' #NEWLINE# node = enaml_ast . Template ( ) #NEWLINE# node . lineno = p . lineno ( 1 ) #NEWLINE# node . name = p [ 2 ] #NEWLINE# node . parameters = p [ 3 ] #NEWLINE# node . body = p [ 5 ] #NEWLINE# _validate_template ( node , node . lexer . lexer ) #NEWLINE# p [ 0 ] = node