#NEWLINE# def compose_sequence_node( self ) : #NEWLINE# #INDENT# start_event = self . get_event ( ) #NEWLINE# tag = start_event . tag #NEWLINE# if ( ( tag is None ) or ( tag == '!' ) ) : #NEWLINE# #INDENT# tag = self . resolve ( nodes . SequenceNode , None , start_event . implicit ) #NEWLINE# #UNINDENT# node = nodes . SequenceNode ( tag , [ ] , start_event . start_mark , None , flow_style = start_event . flow_style ) #NEWLINE# index = 0 #NEWLINE# while ( not self . check_event ( events . SequenceEndEvent ) ) : #NEWLINE# #INDENT# node . value . append ( self . compose_node ( node , index ) ) #NEWLINE# index += 1 #NEWLINE# #UNINDENT# end_event = self . get_event ( ) #NEWLINE# node . end_mark = end_event . end_mark #NEWLINE# return node