@elyx-code/project-logic-tree 0.0.6209 → 0.0.6211

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 CHANGED
@@ -5406,7 +5406,7 @@ const tA = {
5406
5406
  andChildrenGroup: null,
5407
5407
  orChildrenGroup: null,
5408
5408
  entity: Ei,
5409
- isList: !0,
5409
+ isList: !1,
5410
5410
  asType: !1,
5411
5411
  options: [
5412
5412
  "GET",
@@ -68780,6 +68780,19 @@ const se = class se extends nt {
68780
68780
  ...this.entities.flatMap((t) => t.methods)
68781
68781
  ];
68782
68782
  }
68783
+ getTerminationStatements() {
68784
+ return [
68785
+ ...this.getEntryPoints().reduce((t, r) => {
68786
+ const s = qe(r);
68787
+ return [
68788
+ ...t,
68789
+ ...s.filter(
68790
+ (l) => l.type === n.ReturnStatement || l.type === n.ContinueStatement || l.type === n.BreakStatement
68791
+ )
68792
+ ];
68793
+ }, [])
68794
+ ];
68795
+ }
68783
68796
  getFunctionDeclaration(e) {
68784
68797
  return this.functions.find((t) => t.id === e) || null;
68785
68798
  }