Skip to main content
Version: v1

MergeBlock Class

Signature

export declare class MergeBlock extends MergeNode implements IMergeBlock

Extends: MergeNode

Implements: IMergeBlock

Constructors

Constructor Description
(constructor)(childCount) Constructs a new instance of the MergeBlock class

Properties

Property Type Description
childCount number
children IMergeNode[]

Methods

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

Constructor Details

(constructor)

Constructs a new instance of the MergeBlock class

Signature

constructor(childCount: number);

Parameters

Parameter Type Description
childCount number

Property Details

childCount

Signature

childCount: number;

Type: number

children

Signature

children: IMergeNode[];

Type: IMergeNode[]

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(): HierMergeBlock | undefined;

Returns

Return type: HierMergeBlock | undefined

setOrdinal

Signature

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

Parameters

Parameter Type Description
child IMergeNode
index number