Skip to main content
Version: v1

InsertContext Interface

Signature​

export interface InsertContext

Properties​

PropertyModifiersTypeDescription
candidateSegmentoptionalISegment
continuePredicateoptional(continueFromBlock: IMergeBlock) => boolean
leaf(segment: ISegment | undefined, pos: number, ic: InsertContext) => ISegmentChanges
prepareEventsoptionalboolean
structureChangeoptionalboolean

Property Details​

candidateSegment​

Signature​

candidateSegment?: ISegment;

Type: ISegment

continuePredicate​

Signature​

continuePredicate?: (continueFromBlock: IMergeBlock) => boolean;

Type: (continueFromBlock: IMergeBlock) => boolean

leaf​

Signature​

leaf: (segment: ISegment | undefined, pos: number, ic: InsertContext) => ISegmentChanges;

Type: (segment: ISegment | undefined, pos: number, ic: InsertContext) => ISegmentChanges

prepareEvents​

Signature​

prepareEvents?: boolean;

Type: boolean

structureChange​

Signature​

structureChange?: boolean;

Type: boolean