#NEWLINE# def p_template_inst_impl3( p ) : #NEWLINE# #INDENT# ' template_inst_impl : NAME template_args COLON template_inst_suite ' #NEWLINE# node = enaml_ast . TemplateInst ( ) #NEWLINE# node . lineno = p . lineno ( 1 ) #NEWLINE# node . name = p [ 1 ] #NEWLINE# node . arguments = p [ 2 ] #NEWLINE# node . body = filter ( None , p [ 4 ] ) #NEWLINE# _validate_template_inst ( node , p . lexer . lexer ) #NEWLINE# p [ 0 ] = node