Package | Description |
---|---|
org.catacomb.util |
Modifier and Type | Field and Description |
---|---|
Diff.change |
Diff.change.link
Previous or next edit command.
|
Modifier and Type | Method and Description |
---|---|
Diff.change |
Diff.ScriptBuilder.build_script(boolean[] changed0,
int len0,
boolean[] changed1,
int len1)
Scan the tables of which lines are inserted and deleted,
producing an edit script.
|
Diff.change |
Diff.ReverseScript.build_script(boolean[] changed0,
int len0,
boolean[] changed1,
int len1) |
Diff.change |
Diff.ForwardScript.build_script(boolean[] changed0,
int len0,
boolean[] changed1,
int len1)
Scan the tables of which lines are inserted and deleted,
producing an edit script in forward order.
|
Diff.change |
Diff.diff_2(boolean reverse) |
Diff.change |
Diff.diff(Diff.ScriptBuilder bld)
Get the results of comparison as an edit script.
|
protected Diff.change |
DiffPrint.Base.hunkfun(Diff.change hunk)
Called with the tail of the script
and returns the last link that belongs together with the start
of the tail.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DiffPrint.Base.analyze_hunk(Diff.change hunk)
Look at a hunk of edit script and report the range of lines in each file
that it applies to.
|
protected Diff.change |
DiffPrint.Base.hunkfun(Diff.change hunk)
Called with the tail of the script
and returns the last link that belongs together with the start
of the tail.
|
protected abstract void |
DiffPrint.Base.print_hunk(Diff.change hunk) |
protected void |
DiffPrint.NormalPrint.print_hunk(Diff.change hunk)
Print a hunk of a normal diff.
|
protected void |
DiffPrint.EdPrint.print_hunk(Diff.change hunk)
Print a hunk of an ed diff
|
protected void |
DiffPrint.ContextPrint.print_hunk(Diff.change hunk) |
protected void |
DiffPrint.UnifiedPrint.print_hunk(Diff.change hunk) |
void |
DiffPrint.Base.print_script(Diff.change script)
Divide SCRIPT into pieces by calling HUNKFUN and
print each piece with PRINTFUN.
|
Constructor and Description |
---|
Diff.change(int line0,
int line1,
int deleted,
int inserted,
Diff.change old)
Cons an additional entry onto the front of an edit script OLD.
|
Copyright © 2013. All Rights Reserved.