LocalReferenceCollection Class
Represents a collection of ReferencePositions associated with one segment in a merge-tree.
Signature
export declare class LocalReferenceCollection
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the LocalReferenceCollection
class.
Static Methods
Method | Return Type | Description |
---|---|---|
append(seg1, seg2) | void |
Methods
Method | Return Type | Description |
---|---|---|
addAfterTombstones(refs) | void | |
addBeforeTombstones(refs) | void |
Method Details
addAfterTombstones
Signature
addAfterTombstones(...refs: Iterable<LocalReference | ReferencePosition>[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
refs | Iterable<LocalReference | ReferencePosition>[] |
addBeforeTombstones
Signature
addBeforeTombstones(...refs: Iterable<LocalReference | ReferencePosition>[]): void;
Parameters
Parameter | Type | Description |
---|---|---|
refs | Iterable<LocalReference | ReferencePosition>[] |
append
Signature
static append(seg1: ISegment, seg2: ISegment): void;
Parameters
Parameter | Type | Description |
---|---|---|
seg1 | ISegment | |
seg2 | ISegment |