Constructors
constructor
Type parameters
Parameters
node: T
Optional path: Path<T>
Properties
Protected Readonly _node
_node: T
Protected Readonly _path
_path
: undefined | Path<T>Accessors
lefts
- get lefts(): undefined | T[]
path
- get path(): undefined | T[]
rights
- get rights(): undefined | T[]
Methods
Protected newNode
- newNode(node: T, children: T[]): T
update
- update(fn: FnO<T, T>, ...xs: any[]): Location<T>
Parameters
fn: FnO<T, T>
Rest ...xs: any[]