#NEWLINE# def __get_best_matching_chain( node , lineno ) : #NEWLINE# #INDENT# '\n    Get the best matching chain.\n    ' #NEWLINE# result = [ ] #NEWLINE# while ( node and ( __get_line ( node ) <= lineno ) ) : #NEWLINE# #INDENT# result . append ( node ) #NEWLINE# node = __get_best_matching_child ( node , lineno ) #NEWLINE# #UNINDENT# return result