@elyx-code/project-logic-tree 0.0.6374 → 0.0.6375

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.d.ts CHANGED
@@ -1575,7 +1575,8 @@ export declare enum CanvasEntityConnectionDisabledReason {
1575
1575
  CallerIsInLowerScope = "caller-is-in-lower-scope",
1576
1576
  CallIsInHigherScope = "call-is-in-higher-scope",
1577
1577
  CallIsInLowerScope = "call-is-in-lower-scope",
1578
- OtherIncompatibleScopeReason = "other-incompatible-scope-reason"
1578
+ OtherIncompatibleScopeReason = "other-incompatible-scope-reason",
1579
+ SiblingInternalCallAlreadyUsedInParentVariable = "sibling-internal-call-already-used-in-parent-variable"
1579
1580
  }
1580
1581
 
1581
1582
  export declare type CanvasEntityDisabledReason = CanvasEntityConnectionDisabledReason | CanvasEntityTestingDisabledReason | CanvasEntityOtherDisabledReason;
package/dist/index.js CHANGED
@@ -47663,8 +47663,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47663
47663
  asType: !1,
47664
47664
  like: !1,
47665
47665
  inferred: !1,
47666
- andChildrenGroup: [],
47667
- orChildrenGroup: [],
47666
+ andChildrenGroup: null,
47667
+ orChildrenGroup: null,
47668
47668
  parent: se.toReference()
