Skip to main content
Version: v1

IMergeBlock Interface

Signature

export interface IMergeBlock extends IMergeNodeCommon

Extends: IMergeNodeCommon

Properties

Property Modifiers Type Description
childCount number
children IMergeNode[]
needsScour optional boolean
partialLengths optional PartialSequenceLengths

Methods

Method Return Type Description
assignChild(child, index, updateOrdinal) void
hierBlock() IHierBlock | undefined
setOrdinal(child, index) void

Property Details

childCount

Signature

childCount: number;

Type: number

children

Signature

children: IMergeNode[];

Type: IMergeNode[]

needsScour

Signature

needsScour?: boolean;

Type: boolean

partialLengths

Signature

partialLengths?: PartialSequenceLengths;

Type: PartialSequenceLengths

Method Details

assignChild

Signature

assignChild(child: IMergeNode, index: number, updateOrdinal?: boolean): void;

Parameters

Parameter Modifiers Type Description
child IMergeNode
index number
updateOrdinal optional boolean

hierBlock

Signature

hierBlock(): IHierBlock | undefined;

Returns

Return type: IHierBlock | undefined

setOrdinal

Signature

setOrdinal(child: IMergeNode, index: number): void;

Parameters

Parameter Type Description
child IMergeNode
index number