class LeafBlock<T>
undocumented
Implements: Block<T,TS,C>
Extended by: ReversedLeafBlock<T>
Type parameters
Name | Description |
---|---|
T | undocumented |
Properties
canAddChild
undocumented
canAddChild
children
undocumented
children
childrenInMin
undocumented
childrenInMin
context
undocumented
context
Definition
readonly context:
ListContext
;
length
undocumented
length
Methods
_mutateNormalize
undocumented
_mutateNormalize
Definition
_mutateNormalize():
List.NonEmpty
<T>;
_mutateSplitRight
undocumented
_mutateSplitRight
append
undocumented
append
appendInternal
undocumented
appendInternal
concat
undocumented
concat
Definition
concat<T2>(...sources:
ArrayNonEmpty
<
StreamSource
<T2>>):
List.NonEmpty
<T
|
T2>;
Type parameters
Name | Description |
---|---|
T2 |
Parameters
Name | Type | Description |
---|---|---|
sources | ArrayNonEmpty < StreamSource <T2>> |
concatBlock
undocumented
concatBlock
Definition
concatBlock(other:
LeafBlock
<T>):
List.NonEmpty
<T>;
Parameters
Name | Type | Description |
---|---|---|
other | LeafBlock <T> |
concatChildren
undocumented
concatChildren
concatTree
undocumented
concatTree
copy
undocumented
copy
copy2
undocumented
copy2
createBlockBuilder
undocumented
createBlockBuilder
drop
undocumented
drop
dropChildren
undocumented
dropChildren
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
map
undocumented
map
mapPure
undocumented
mapPure
prepend
undocumented
prepend
prependInternal
undocumented
prependInternal
reversed
undocumented
reversed
stream
undocumented
stream
Definition
stream(options?: {
reversed?: boolean;
}):
Stream.NonEmpty
<T>;
Parameters
Name | Type | Description |
---|---|---|
options | { reversed?: boolean; } |
Overrides
streamRange
undocumented
streamRange
structure
undocumented
structure
take
undocumented
take
takeChildren
undocumented
takeChildren