@elyx-code/project-logic-tree 0.0.6239 → 0.0.6241
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -13
- package/dist/index.umd.cjs +11 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33083,7 +33083,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
|
|
|
33083
33083
|
"remove-caller"
|
|
33084
33084
|
)
|
|
33085
33085
|
), i = !1) {
|
|
33086
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
33086
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
33087
33087
|
}
|
|
33088
33088
|
addOutputDeclaration(e, t = this.project.addChangeSet(
|
|
33089
33089
|
new I(
|
|
@@ -34037,7 +34037,7 @@ Specifically for return statements the parent needs to always be the 'function-d
|
|
|
34037
34037
|
"remove-caller"
|
|
34038
34038
|
)
|
|
34039
34039
|
), i = !1) {
|
|
34040
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
34040
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
34041
34041
|
}
|
|
34042
34042
|
addOutputDeclaration(e, t = this.project.addChangeSet(
|
|
34043
34043
|
new I(
|
|
@@ -37893,7 +37893,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37893
37893
|
"remove-caller"
|
|
37894
37894
|
)
|
|
37895
37895
|
), i = !1) {
|
|
37896
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
37896
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
37897
37897
|
}
|
|
37898
37898
|
setParent(e, t = this.project.addChangeSet(
|
|
37899
37899
|
new I(
|
|
@@ -40200,7 +40200,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
|
|
|
40200
40200
|
"remove-caller"
|
|
40201
40201
|
)
|
|
40202
40202
|
), i = !1) {
|
|
40203
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
40203
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
40204
40204
|
}
|
|
40205
40205
|
addOutputDeclaration(e, t = this.project.addChangeSet(
|
|
40206
40206
|
new I(
|
|
@@ -42885,7 +42885,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
42885
42885
|
"remove-caller"
|
|
42886
42886
|
)
|
|
42887
42887
|
), i = !1) {
|
|
42888
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
42888
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
42889
42889
|
}
|
|
42890
42890
|
replaceDetachedChild(e, t) {
|
|
42891
42891
|
const i = this.detachedChildren.indexOf(e);
|
|
@@ -45658,7 +45658,7 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
45658
45658
|
"remove-caller"
|
|
45659
45659
|
)
|
|
45660
45660
|
), i = !1) {
|
|
45661
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
45661
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
45662
45662
|
}
|
|
45663
45663
|
setParent(e, t = this.project.addChangeSet(
|
|
45664
45664
|
new I(
|
|
@@ -47064,7 +47064,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
47064
47064
|
"remove-caller"
|
|
47065
47065
|
)
|
|
47066
47066
|
), i = !1) {
|
|
47067
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
47067
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
47068
47068
|
}
|
|
47069
47069
|
// Subscribes one given entity as one of entity's writesValues
|
|
47070
47070
|
addValueReader(e, t = this.project.addChangeSet(
|
|
@@ -48802,7 +48802,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
48802
48802
|
"remove-caller"
|
|
48803
48803
|
)
|
|
48804
48804
|
), i = !1) {
|
|
48805
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
48805
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
48806
48806
|
}
|
|
48807
48807
|
// Subscribes one given entity as one of entity's writesValues
|
|
48808
48808
|
addValueReader(e, t = this.project.addChangeSet(
|
|
@@ -49754,14 +49754,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
49754
49754
|
calledByEntry: i.calledByEntry || [],
|
|
49755
49755
|
calledBySuccess: i.calledBySuccess || [],
|
|
49756
49756
|
calledByError: i.calledByError || [],
|
|
49757
|
-
declaration: this.
|
|
49757
|
+
declaration: this.toReference(),
|
|
49758
49758
|
x: 0,
|
|
49759
49759
|
y: 0
|
|
49760
49760
|
}, l = P(
|
|
49761
49761
|
s,
|
|
49762
49762
|
this.project
|
|
49763
49763
|
);
|
|
49764
|
-
return l.
|
|
49764
|
+
return l.hydrateAncestors(), l.setParent(e, t), t == null || t.add(l, A.Added), l.addSelfToProject(t), l.initChildren(t), e === this.project && this.project.addVariableInstance(l), t == null || t.attemptAutoclose("create-instance", this.id), l;
|
|
49765
49765
|
}
|
|
49766
49766
|
// If a variable has a data type that represents an object, like KeyValue or a definition entity
|
|
49767
49767
|
// Its variables can be set as inputs into the entity
|
|
@@ -50752,7 +50752,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
50752
50752
|
"remove-caller"
|
|
50753
50753
|
)
|
|
50754
50754
|
), i = !1) {
|
|
50755
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
50755
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
50756
50756
|
}
|
|
50757
50757
|
setParent(e, t = this.project.addChangeSet(
|
|
50758
50758
|
new I(
|
|
@@ -53142,7 +53142,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
53142
53142
|
"remove-caller"
|
|
53143
53143
|
)
|
|
53144
53144
|
), i = !1) {
|
|
53145
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
53145
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
53146
53146
|
}
|
|
53147
53147
|
setParent(e, t = this.project.addChangeSet(
|
|
53148
53148
|
new I(
|
|
@@ -62348,7 +62348,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
62348
62348
|
"remove-caller"
|
|
62349
62349
|
)
|
|
62350
62350
|
), i = !1) {
|
|
62351
|
-
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ?
|
|
62351
|
+
return this.calledBySuccess = this.calledBySuccess.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByError = this.calledByError.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), this.calledByEntry = this.calledByEntry.filter((s) => s.id !== e.id ? !0 : (t == null || t.add(this, A.Updated), t == null || t.add(s, A.Affected), !1)), i && S(this, t), t == null || t.attemptAutoclose("remove-caller", this.id), this;
|
|
62352
62352
|
}
|
|
62353
62353
|
setParent(e, t = this.project.addChangeSet(
|
|
62354
62354
|
new I(
|