@danielsimonjr/mathts-expression 0.8.0 → 0.8.2

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.
Files changed (52) hide show
  1. package/README.md +42 -42
  2. package/dist/index.js +276 -347
  3. package/dist/node/AccessorNode.d.ts +121 -132
  4. package/dist/node/AccessorNode.d.ts.map +1 -1
  5. package/dist/node/ArrayNode.d.ts +25 -30
  6. package/dist/node/ArrayNode.d.ts.map +1 -1
  7. package/dist/node/AssignmentNode.d.ts +19 -32
  8. package/dist/node/AssignmentNode.d.ts.map +1 -1
  9. package/dist/node/BlockNode.d.ts +121 -126
  10. package/dist/node/BlockNode.d.ts.map +1 -1
  11. package/dist/node/ConditionalNode.d.ts +25 -30
  12. package/dist/node/ConditionalNode.d.ts.map +1 -1
  13. package/dist/node/ConstantNode.d.ts +93 -100
  14. package/dist/node/ConstantNode.d.ts.map +1 -1
  15. package/dist/node/FunctionAssignmentNode.d.ts +93 -98
  16. package/dist/node/FunctionAssignmentNode.d.ts.map +1 -1
  17. package/dist/node/FunctionNode.d.ts +32 -43
  18. package/dist/node/FunctionNode.d.ts.map +1 -1
  19. package/dist/node/IndexNode.d.ts +949 -72
  20. package/dist/node/IndexNode.d.ts.map +1 -1
  21. package/dist/node/Node.d.ts +43 -39
  22. package/dist/node/Node.d.ts.map +1 -1
  23. package/dist/node/ObjectNode.d.ts +947 -56
  24. package/dist/node/ObjectNode.d.ts.map +1 -1
  25. package/dist/node/OperatorNode.d.ts +955 -79
  26. package/dist/node/OperatorNode.d.ts.map +1 -1
  27. package/dist/node/ParenthesisNode.d.ts +881 -63
  28. package/dist/node/ParenthesisNode.d.ts.map +1 -1
  29. package/dist/node/RangeNode.d.ts +955 -71
  30. package/dist/node/RangeNode.d.ts.map +1 -1
  31. package/dist/node/RelationalNode.d.ts +947 -61
  32. package/dist/node/RelationalNode.d.ts.map +1 -1
  33. package/dist/node/SymbolNode.d.ts +942 -43
  34. package/dist/node/SymbolNode.d.ts.map +1 -1
  35. package/dist/node/utils/access.d.ts +8 -1
  36. package/dist/node/utils/access.d.ts.map +1 -1
  37. package/dist/node/utils/assign.d.ts +9 -1
  38. package/dist/node/utils/assign.d.ts.map +1 -1
  39. package/dist/node/utils/stringSubset.d.ts +8 -8
  40. package/dist/operators.d.ts +12 -15
  41. package/dist/operators.d.ts.map +1 -1
  42. package/dist/parse.d.ts +2 -0
  43. package/dist/parse.d.ts.map +1 -1
  44. package/dist/transform/utils/dimToZeroBase.d.ts +4 -0
  45. package/dist/transform/utils/dimToZeroBase.d.ts.map +1 -1
  46. package/dist/types.d.ts +8 -0
  47. package/dist/types.d.ts.map +1 -1
  48. package/dist/utils/is.d.ts +275 -3
  49. package/dist/utils/is.d.ts.map +1 -1
  50. package/dist/utils/latex.d.ts +12 -0
  51. package/dist/utils/latex.d.ts.map +1 -1
  52. package/package.json +59 -59
@@ -7,40 +7,6 @@ export declare const createConstantNode: import("../utils/factory.js").FactoryFu
7
7
  get isNode(): boolean;
8
8
  evaluate(scope?: Record<string, unknown>): unknown;
9
9
  compile(): import("./Node.js").CompiledExpression;
