class LeafBlockBuilder<T>
undocumented
Implements: BlockBuilder<T,C>
, LeafBuilder<T>
Type parameters
Name | Description |
---|---|
T | undocumented |
Properties
children
undocumented
children
context
undocumented
context
Definition
readonly context:
ListContext
;
length
undocumented
length
level
undocumented
level
nrChildren
undocumented
nrChildren
Methods
append
undocumented
append
build
undocumented
build
buildMap
undocumented
buildMap
concat
undocumented
concat
Definition
concat(other:
LeafBlockBuilder
<T>, prependOther?: boolean): void;
Parameters
Name | Type | Description |
---|---|---|
other | LeafBlockBuilder <T> | |
prependOther | boolean |
Overrides
copy
undocumented
copy
Definition
copy(children: T[]):
LeafBlockBuilder
<T>;
Parameters
Name | Type | Description |
---|---|---|
children | T[] |
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
insert
undocumented
insert
normalized
undocumented
normalized
prepend
undocumented
prepend
remove
undocumented
remove
splitRight
undocumented
splitRight
Definition
splitRight(index?: number):
LeafBlockBuilder
<T>;
Parameters
Name | Type | Description |
---|---|---|
index | number |