List function ( List arg0 , boolean arg1 ) { Iterator loc0 = path . iterator ( ) ; TrunkNode loc1 = ( TrunkNode ) loc0 . next ( ) ; loc1 . patch0 ( arg0 , arg1 ) ; while ( loc0 . hasNext ( ) ) { Node loc2 = ( Node ) loc0 . next ( ) ; loc2 . patch ( arg0 , arg1 ) ; } return arg0 ; }
returns the text that corresponds to applying the patches in the list of nodes in the path . assume that the text of the first node is plaintext and not deltatext . concode_field_sep List path concode_field_sep void add concode_elem_sep int size concode_elem_sep Node last concode_elem_sep List newpatch