10
- _ifNode(node: unknown): {
11
- get type(): string;
12
- get isNode(): boolean;
13
- evaluate(scope?: Record<string, unknown>): unknown;
14
- compile(): import("./Node.js").CompiledExpression;
15
- _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
16
- forEach(_callback: (child: /*elided*/ any, path: string, parent: /*elided*/ any) => void): void;
17
- map(_callback: (child: /*elided*/ any, path: string, parent: /*elided*/ any) => /*elided*/ any): /*elided*/ any;
18
- _ifNode(node: unknown): /*elided*/ any;
19
- traverse(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => void): void;
20
- transform(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => /*elided*/ any): /*elided*/ any;
21
- filter(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => boolean): /*elided*/ any[];
22
- clone(): /*elided*/ any;
23
- cloneDeep(): /*elided*/ any;
24
- equals(other: /*elided*/ any | null | undefined): boolean;
25
- toString(options?: StringOptions): string;
26
- _toString(_options?: StringOptions): string;
27
- toJSON(): Record<string, unknown>;
28
- toHTML(options?: StringOptions): string;
29
- _toHTML(_options?: StringOptions): string;
30
- toTex(options?: StringOptions): string;
31
- toMarkdown(options?: {
32
- inline?: boolean;
33
- } & StringOptions): string;
34
- toDOT(options?: {
35
- name?: string;
36
- }): string;
37
- toMathML(): string;
38
- _toMathML(): string;
39
- _toTex(_options?: StringOptions): string;
40
- _getCustomString(options?: StringOptions): string | undefined;
41
- getIdentifier(): string;
42
- getContent(): /*elided*/ any;
43
- };
44
10
  value: unknown;
45
11
  get type(): string;
46
12
  get isConstantNode(): boolean;
@@ -48,60 +14,91 @@ export declare const createConstantNode: import("../utils/factory.js").FactoryFu
48
14
  * Compile a node into a JavaScript function.
49
15
  * This basically pre-calculates as much as possible and only leaves open
50
16
  * calculations which depend on a dynamic scope with variables.
51
- * @param {Object} math Math.js namespace with functions and constants.
52
- * @param {Object} argNames An object with argument names as key and `true`
17
+ * @param _math - Math.js namespace with functions and constants.
18
+ * @param _argNames - An object with argument names as key and `true`
53
19
  * as value. Used in the SymbolNode to optimize
54
20
  * for arguments from user assigned functions
55
21
  * (see FunctionAssignmentNode) or special symbols
56
22
  * like `end` (see IndexNode).
57
- * @return {function} Returns a function which can be called like:
23
+ * @returns Returns a function which can be called like:
58
24
  * evalNode(scope: Object, args: Object, context: *)
59
25
  */
60
26
  _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
61
27
  /**
62
28
  * Execute a callback for each of the child nodes of this node
63
- * @param {function(child: Node, path: string, parent: Node)} callback
29
+ * @param _callback
64
30
  */
65
31
  forEach(_callback: (child: MathNode, path: string, parent: MathNode) => void): void;
66
32
  /**
67
33
  * Create a new ConstantNode with children produced by the given callback.
68
34
  * Trivial because there are no children.
69
- * @param {function(child: Node, path: string, parent: Node) : Node} callback
70
- * @returns {ConstantNode} Returns a clone of the node
35
+ * @param _callback
36
+ * @returns Returns a clone of the node
71
37
  */
72
38
  map(_callback: (child: MathNode, path: string, parent: MathNode) => MathNode): /*elided*/ any;
73
39
  /**
74
40
  * Create a clone of this node, a shallow copy
75
- * @return {ConstantNode}
76
41
  */
77
42
  clone(): /*elided*/ any;
78
43
  /**
79
44
  * Get string representation
80
- * @param {Object} options
81
- * @return {string} str
45
+ * @param options
46
+ * @returns str
82
47
  */
83
48
  _toString(options?: StringOptions): string;
84
49
  /**
85
50
  * Get HTML representation
86
- * @param {Object} options
87
- * @return {string} str
51
+ * @param options
52
+ * @returns str
88
53
  */
89
54
  _toHTML(options?: StringOptions): string;
90
55
  /**
91
56
  * Get a JSON representation of the node
92
- * @returns {Object}
93
57
  */
94
58
  toJSON(): {
95
59
  mathjs: string;
96
60
  value: unknown;
97
61
  };
98
62
  /**
99
- * Get LaTeX representation
100
- * @param {Object} options
101
- * @return {string} str
63
+ * Get the MathML representation of this node.
64
+ * @returns str
102
65
  */
103
66
  _toMathML(): string;
104
67
  _toTex(options?: StringOptions): string;
