class NonLeafBlockBuilder<T,C>
undocumented
Implements: BlockBuilder<T,C>
Type parameters
Name | Constraints | Description |
---|---|---|
T | undocumented | |
C | BlockBuilder <T> | undocumented |
Properties
children
undocumented
children
context
undocumented
context
Definition
readonly context:
ListContext
;
length
undocumented
length
level
undocumented
level
nrChildren
undocumented
nrChildren
source
undocumented
source
Definition
source?:
NonLeafBlock
<T, any>
|
undefined;
Methods
append
undocumented
append
build
undocumented
build
buildMap
undocumented
buildMap
Definition
buildMap<T2>(f: (value: T) => T2):
NonLeafBlock
<T2, any>;
Type parameters
Name | Description |
---|---|
T2 |
Parameters
Name | Type | Description |
---|---|---|
f | (value: T) => T2 |
Overrides
concat
undocumented
concat
Definition
concat(other:
NonLeafBlockBuilder
<T, C>, prependOther?: boolean): void;
Parameters
Name | Type | Description |
---|---|---|
other | NonLeafBlockBuilder <T, C> | |
prependOther | boolean |
Overrides
copy
undocumented
copy
Definition
copy(children: C[], length: number):
NonLeafBlockBuilder
<T, C>;
Parameters
Name | Type | Description |
---|---|---|
children | C[] | |
length | number |
Overrides
dropFirst
undocumented
dropFirst
dropLast
undocumented
dropLast
forEach
undocumented
forEach
Definition
forEach(f: (value: T, index: number, halt: () => void) => void, options?: {
reversed?: boolean;
state?:
TraverseState
;
}): void;
Parameters
Name | Type | Description |
---|---|---|
f | (value: T, index: number, halt: () => void) => void | |
options | { reversed?: boolean; state?: TraverseState ; } |
Overrides
get
undocumented
get
getCoordinates
undocumented
getCoordinates
insert
undocumented
insert
modifyFirstChild
undocumented
modifyFirstChild
modifyLastChild
undocumented
modifyLastChild
normalized
undocumented
normalized
Definition
normalized():
NonLeafBuilder
<T, C>
|
undefined;
prepend
undocumented
prepend
remove
undocumented
remove
splitRight
undocumented
splitRight
Definition
splitRight(index?: number):
NonLeafBlockBuilder
<T, C>;
Parameters
Name | Type | Description |
---|---|---|
index | number |