| 1 |
var are_equal = null setget set_are_equal, get_are_equal |
| 2 |
var summary = null setget set_summary, get_summary |
| 3 |
var max_differences = 30 setget set_max_differences, get_max_differences |
| 4 |
var differences = {} setget set_differences, get_differences |
| 5 |
|
| 6 |
func _block_set(which, val): |
| 7 |
push_error(str('cannot set ', which, ', value [', val, '] ignored.')) |
| 8 |
|
| 9 |
func _to_string(): |
| 10 |
return str(get_summary()) # could be null, gotta str it. |
| 11 |
|
| 12 |
func get_are_equal(): |
| 13 |
return are_equal |
| 14 |
|
| 15 |
func set_are_equal(r_eq): |
| 16 |
are_equal = r_eq |
| 17 |
|
| 18 |
func get_summary(): |
| 19 |
return summary |
| 20 |
|
| 21 |
func set_summary(smry): |
| 22 |
summary = smry |
| 23 |
|
| 24 |
func get_total_count(): |
| 25 |
pass |
| 26 |
|
| 27 |
func get_different_count(): |
| 28 |
pass |
| 29 |
|
| 30 |
func get_short_summary(): |
| 31 |
return summary |
| 32 |
|
| 33 |
func get_max_differences(): |
| 34 |
return max_differences |
| 35 |
|
| 36 |
func set_max_differences(max_diff): |
| 37 |
max_differences = max_diff |
| 38 |
|
| 39 |
func get_differences(): |
| 40 |
return differences |
| 41 |
|
| 42 |
func set_differences(diffs): |
| 43 |
_block_set('differences', diffs) |
| 44 |
|
| 45 |
func get_brackets(): |
| 46 |
return null |
| 47 |
|