#NEWLINE# def _apply_complete( self , chart , grammar , right_edge ) : #NEWLINE# #INDENT# for left_edge in chart . select ( end = right_edge . start ( ) , is_complete = False , nextsym = right_edge . lhs ( ) ) : #NEWLINE# #INDENT# new_edge = left_edge . move_dot_forward ( right_edge . end ( ) ) #NEWLINE# if chart . insert_with_backpointer ( new_edge , new_edge , right_edge ) : #NEWLINE# #INDENT# ( yield new_edge )