#NEWLINE# def setBreakpointByUrl_parser( result ) : #NEWLINE# #INDENT# ' Line and column are zero based ' #NEWLINE# data = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# data [ 'breakpointId' ] = BreakpointId ( data [ 'breakpointId' ] ) #NEWLINE# data [ 'locations' ] = [ ] #NEWLINE# for location in result [ 'locations' ] : #NEWLINE# #INDENT# location_found = Location ( location ) #NEWLINE# location_found . lineNumber = location_found . lineNumber #NEWLINE# data [ 'locations' ] . append ( location_found ) #NEWLINE# #UNINDENT# return data