68
+ _ifNode(node: unknown): {
69
+ get type(): string;
70
+ get isNode(): boolean;
71
+ evaluate(scope?: Record<string, unknown>): unknown;
72
+ compile(): import("./Node.js").CompiledExpression;
73
+ _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
74
+ forEach(_callback: (child: /*elided*/ any, path: string, parent: /*elided*/ any) => void): void;
75
+ map(_callback: (child: /*elided*/ any, path: string, parent: /*elided*/ any) => /*elided*/ any): /*elided*/ any;
76
+ _ifNode(node: unknown): /*elided*/ any;
77
+ traverse(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => void): void;
78
+ transform(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => /*elided*/ any): /*elided*/ any;
79
+ filter(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => boolean): /*elided*/ any[];
80
+ clone(): /*elided*/ any;
81
+ cloneDeep(): /*elided*/ any;
82
+ equals(other: /*elided*/ any | null | undefined): boolean;
83
+ toString(options?: StringOptions): string;
84
+ _toString(_options?: StringOptions): string;
85
+ toJSON(): Record<string, unknown>;
86
+ toHTML(options?: StringOptions): string;
87
+ _toHTML(_options?: StringOptions): string;
88
+ toTex(options?: StringOptions): string;
89
+ toMarkdown(options?: {
90
+ inline?: boolean;
91
+ } & StringOptions): string;
92
+ toDOT(options?: {
93
+ name?: string;
94
+ }): string;
95
+ toMathML(): string;
96
+ _toMathML(): string;
97
+ _toTex(_options?: StringOptions): string;
98
+ _getCustomString(options?: StringOptions): string | undefined;
99
+ getIdentifier(): string;
100
+ getContent(): /*elided*/ any;
101
+ };
105
102
  traverse(callback: (node: {
106
103
  get type(): string;
107
104
  get isNode(): boolean;
@@ -520,10 +517,9 @@ export declare const createConstantNode: import("../utils/factory.js").FactoryFu
520
517
  name: string;
521
518
  /**
522
519
  * Instantiate a ConstantNode from its JSON representation
523
- * @param {Object} json An object structured like
520
+ * @param json - An object structured like
524
521
  * `{"mathjs": "SymbolNode", value: 2.3}`,
525
522
  * where mathjs is optional
526
- * @returns {ConstantNode}
527
523
  */
528
524
  fromJSON(json: {
529
525
  value: unknown;
@@ -531,40 +527,6 @@ export declare const createConstantNode: import("../utils/factory.js").FactoryFu
531
527
  get isNode(): boolean;
532
528
  evaluate(scope?: Record<string, unknown>): unknown;
533
529
  compile(): import("./Node.js").CompiledExpression;
534
- _ifNode(node: unknown): {
535
- get type(): string;
536
- get isNode(): boolean;
537
- evaluate(scope?: Record<string, unknown>): unknown;
538
- compile(): import("./Node.js").CompiledExpression;
539
- _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
540
- forEach(_callback: (child: /*elided*/ any, path: string, parent: /*elided*/ any) => void): void;
541
- map(_callback: (child: /*elided*/ any, path: string, parent: /*elided*/ any) => /*elided*/ any): /*elided*/ any;
542
- _ifNode(node: unknown): /*elided*/ any;
543
- traverse(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => void): void;
544
- transform(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => /*elided*/ any): /*elided*/ any;
545
- filter(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => boolean): /*elided*/ any[];
546
- clone(): /*elided*/ any;
547
- cloneDeep(): /*elided*/ any;
548
- equals(other: /*elided*/ any | null | undefined): boolean;
549
- toString(options?: StringOptions): string;
550
- _toString(_options?: StringOptions): string;
551
- toJSON(): Record<string, unknown>;
552
- toHTML(options?: StringOptions): string;
553
- _toHTML(_options?: StringOptions): string;
554
- toTex(options?: StringOptions): string;
555
- toMarkdown(options?: {
556
- inline?: boolean;
557
- } & StringOptions): string;
558
- toDOT(options?: {
559
- name?: string;
560
- }): string;
561
- toMathML(): string;
562
- _toMathML(): string;
563
- _toTex(_options?: StringOptions): string;
564
- _getCustomString(options?: StringOptions): string | undefined;
565
- getIdentifier(): string;
566
- getContent(): /*elided*/ any;
567
- };
568
530
  value: unknown;
569
531
  get type(): string;
570
532
  get isConstantNode(): boolean;
@@ -572,60 +534,91 @@ export declare const createConstantNode: import("../utils/factory.js").FactoryFu
572
534
  * Compile a node into a JavaScript function.
573
535
  * This basically pre-calculates as much as possible and only leaves open
574
536
  * calculations which depend on a dynamic scope with variables.
575
- * @param {Object} math Math.js namespace with functions and constants.
576
- * @param {Object} argNames An object with argument names as key and `true`
537
+ * @param _math - Math.js namespace with functions and constants.
538
+ * @param _argNames - An object with argument names as key and `true`
577
539
  * as value. Used in the SymbolNode to optimize
578
540
  * for arguments from user assigned functions
579
541
  * (see FunctionAssignmentNode) or special symbols
580
542
  * like `end` (see IndexNode).
581
- * @return {function} Returns a function which can be called like:
543
+ * @returns Returns a function which can be called like:
582
544
  * evalNode(scope: Object, args: Object, context: *)
583
545
  */
584
546
  _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
585
547
  /**
586
548
  * Execute a callback for each of the child nodes of this node
587
- * @param {function(child: Node, path: string, parent: Node)} callback
549
+ * @param _callback
588
550
  */
589
551
  forEach(_callback: (child: MathNode, path: string, parent: MathNode) => void): void;
590
552
  /**
591
553
  * Create a new ConstantNode with children produced by the given callback.
592
554
  * Trivial because there are no children.
593
- * @param {function(child: Node, path: string, parent: Node) : Node} callback
594
- * @returns {ConstantNode} Returns a clone of the node
555
+ * @param _callback
556
+ * @returns Returns a clone of the node
595
557
  */
596
558
  map(_callback: (child: MathNode, path: string, parent: MathNode) => MathNode): /*elided*/ any;
597
559
  /**
598
560
  * Create a clone of this node, a shallow copy
599
- * @return {ConstantNode}
600
561
  */
601
562
  clone(): /*elided*/ any;
602
563
  /**
603
564
  * Get string representation
604
- * @param {Object} options
605
- * @return {string} str
565
+ * @param options
566
+ * @returns str
606
567
  */
607
568
  _toString(options?: StringOptions): string;
608
569
  /**
609
570
  * Get HTML representation
610
- * @param {Object} options
611
- * @return {string} str
571
+ * @param options
572
+ * @returns str
612
573
  */
613
574
  _toHTML(options?: StringOptions): string;
614
575
  /**
615
576
  * Get a JSON representation of the node
616
- * @returns {Object}
617
577
  */
618
578
  toJSON(): {
619
579
  mathjs: string;
620
580
  value: unknown;
621
581
  };
622
582
  /**
623
- * Get LaTeX representation
624
- * @param {Object} options
625
- * @return {string} str
583
+ * Get the MathML representation of this node.
584
+ * @returns str
626
585
  */
627
586
  _toMathML(): string;
628
587
  _toTex(options?: StringOptions): string;
588
+ _ifNode(node: unknown): {
589
+ get type(): string;
590
+ get isNode(): boolean;
591
+ evaluate(scope?: Record<string, unknown>): unknown;
592
+ compile(): import("./Node.js").CompiledExpression;
593
+ _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
594
+ forEach(_callback: (child: /*elided*/ any, path: string, parent: /*elided*/ any) => void): void;
595
+ map(_callback: (child: /*elided*/ any, path: string, parent: /*elided*/ any) => /*elided*/ any): /*elided*/ any;
596
+ _ifNode(node: unknown): /*elided*/ any;
597
+ traverse(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => void): void;
598
+ transform(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => /*elided*/ any): /*elided*/ any;
599
+ filter(callback: (node: /*elided*/ any, path: string | null, parent: /*elided*/ any | null) => boolean): /*elided*/ any[];
600
+ clone(): /*elided*/ any;
601
+ cloneDeep(): /*elided*/ any;
602
+ equals(other: /*elided*/ any | null | undefined): boolean;
603
+ toString(options?: StringOptions): string;
604
+ _toString(_options?: StringOptions): string;
605
+ toJSON(): Record<string, unknown>;
606
+ toHTML(options?: StringOptions): string;
607
+ _toHTML(_options?: StringOptions): string;
608
+ toTex(options?: StringOptions): string;
609
+ toMarkdown(options?: {
610
+ inline?: boolean;
611
+ } & StringOptions): string;
612
+ toDOT(options?: {
613
+ name?: string;
614
+ }): string;
615
+ toMathML(): string;
616
+ _toMathML(): string;
617
+ _toTex(_options?: StringOptions): string;
618
+ _getCustomString(options?: StringOptions): string | undefined;
619
+ getIdentifier(): string;
620
+ getContent(): /*elided*/ any;
621
+ };
629
622
  traverse(callback: (node: {
630
623
  get type(): string;
631
624
  get isNode(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ConstantNode.d.ts","sourceRoot":"","sources":["../../src/node/ConstantNode.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAKzD,eAAO,MAAM,kBAAkB;UAOrB,KAAK,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,QAAQ;eAC/B,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO;;gBAiBjB,OAAO;;;;;;;;;;;;;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QAI5E;;WAEG;;QAKH;;;;WAIG;4BACiB,aAAa,GAAG,MAAM;QAI1C;;;;WAIG;0BACe,aAAa,GAAG,MAAM;QAuBxC;;WAEG;kBACO;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,OAAO,CAAA;SAAE;QAc5C;;;WAGG;qBACU,MAAM;yBAIF,aAAa,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwC5C,CAAC"}
@@ -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[];
@@ -423,43 +389,41 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
423
389
  * Compile a node into a JavaScript function.
424
390
  * This basically pre-calculates as much as possible and only leaves open
425
391
  * calculations which depend on a dynamic scope with variables.
426
- * @param {Object} math Math.js namespace with functions and constants.
427
- * @param {Object} argNames An object with argument names as key and `true`
392
+ * @param math - Math.js namespace with functions and constants.
393
+ * @param argNames - An object with argument names as key and `true`
428
394
  * as value. Used in the SymbolNode to optimize
429
395
  * for arguments from user assigned functions
430
396
  * (see FunctionAssignmentNode) or special symbols
431
397
  * like `end` (see IndexNode).
432
- * @return {function} Returns a function which can be called like:
398
+ * @returns Returns a function which can be called like:
433
399
  * evalNode(scope: Object, args: Object, context: *)
434
400
  */
435
401
  _compile(math: Record<string, unknown>, argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
436
402
  /**
437
403
  * Execute a callback for each of the child nodes of this node
438
- * @param {function(child: Node, path: string, parent: Node)} callback
404
+ * @param callback
439
405
  */
440
406
  forEach(callback: (child: MathNode, path: string, parent: MathNode) => void): void;
441
407
  /**
442
408
  * Create a new FunctionAssignmentNode whose children are the results of
443
409
  * calling the provided callback function for each child of the original
444
410
  * node.
445
- * @param {function(child: Node, path: string, parent: Node): Node} callback
446
- * @returns {FunctionAssignmentNode} Returns a transformed copy of the node
411
+ * @param callback
412
+ * @returns Returns a transformed copy of the node
447
413
  */
448
414
  map(callback: (child: MathNode, path: string, parent: MathNode) => MathNode): /*elided*/ any;
449
415
  /**
450
416
  * Create a clone of this node, a shallow copy
451
- * @return {FunctionAssignmentNode}
452
417
  */
453
418
  clone(): /*elided*/ any;
454
419
  /**
455
420
  * get string representation
456
- * @param {Object} options
457
- * @return {string} str
421
+ * @param options
422
+ * @returns str
458
423
  */
459
424
  _toString(options?: StringOptions): string;
460
425
  /**
461
426
  * Get a JSON representation of the node
462
- * @returns {Object}
463
427
  */
464
428
  toJSON(): {
465
429
  mathjs: string;
@@ -469,16 +433,50 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
469
433
  };
470
434
  /**
471
435
  * get HTML representation
472
- * @param {Object} options
473
- * @return {string} str
436
+ * @param options
437
+ * @returns str
474
438
  */
475
439
  _toHTML(options?: StringOptions): string;
476
440
  /**
477
441
  * get LaTeX representation
478
- * @param {Object} options
479
- * @return {string} str
442
+ * @param options
443
+ * @returns str
480
444
  */
481
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;
482
480
  toString(options?: StringOptions): string;
483
481
  toHTML(options?: StringOptions): string;
484
482
  toTex(options?: StringOptions): string;
@@ -530,14 +528,13 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
530
528
  name: string;
531
529
  /**
532
530
  * Instantiate an FunctionAssignmentNode from its JSON representation
533
- * @param {Object} json
531
+ * @param json
534
532
  * An object structured like
535
533
  * ```
536
534
  * {"mathjs": "FunctionAssignmentNode",
537
535
  * name: ..., params: ..., expr: ...}
538
536
  * ```
539
537
  * where mathjs is optional
540
- * @returns {FunctionAssignmentNode}
541
538
  */
542
539
  fromJSON(json: {
543
540
  name: string;
@@ -915,40 +912,6 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
915
912
  getIdentifier(): string;
916
913
  getContent(): any;
917
914
  };
918
- equals(other: {
919
- get type(): string;
920
- get isNode(): boolean;
921
- evaluate(scope?: Record<string, unknown>): unknown;
922
- compile(): import("./Node.js").CompiledExpression;
923
- _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
924
- forEach(_callback: (child: any, path: string, parent: any) => void): void;
925
- map(_callback: (child: any, path: string, parent: any) => any): any;
926
- _ifNode(node: unknown): any;
927
- traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
928
- transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
929
- filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
930
- clone(): any;
931
- cloneDeep(): any;
932
- equals(other: any | null | undefined): boolean;
933
- toString(options?: StringOptions): string;
934
- _toString(_options?: StringOptions): string;
935
- toJSON(): Record<string, unknown>;
936
- toHTML(options?: StringOptions): string;
937
- _toHTML(_options?: StringOptions): string;
938
- toTex(options?: StringOptions): string;
939
- toMarkdown(options?: {
940
- inline?: boolean;
941
- } & StringOptions): string;
942
- toDOT(options?: {
943
- name?: string;
944
- }): string;
945
- toMathML(): string;
946
- _toMathML(): string;
947
- _toTex(_options?: StringOptions): string;
948
- _getCustomString(options?: StringOptions): string | undefined;
949
- getIdentifier(): string;
950
- getContent(): any;
951
- } | null | undefined): boolean;
952
915
  name: string;
953
916
  params: string[];
954
917
  types: string[];
@@ -959,43 +922,41 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
959
922
  * Compile a node into a JavaScript function.
960
923
  * This basically pre-calculates as much as possible and only leaves open
961
924
  * calculations which depend on a dynamic scope with variables.
962
- * @param {Object} math Math.js namespace with functions and constants.
963
- * @param {Object} argNames An object with argument names as key and `true`
925
+ * @param math - Math.js namespace with functions and constants.
926
+ * @param argNames - An object with argument names as key and `true`
964
927
  * as value. Used in the SymbolNode to optimize
965
928
  * for arguments from user assigned functions
966
929
  * (see FunctionAssignmentNode) or special symbols
967
930
  * like `end` (see IndexNode).
968
- * @return {function} Returns a function which can be called like:
931
+ * @returns Returns a function which can be called like:
969
932
  * evalNode(scope: Object, args: Object, context: *)
970
933
  */
971
934
  _compile(math: Record<string, unknown>, argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
972
935
  /**
973
936
  * Execute a callback for each of the child nodes of this node
974
- * @param {function(child: Node, path: string, parent: Node)} callback
937
+ * @param callback
975
938
  */
976
939
  forEach(callback: (child: MathNode, path: string, parent: MathNode) => void): void;
977
940
  /**
978
941
  * Create a new FunctionAssignmentNode whose children are the results of
979
942
  * calling the provided callback function for each child of the original
980
943
  * node.
981
- * @param {function(child: Node, path: string, parent: Node): Node} callback
982
- * @returns {FunctionAssignmentNode} Returns a transformed copy of the node
944
+ * @param callback
945
+ * @returns Returns a transformed copy of the node
983
946
  */
984
947
  map(callback: (child: MathNode, path: string, parent: MathNode) => MathNode): /*elided*/ any;
985
948
  /**
986
949
  * Create a clone of this node, a shallow copy
987
- * @return {FunctionAssignmentNode}
988
950
  */
989
951
  clone(): /*elided*/ any;
990
952
  /**
991
953
  * get string representation
992
- * @param {Object} options
993
- * @return {string} str
954
+ * @param options
955
+ * @returns str
994
956
  */
995
957
  _toString(options?: StringOptions): string;
996
958
  /**
997
959
  * Get a JSON representation of the node
998
- * @returns {Object}
999
960
  */
1000
961
  toJSON(): {
1001
962
  mathjs: string;
@@ -1005,16 +966,50 @@ export declare const createFunctionAssignmentNode: import("../utils/factory.js")
1005
966
  };
1006
967
  /**
1007
968
  * get HTML representation
1008
- * @param {Object} options
1009
- * @return {string} str
969
+ * @param options
970
+ * @returns str
1010
971
  */
1011
972
  _toHTML(options?: StringOptions): string;
1012
973
  /**
1013
974
  * get LaTeX representation
1014
- * @param {Object} options
1015
- * @return {string} str
975
+ * @param options
976
+ * @returns str
1016
977
  */
1017
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;
1018
1013
  toString(options?: StringOptions): string;
1019
1014
  toHTML(options?: StringOptions): string;
1020
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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