interface BlockBuilder<T,C>
undocumented
Extends: BuilderBase<T,C>
Implemented by: NonLeafBlockBuilder<T,C>
, LeafBlockBuilder<T>
Type parameters
Name | Default | Description |
---|---|---|
T | undocumented | |
C | unknown | undocumented |
Properties
length
undocumented
length
Methods
append
undocumented
append
buildMap
undocumented
buildMap
concat
undocumented
concat
Definition
concat(other:
BlockBuilder
<T, C>, prependOther?: boolean): void;
Parameters
Name | Type | Description |
---|---|---|
other | BlockBuilder <T, C> | |
prependOther | boolean |
copy
undocumented
copy
Definition
copy(children: C[], length: number):
BlockBuilder
<T, C>;
Parameters
Name | Type | Description |
---|---|---|
children | C[] | |
length | number |
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 ; } |
get
undocumented
get
insert
undocumented
insert
prepend
undocumented
prepend
remove
undocumented
remove
splitRight
undocumented
splitRight