class NonLeafTree<T,C>
undocumented
Implements: NonLeaf<T,C>
, Tree<T,TS,TB,C>
Type parameters
Name | Constraints | Description |
---|---|---|
T | undocumented | |
C | Block <T, C> | undocumented |
Properties
context
undocumented
context
left
undocumented
left
length
undocumented
length
level
undocumented
level
middle
undocumented
middle
right
undocumented
right
Methods
append
undocumented
append
appendMiddle
undocumented
appendMiddle
Definition
appendMiddle(child:
NonLeafBlock
<T, C>):
NonLeaf
<T,
NonLeafBlock
<T, C>>;
Parameters
Name | Type | Description |
---|---|---|
child | NonLeafBlock <T, C> |
Overrides
concat
undocumented
concat
concatBlock
undocumented
concatBlock
Definition
concatBlock(other:
NonLeafBlock
<T, C>):
NonLeaf
<T, C>;
Parameters
Name | Type | Description |
---|---|---|
other | NonLeafBlock <T, C> |
concatTree
undocumented
concatTree
Definition
concatTree(other:
NonLeafTree
<T, C>):
NonLeaf
<T, C>;
Parameters
Name | Type | Description |
---|---|---|
other | NonLeafTree <T, C> |
copy
undocumented
copy
Definition
copy(left?:
NonLeafBlock
<T, C>, right?:
NonLeafBlock
<T, C>, middle?:
NonLeaf
<T,
NonLeafBlock
<T, C>>
|
null):
NonLeafTree
<T, C>;
Parameters
Name | Type | Description |
---|---|---|
left | NonLeafBlock <T, C> | |
right | NonLeafBlock <T, C> | |
middle | NonLeaf <T, NonLeafBlock <T, C>> | null |
Overrides
copy2
undocumented
copy2
Definition
copy2<T2, C2 extends
Block
<T2, C2>>(left:
NonLeafBlock
<T2, C2>, right:
NonLeafBlock
<T2, C2>, middle:
NonLeaf
<T2,
NonLeafBlock
<T2, C2>>
|
null):
NonLeafTree
<T2, C2>;
Type parameters
Name | Constraints | Description |
---|---|---|
T2 | ||
C2 | Block <T2, C2> |
Parameters
Name | Type | Description |
---|---|---|
left | NonLeafBlock <T2, C2> | |
right | NonLeafBlock <T2, C2> | |
middle | NonLeaf <T2, NonLeafBlock <T2, C2>> | null |
createNonLeafBuilder
undocumented
createNonLeafBuilder
dropFirst
undocumented
dropFirst
dropInternal
undocumented
dropInternal
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
getChildLength
undocumented
getChildLength
map
undocumented
map
Definition
map<T2>(mapFun: (value: T, index: number) => T2, options?: {
reversed?: boolean;
indexOffset?: number;
}):
NonLeafTree
<T2, any>;
Type parameters
Name | Description |
---|---|
T2 |
Parameters
Name | Type | Description |
---|---|---|
mapFun | (value: T, index: number) => T2 | |
options | { reversed?: boolean; indexOffset?: number; } |
Overrides
mapPure
undocumented
mapPure
prepend
undocumented
prepend
prependMiddle
undocumented
prependMiddle
Definition
prependMiddle(child:
NonLeafBlock
<T, C>):
NonLeaf
<T,
NonLeafBlock
<T, C>>;
Parameters
Name | Type | Description |
---|---|---|
child | NonLeafBlock <T, C> |
Overrides
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
takeInternal
undocumented
takeInternal
toArray
undocumented
toArray