@danielsimonjr/mathts-expression 0.8.1 → 0.9.0

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
@@ -5,7 +5,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __commonJS = (cb, mod) => function __require() {
8
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
8
+ try {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ } catch (e) {
11
+ throw mod = 0, e;
12
+ }
9
13
  };
10
14
  var __copyProps = (to, from, except, desc) => {
11
15
  if (from && typeof from === "object" || typeof from === "function") {
@@ -7341,6 +7345,15 @@ function compileSymbolNode(node, math, argNames) {
7341
7345
  return math[name47];
7342
7346
  };
7343
7347
  }
7348
+ const unitCtor = math.Unit;
7349
+ if (typeof unitCtor === "function" && typeof unitCtor.isValuelessUnit === "function" && unitCtor.isValuelessUnit(name47)) {
7350
+ return function evalUnitSymbol(scope) {
7351
+ if (scope.has(name47)) {
7352
+ return scope.get(name47);
7353
+ }
7354
+ return new unitCtor(null, name47);
7355
+ };
7356
+ }
7344
7357
  return function evalSymbolNode(scope) {
7345
7358
  if (scope.has(name47)) {
7346
7359
  return scope.get(name47);
@@ -10743,12 +10756,11 @@ var createIndexNode = /* @__PURE__ */ factory(
10743
10756
  * @returns Returns a function which can be called like:
10744
10757
  * evalNode(scope: Object, args: Object, context: *)
10745
10758
  */
10746
- // @ts-expect-error - method overrides property from Node base class
10747
10759
  _compile(math, argNames) {
10748
10760
  const evalDimensions = map(
10749
10761
  this.dimensions,
10750
10762
  function(dimension, i) {
10751
- const needsEnd = dimension.filter((node) => !!(node.isSymbolNode && node.name === "end")).length > 0;
10763
+ const needsEnd = dimension.filter((node) => isSymbolNode(node) && node.name === "end").length > 0;
10752
10764
  if (needsEnd) {
10753
10765
  const childArgNames = Object.create(argNames);
10754
10766
  childArgNames.end = true;
@@ -10819,7 +10831,8 @@ var createIndexNode = /* @__PURE__ */ factory(
10819
10831
  * If not, returns null.
10820
10832
  */
10821
10833
  getObjectProperty() {
10822
- return this.isObjectProperty() ? this.dimensions[0].value : null;
10834
+ const first = this.dimensions[0];
10835
+ return this.isObjectProperty() && isConstantNode(first) ? first.value : null;
10823
10836
  }
10824
10837
  /**
10825
10838
  * Get string representation
@@ -10928,7 +10941,6 @@ var createObjectNode = /* @__PURE__ */ factory(
10928
10941
  * @returns Returns a function which can be called like:
10929
10942
  * evalNode(scope: Object, args: Object, context: *)
10930
10943
  */
10931
- // @ts-expect-error - method overrides property from Node base class
10932
10944
  _compile(math, argNames) {
10933
10945
  const evalEntries = {};
10934
10946
  for (const key in this.properties) {
@@ -11077,7 +11089,10 @@ var createOperatorNode = /* @__PURE__ */ factory(
11077
11089
  }
11078
11090
  if (isConstantNode(curNode)) return true;
11079
11091
  if (isOperatorNode(curNode)) {
11080
- return startsWithConstant(curNode.args[0], parenthesis);
11092
+ return startsWithConstant(
11093
+ curNode.args[0],
11094
+ parenthesis
11095
+ );
11081
11096
  }
11082
11097
  return false;
11083
11098
  }
@@ -11275,7 +11290,6 @@ var createOperatorNode = /* @__PURE__ */ factory(
11275
11290
  * @returns Returns a function which can be called like:
11276
11291
  * evalNode(scope: Object, args: Object, context: *)
11277
11292
  */
11278
- // @ts-expect-error - method overrides property from Node base class
11279
11293
  _compile(math, argNames) {
11280
11294
  if (typeof this.fn !== "string" || !isSafeMethod(math, this.fn)) {
11281
11295
  if (!math[this.fn]) {
@@ -11605,7 +11619,6 @@ var createOperatorNode = /* @__PURE__ */ factory(
11605
11619
  /**
11606
11620
  * Get identifier.
11607
11621
  */
11608
- // @ts-expect-error - method overrides property from Node base class
11609
11622
  getIdentifier() {
11610
11623
  return this.type + ":" + this.fn;
11611
11624
  }
@@ -11658,7 +11671,6 @@ var createParenthesisNode = /* @__PURE__ */ factory(
11658
11671
  * @returns Returns a function which can be called like:
11659
11672
  * evalNode(scope: Object, args: Object, context: *)
11660
11673
  */
11661
- // @ts-expect-error - method overrides property from Node base class
11662
11674
  _compile(math, argNames) {
11663
11675
  return this.content._compile(math, argNames);
11664
11676
  }
@@ -11667,7 +11679,6 @@ var createParenthesisNode = /* @__PURE__ */ factory(
11667
11679
  * @returns content
11668
11680
  * @override
11669
11681
  **/
11670
- // @ts-expect-error - method overrides property from Node base class
11671
11682
  getContent() {
11672
11683
  return this.content.getContent();
11673
11684
  }
@@ -11785,6 +11796,7 @@ var createRangeNode = /* @__PURE__ */ factory(
11785
11796
  * @param end - included upper-bound
11786
11797
  * @param step - optional step
11787
11798
  */
11799
+ // `step` may be null: toJSON() emits `step: null` for a range without one.
11788
11800
  constructor(start, end, step) {
11789
11801
  super();
11790
11802
  if (!isNode(start)) throw new TypeError("Node expected");
@@ -11825,7 +11837,6 @@ var createRangeNode = /* @__PURE__ */ factory(
11825
11837
  * @returns Returns a function which can be called like:
11826
11838
  * evalNode(scope: Object, args: Object, context: *)
11827
11839
  */
11828
- // @ts-expect-error - method overrides property from Node base class
11829
11840
  _compile(math, argNames) {
11830
11841
  const range = math.range;
11831
11842
  const evalStart = this.start._compile(math, argNames);
@@ -12061,10 +12072,11 @@ var createRelationalNode = /* @__PURE__ */ factory(
12061
12072
  * @returns Returns a function which can be called like:
12062
12073
  * evalNode(scope: Object, args: Object, context: *)
12063
12074
  */
12064
- // @ts-expect-error - method overrides property from Node base class
12065
12075
  _compile(math, argNames) {
12066
12076
  const conditionals = this.conditionals;
12067
- const compiled = this.params.map((p) => p._compile(math, argNames));
12077
+ const compiled = this.params.map(
12078
+ (p) => p._compile(math, argNames)
12079
+ );
12068
12080
  return function evalRelationalNode(scope, args, context) {
12069
12081
  let evalLhs;
12070
12082
  let evalRhs = compiled[0](scope, args, context);
@@ -12084,7 +12096,10 @@ var createRelationalNode = /* @__PURE__ */ factory(
12084
12096
  * @param callback
12085
12097
  */
12086
12098
  forEach(callback) {
12087
- this.params.forEach((n, i) => callback(n, "params[" + i + "]", this), this);
12099
+ this.params.forEach(
12100
+ (n, i) => callback(n, "params[" + i + "]", this),
12101
+ this
12102
+ );
12088
12103
  }
12089
12104
  /**
12090
12105
  * Create a new RelationalNode whose children are the results of calling
@@ -12316,7 +12331,6 @@ var createSymbolNode = /* @__PURE__ */ factory(
12316
12331
  /**
12317
12332
  * Create a clone of this node, a shallow copy
12318
12333
  */
12319
- // @ts-expect-error - method overrides property from Node base class
12320
12334
  clone() {
12321
12335
  return new SymbolNode(this.name);
12322
12336
  }
@@ -379,40 +379,6 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
379
379
  getIdentifier(): string;
380
380
  getContent(): any;
381
381
  };
382
- equals(other: {
383
- get type(): string;
384
- get isNode(): boolean;
385
- evaluate(scope?: Record<string, unknown>): unknown;
386
- compile(): import("./Node.js").CompiledExpression;
387
- _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
388
- forEach(_callback: (child: any, path: string, parent: any) => void): void;
389
- map(_callback: (child: any, path: string, parent: any) => any): any;
390
- _ifNode(node: unknown): any;
391
- traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
392
- transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
393
- filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
394
- clone(): any;
395
- cloneDeep(): any;
396
- equals(other: any | null | undefined): boolean;
397
- toString(options?: StringOptions): string;
398
- _toString(_options?: StringOptions): string;
399
- toJSON(): Record<string, unknown>;
400
- toHTML(options?: StringOptions): string;
401
- _toHTML(_options?: StringOptions): string;
402
- toTex(options?: StringOptions): string;
403
- toMarkdown(options?: {
404
- inline?: boolean;
405
- } & StringOptions): string;
406
- toDOT(options?: {
407
- name?: string;
408
- }): string;
409
- toMathML(): string;
410
- _toMathML(): string;
411
- _toTex(_options?: StringOptions): string;
412
- _getCustomString(options?: StringOptions): string | undefined;
413
- getIdentifier(): string;
414
- getContent(): any;
415
- } | null | undefined): boolean;
416
382
  name: string;
417
383
  params: string[];
418
384
  types: string[];
@@ -477,6 +443,40 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
477
443
  * @returns str
478
444
  */
479
445
  _toTex(options?: StringOptions): string;
446
+ equals(other: {
447
+ get type(): string;
448
+ get isNode(): boolean;
449
+ evaluate(scope?: Record<string, unknown>): unknown;
450
+ compile(): import("./Node.js").CompiledExpression;
451
+ _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
452
+ forEach(_callback: (child: any, path: string, parent: any) => void): void;
453
+ map(_callback: (child: any, path: string, parent: any) => any): any;
454
+ _ifNode(node: unknown): any;
455
+ traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
456
+ transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
457
+ filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
458
+ clone(): any;
459
+ cloneDeep(): any;
460
+ equals(other: any | null | undefined): boolean;
461
+ toString(options?: StringOptions): string;
462
+ _toString(_options?: StringOptions): string;
463
+ toJSON(): Record<string, unknown>;
464
+ toHTML(options?: StringOptions): string;
465
+ _toHTML(_options?: StringOptions): string;
466
+ toTex(options?: StringOptions): string;
467
+ toMarkdown(options?: {
468
+ inline?: boolean;
469
+ } & StringOptions): string;
470
+ toDOT(options?: {
471
+ name?: string;
472
+ }): string;
473
+ toMathML(): string;
474
+ _toMathML(): string;
475
+ _toTex(_options?: StringOptions): string;
476
+ _getCustomString(options?: StringOptions): string | undefined;
477
+ getIdentifier(): string;
478
+ getContent(): any;
479
+ } | null | undefined): boolean;
480
480
  toString(options?: StringOptions): string;
481
481
  toHTML(options?: StringOptions): string;
482
482
  toTex(options?: StringOptions): string;
@@ -912,40 +912,6 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
912
912
  getIdentifier(): string;
913
913
  getContent(): any;
914
914
  };
915
- equals(other: {
916
- get type(): string;
917
- get isNode(): boolean;
918
- evaluate(scope?: Record<string, unknown>): unknown;
919
- compile(): import("./Node.js").CompiledExpression;
920
- _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
921
- forEach(_callback: (child: any, path: string, parent: any) => void): void;
922
- map(_callback: (child: any, path: string, parent: any) => any): any;
923
- _ifNode(node: unknown): any;
924
- traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
925
- transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
926
- filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
927
- clone(): any;
928
- cloneDeep(): any;
929
- equals(other: any | null | undefined): boolean;
930
- toString(options?: StringOptions): string;
931
- _toString(_options?: StringOptions): string;
932
- toJSON(): Record<string, unknown>;
933
- toHTML(options?: StringOptions): string;
934
- _toHTML(_options?: StringOptions): string;
935
- toTex(options?: StringOptions): string;
936
- toMarkdown(options?: {
937
- inline?: boolean;
938
- } & StringOptions): string;
939
- toDOT(options?: {
940
- name?: string;
941
- }): string;
942
- toMathML(): string;
943
- _toMathML(): string;
944
- _toTex(_options?: StringOptions): string;
945
- _getCustomString(options?: StringOptions): string | undefined;
946
- getIdentifier(): string;
947
- getContent(): any;
948
- } | null | undefined): boolean;
949
915
  name: string;
950
916
  params: string[];
951
917
  types: string[];
@@ -1010,6 +976,40 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
1010
976
  * @returns str
1011
977
  */
1012
978
  _toTex(options?: StringOptions): string;
979
+ equals(other: {
980
+ get type(): string;
981
+ get isNode(): boolean;
982
+ evaluate(scope?: Record<string, unknown>): unknown;
983
+ compile(): import("./Node.js").CompiledExpression;
984
+ _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
985
+ forEach(_callback: (child: any, path: string, parent: any) => void): void;
986
+ map(_callback: (child: any, path: string, parent: any) => any): any;
987
+ _ifNode(node: unknown): any;
988
+ traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
989
+ transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
990
+ filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
991
+ clone(): any;
992
+ cloneDeep(): any;
993
+ equals(other: any | null | undefined): boolean;
994
+ toString(options?: StringOptions): string;
995
+ _toString(_options?: StringOptions): string;
996
+ toJSON(): Record<string, unknown>;
997
+ toHTML(options?: StringOptions): string;
998
+ _toHTML(_options?: StringOptions): string;
999
+ toTex(options?: StringOptions): string;
1000
+ toMarkdown(options?: {
1001
+ inline?: boolean;
1002
+ } & StringOptions): string;
1003
+ toDOT(options?: {
1004
+ name?: string;
1005
+ }): string;
1006
+ toMathML(): string;
1007
+ _toMathML(): string;
1008
+ _toTex(_options?: StringOptions): string;
1009
+ _getCustomString(options?: StringOptions): string | undefined;
1010
+ getIdentifier(): string;
1011
+ getContent(): any;
1012
+ } | null | undefined): boolean;
1013
1013
  toString(options?: StringOptions): string;
1014
1014
  toHTML(options?: StringOptions): string;
1015
1015
  toTex(options?: StringOptions): string;
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionAssignmentNode.d.ts","sourceRoot":"","sources":["../../src/node/FunctionAssignmentNode.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAKzD,UAAU,aAAa;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,4BAA4B;WAO9B,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO;UAChC,KAAK,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,QAAQ;;eAwCtB,MAAM,UAAU,MAAM,EAAE,GAAG,aAAa,EAAE,QAAQ,QAAQ;;;;;;;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