|
|
@ -201,7 +201,6 @@ export class Payload {
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.global.subsume(other.global);
|
|
|
|
|
|
|
|
this.local = other.local;
|
|
|
|
this.local = other.local;
|
|
|
|
this.#out = other.#out.map((item) => {
|
|
|
|
this.#out = other.#out.map((item) => {
|
|
|
|
if (item instanceof Payload) {
|
|
|
|
if (item instanceof Payload) {
|
|
|
@ -401,16 +400,6 @@ export class TreeState {
|
|
|
|
this.#head = new TreeHeadState(this.#uid);
|
|
|
|
this.#head = new TreeHeadState(this.#uid);
|
|
|
|
this.#mode = mode;
|
|
|
|
this.#mode = mode;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @param {TreeState} other
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
subsume(other) {
|
|
|
|
|
|
|
|
this.#css = other.#css;
|
|
|
|
|
|
|
|
this.#uid = other.#uid;
|
|
|
|
|
|
|
|
this.#head.subsume(other.#head);
|
|
|
|
|
|
|
|
this.#mode = other.#mode;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export class TreeHeadState {
|
|
|
|
export class TreeHeadState {
|
|
|
|