import { FingerprintNode } from "https://deno.land/x/range_reconcile@1.0.2/mod.ts";
A node for a FingerprintTree, augmented with a label and lifted value. Can update the labels of its ancestors.
Constructors
new
FingerprintNode(parent: FingerprintNode<ValueType, LiftType> | null,
value: ValueType,
monoid: LiftingMonoid<ValueType, LiftType>,
Properties
private
monoid: LiftingMonoid<ValueType, LiftType>label: LiftType
left: FingerprintNode<ValueType, LiftType> | null
liftedValue: LiftType
parent: FingerprintNode<ValueType, LiftType> | null
right: FingerprintNode<ValueType, LiftType> | null
Methods
updateLabel(updateParent?, reason?: string)