Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EditScript

Hierarchy

Implemented by

Index

Methods

close

  • close(aStart?: undefined | number, length?: undefined | number): boolean
  • Parameters

    • Optional aStart: undefined | number
    • Optional length: undefined | number

      the length of the insert. Implementations may assume this value is is greater than 1 and bStart + length + bOffset is less than the length of the {@code b} array supplied to diff.

    Returns boolean

    true to continue processing

delete

  • delete(aStart?: undefined | number, length?: undefined | number): boolean
  • Parameters

    • Optional aStart: undefined | number
    • Optional length: undefined | number

      the length of the insert. Implementations may assume this value is is greater than 1 and bStart + length + bOffset is less than the length of the {@code b} array supplied to diff.

    Returns boolean

    true to continue processing

insert

  • insert(bStart: number, length: number): boolean
  • Parameters

    • bStart: number

      offset from the start of the b data, ignoring the bOffset supplied to diff

    • length: number

      the length of the insert. Implementations may assume this value is is greater than 1 and bStart + length + bOffset is less than the length of the {@code b} array supplied to diff.

    Returns boolean

    true to continue processing

match

  • match(aStart: number, length: number): boolean
  • Parameters

    • aStart: number

      offset from the start of the a data, ignoring the aOffset supplied to diff

    • length: number

      the length of the match. Implementations may assume this value is is greater than 1 and aStart + length + bOffset is less than the length of the a array supplied to diff.

    Returns boolean

    true to continue processing

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.