Lines Matching refs:yield
57 of the matching subsequence. This does not yield minimal edit
58 sequences, but does tend to yield matches that "look right" to people.
65 That, and the method here, appear to yield more intuitive difference
629 yield group
634 yield group
923 yield line
928 yield '%s %s' % (tag, x[i])
943 yield line
998 yield line
1011 yield line
1034 yield line
1037 yield ' ' + aelt
1041 yield line
1054 yield line
1081 yield "- " + aline
1083 yield "? %s%s\n" % ("\t" * common, atags)
1085 yield "+ " + bline
1087 yield "? %s%s\n" % ("\t" * common, btags)
1205 yield '--- {}{}{}'.format(fromfile, fromdate, lineterm)
1206 yield '+++ {}{}{}'.format(tofile, todate, lineterm)
1211 yield '@@ -{} +{} @@{}'.format(file1_range, file2_range, lineterm)
1216 yield ' ' + line
1220 yield '-' + line
1223 yield '+' + line
1292 yield '*** {}{}{}'.format(fromfile, fromdate, lineterm)
1293 yield '--- {}{}{}'.format(tofile, todate, lineterm)
1296 yield '***************' + lineterm
1299 yield '*** {} ****{}'.format(file1_range, lineterm)
1305 yield prefix[tag] + line
1308 yield '--- {} ----{}'.format(file2_range, lineterm)
1314 yield prefix[tag] + line
1455 it yields both a "from" and a "to" line, otherwise it will yield one
1483 yield _make_line(lines,'?',0), _make_line(lines,'?',1), True
1489 yield _make_line(lines,'-',0), None, True
1493 # coming: yield the delete line and then blanks
1498 yield _make_line(lines,None,0), _make_line(lines,'?',1), True
1502 yield _make_line(lines,'?',0), _make_line(lines,None,1), True
1507 yield _make_line(lines,'-',0), None, True
1513 yield None, _make_line(lines,'+',1), True
1516 # will be leaving an add block: yield blanks then add line
1520 # inside an add block, yield the add line
1522 yield None, _make_line(lines,'+',1), True
1525 # unchanged text, yield it to both sides
1526 yield _make_line(lines[:],None,0),_make_line(lines,None,1),False
1528 # Catch up on the blank lines so when we yield the next from/to
1532 yield None,('','\n'),True
1535 yield ('','\n'),None,True
1539 yield from_line,to_line,True
1548 until it has a matching pair from/to pair to yield.
1564 # Once we have a pair, remove them from the collection and yield it
1567 yield (from_line,to_line,fromDiff or to_diff)
1569 # Handle case where user does not want context differencing, just yield
1574 yield line_pair_iterator.next()
1591 # Yield lines that we have collected so far, but first yield
1594 yield None, None, None
1602 yield contextLines[i]
1604 # Now yield the context lines after the change
1613 yield from_line, to_line, found_diff
1820 yield fromdata,todata,flag
1828 # yield from/to line in pairs inserting blank lines as
1839 yield fromdata,todata,flag
2052 yield line[2:]