#NEWLINE# def p_enamldef_impl4( p ) : #NEWLINE# #INDENT# ' enamldef_impl : ENAMLDEF NAME LPAR NAME RPAR COLON NAME COLON enamldef_simple_item ' #NEWLINE# body = filter ( None , [ p [ 9 ] ] ) #NEWLINE# enamldef = enaml_ast . EnamlDef ( typename = p [ 2 ] , base = p [ 4 ] , identifier = p [ 7 ] , body = body , lineno = p . lineno ( 1 ) ) #NEWLINE# _validate_enamldef ( enamldef , enamldef . lexer . lexer ) #NEWLINE# p [ 0 ] = enamldef