47669
47669
  }, ue = ee(
47670
47670
  Y,
@@ -47791,8 +47791,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47791
47791
  asType: !1,
47792
47792
  like: !1,
47793
47793
  inferred: !1,
47794
- andChildrenGroup: [],
47795
- orChildrenGroup: [],
47794
+ andChildrenGroup: null,
47795
+ orChildrenGroup: null,
47796
47796
  parent: V.toReference()
47797
47797
  }, J = ee(
47798
47798
  k,
@@ -47964,8 +47964,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
47964
47964
  asType: !1,
47965
47965
  like: !1,
47966
47966
  inferred: !1,
47967
- andChildrenGroup: [],
47968
- orChildrenGroup: [],
47967
+ andChildrenGroup: null,
47968
+ orChildrenGroup: null,
47969
47969
  parent: v.toReference()
47970
47970
  }, V = ee(
47971
47971
  O,
@@ -48095,8 +48095,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48095
48095
  asType: !1,
48096
48096
  like: !1,
48097
48097
  inferred: !1,
48098
- andChildrenGroup: [],
48099
- orChildrenGroup: [],
48098
+ andChildrenGroup: null,
48099
+ orChildrenGroup: null,
48100
48100
  parent: (w = this.currentValueArgumentDeclaration) == null ? void 0 : w.toReference()
48101
48101
  }, W = ee(
48102
48102
  ue,
@@ -48191,8 +48191,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48191
48191
  asType: !1,
48192
48192
  like: !1,
48193
48193
  inferred: !1,
48194
- andChildrenGroup: [],
48195
- orChildrenGroup: [],
48194
+ andChildrenGroup: null,
48195
+ orChildrenGroup: null,
48196
48196
  parent: (I = this.currentValueArgumentDeclaration) == null ? void 0 : I.toReference()
48197
48197
  }, ue = ee(
48198
48198
  Y,
@@ -48287,8 +48287,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48287
48287
  asType: !1,
48288
48288
  like: !1,
48289
48289
  inferred: !1,
48290
- andChildrenGroup: [],
48291
- orChildrenGroup: [],
48290
+ andChildrenGroup: null,
48291
+ orChildrenGroup: null,
48292
48292
  parentRelationType: ei.OrDataTypeGroup,
48293
48293
  parent: z.toReference()
48294
48294
  }, Ve = ee(
@@ -48324,8 +48324,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48324
48324
  asType: !1,
48325
48325
  like: !1,
48326
48326
  inferred: !1,
48327
- andChildrenGroup: [],
48328
- orChildrenGroup: [],
48327
+ andChildrenGroup: null,
48328
+ orChildrenGroup: null,
48329
48329
  parent: (V = this.currentValueArgumentDeclaration) == null ? void 0 : V.toReference()
48330
48330
  }, ue = ee(
48331
48331
  Y,
@@ -48359,8 +48359,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48359
48359
  asType: !1,
48360
48360
  like: !1,
48361
48361
  inferred: !1,
48362
- andChildrenGroup: [],
48363
- orChildrenGroup: [],
48362
+ andChildrenGroup: null,
48363
+ orChildrenGroup: null,
48364
48364
  parentRelationType: ei.OrDataTypeGroup,
48365
48365
  parent: ue.toReference()
48366
48366
  }, we = ee(
@@ -48453,8 +48453,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
48453
48453
  asType: !1,
48454
48454
  like: !1,
48455
48455
  inferred: !1,
48456
- andChildrenGroup: [],
48457
- orChildrenGroup: [],
48456
+ andChildrenGroup: null,
48457
+ orChildrenGroup: null,
48458
48458
  parent: (J = this.currentValueArgumentDeclaration) == null ? void 0 : J.toReference()
48459
48459
  }, ue = ee(
48460
48460
  Y,
@@ -90841,7 +90841,7 @@ function Twt(d) {
90841
90841
  )} Error: ${Em(d.code)}`;
90842
90842
  }
90843
90843
  }
90844
- var VL = /* @__PURE__ */ ((d) => (d.ValuesAlreadyConnected = "values-already-connected", d.CannotReadMoreThanOneValue = "cannot-read-more-than-one-value", d.CannotReadValueFromChildren = "cannot-read-value-from-children", d.CannotWriteValueToChildren = "cannot-write-value-to-children", d.CannotBeCalledByChildren = "cannot-be-called-by-children", d.ExecutionsAlreadyConnected = "executions-already-connected", d.DataTypesNotCompatible = "data-types-not-compatible", d.CannotCallAncestor = "cannot-call-ancestor", d.CannotWriteValueToAncestor = "cannot-write-value-to-ancestor", d.NotInScope = "not-in-scope", d.IsNotValueWrittingEntity = "is-not-value-writting-entity", d.IsNotValueReadingEntity = "is-not-value-reading-entity", d.ContinueOrBreakStatementCalledFromOutsideLoop = "continue-or-break-statement-called-from-outside-loop", d.ElementInLoopBodyCallingOutsideLoop = "element-in-loop-body-calling-outside-loop", d.CallerIsInHigherScope = "caller-is-in-higher-scope", d.CallerIsInLowerScope = "caller-is-in-lower-scope", d.CallIsInHigherScope = "call-is-in-higher-scope", d.CallIsInLowerScope = "call-is-in-lower-scope", d.OtherIncompatibleScopeReason = "other-incompatible-scope-reason", d))(VL || {});
90844
+ var VL = /* @__PURE__ */ ((d) => (d.ValuesAlreadyConnected = "values-already-connected", d.CannotReadMoreThanOneValue = "cannot-read-more-than-one-value", d.CannotReadValueFromChildren = "cannot-read-value-from-children", d.CannotWriteValueToChildren = "cannot-write-value-to-children", d.CannotBeCalledByChildren = "cannot-be-called-by-children", d.ExecutionsAlreadyConnected = "executions-already-connected", d.DataTypesNotCompatible = "data-types-not-compatible", d.CannotCallAncestor = "cannot-call-ancestor", d.CannotWriteValueToAncestor = "cannot-write-value-to-ancestor", d.NotInScope = "not-in-scope", d.IsNotValueWrittingEntity = "is-not-value-writting-entity", d.IsNotValueReadingEntity = "is-not-value-reading-entity", d.ContinueOrBreakStatementCalledFromOutsideLoop = "continue-or-break-statement-called-from-outside-loop", d.ElementInLoopBodyCallingOutsideLoop = "element-in-loop-body-calling-outside-loop", d.CallerIsInHigherScope = "caller-is-in-higher-scope", d.CallerIsInLowerScope = "caller-is-in-lower-scope", d.CallIsInHigherScope = "call-is-in-higher-scope", d.CallIsInLowerScope = "call-is-in-lower-scope", d.OtherIncompatibleScopeReason = "other-incompatible-scope-reason", d.SiblingInternalCallAlreadyUsedInParentVariable = "sibling-internal-call-already-used-in-parent-variable", d))(VL || {});
90845
90845
  const bwt = Object.values(
90846
90846
  VL
90847
90847
  );
@@ -97160,13 +97160,7 @@ function Sh(d) {
97160
97160
  return d.project;
97161
97161
  const i = u.reduce((a, l) => {
97162
97162
  const p = Oi(l, d.project);
97163
- return d.parent.id === "variable-instance-id" && (console.log(
97164
- "caller: ",
97165
- l.id + " - " + l.type + " - " + l.name
97166
- ), console.log(
97167
- "caller scope owner: ",
97168
- (p == null ? void 0 : p.id) + " - " + (p == null ? void 0 : p.type) + " - " + p.name
97169
- )), !p || p.type === f.Project ? a : a.type === f.Project || pp(
97163
+ return !p || p.type === f.Project ? a : a.type === f.Project || pp(
97170
97164
  p,
97171
97165
  a
97172
97166
  ).last ? p : (pp(