| 21 | * specific subtype of `Op` can be linked with in a linked list. |
| 22 | */ |
| 23 | export interface Op<OpT extends Op<OpT>> { |
| 24 | /** |
| 25 | * All operations have a distinct kind. |
| 26 | */ |
| 27 | kind: OpKind; |
| 28 | |
| 29 | /** |
| 30 | * The previous operation in the linked list, if any. |
| 31 | * |
| 32 | * This is `null` for operation nodes not currently in a list, or for the special head/tail nodes. |
| 33 | */ |
| 34 | prev: OpT | null; |
| 35 | |
| 36 | /** |
| 37 | * The next operation in the linked list, if any. |
| 38 | * |
| 39 | * This is `null` for operation nodes not currently in a list, or for the special head/tail nodes. |
| 40 | */ |
| 41 | next: OpT | null; |
| 42 | |
| 43 | /** |
| 44 | * Debug id of the list to which this node currently belongs, or `null` if this node is not part |
| 45 | * of a list. |
| 46 | */ |
| 47 | debugListId: number | null; |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * A linked list of `Op` nodes of a given subtype. |
nothing calls this directly
no outgoing calls
no test coverage detected