@danielsimonjr/mathts-expression 0.11.1 → 0.12.1

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.
@@ -112,66 +112,6 @@ export declare const createObjectNode: import("../utils/factory.js").FactoryFunc
112
112
  getIdentifier(): string;
113
113
  getContent(): any;
114
114
  } | null) => void): void;
115
- properties: Record<string, MathNode>;
116
- get type(): string;
117
- get isObjectNode(): boolean;
118
- /**
119
- * Compile a node into a JavaScript function.
120
- * This basically pre-calculates as much as possible and only leaves open
121
- * calculations which depend on a dynamic scope with variables.
122
- * @param math - Math.js namespace with functions and constants.
123
- * @param argNames - An object with argument names as key and `true`
124
- * as value. Used in the SymbolNode to optimize
125
- * for arguments from user assigned functions
126
- * (see FunctionAssignmentNode) or special symbols
127
- * like `end` (see IndexNode).
128
- * @returns Returns a function which can be called like:
129
- * evalNode(scope: Object, args: Object, context: *)
130
- */
131
- _compile(math: Record<string, unknown>, argNames: Record<string, boolean>): CompileFunction;
132
- /**
133
- * Execute a callback for each of the child nodes of this node
134
- * @param callback
135
- */
136
- forEach(callback: (child: MathNode, path: string, parent: /*elided*/ any) => void): void;
137
- /**
138
- * Create a new ObjectNode whose children are the results of calling
139
- * the provided callback function for each child of the original node.
140
- * @param callback
141
- * @returns Returns a transformed copy of the node
142
- */
143
- map(callback: (child: MathNode, path: string, parent: /*elided*/ any) => MathNode): /*elided*/ any;
144
- /**
145
- * Create a clone of this node, a shallow copy
146
- */
147
- clone(): /*elided*/ any;
148
- /**
149
- * Get string representation
150
- * @param options
151
- * @returns str
152
- * @override
153
- */
154
- _toString(options?: StringOptions): string;
155
- /**
156
- * Get a JSON representation of the node
157
- */
158
- toJSON(): {
159
- mathjs: string;
160
- properties: Record<string, MathNode>;
161
- };
162
- /**
163
- * Get HTML representation
164
- * @param options
165
- * @returns str
166
- * @override
167
- */
168
- _toHTML(options?: StringOptions): string;
169
- /**
170
- * Get LaTeX representation
171
- * @param options
172
- * @returns str
173
- */
174
- _toTex(options?: StringOptions): string;
175
115
  transform(callback: (node: {
176
116
  get type(): string;
177
117
  get isNode(): boolean;
@@ -305,6 +245,71 @@ export declare const createObjectNode: import("../utils/factory.js").FactoryFunc
305
245
  getIdentifier(): string;
306
246
  getContent(): any;
307
247
  };
248
+ properties: Record<string, MathNode>;
249
+ get type(): string;
250
+ get isObjectNode(): boolean;
251
+ /**
252
+ * Compile a node into a JavaScript function.
253
+ * This basically pre-calculates as much as possible and only leaves open
254
+ * calculations which depend on a dynamic scope with variables.
255
+ * @param math - Math.js namespace with functions and constants.
256
+ * @param argNames - An object with argument names as key and `true`
257
+ * as value. Used in the SymbolNode to optimize
258
+ * for arguments from user assigned functions
259
+ * (see FunctionAssignmentNode) or special symbols
260
+ * like `end` (see IndexNode).
261
+ * @returns Returns a function which can be called like:
262
+ * evalNode(scope: Object, args: Object, context: *)
263
+ */
264
+ _compile(math: Record<string, unknown>, argNames: Record<string, boolean>): CompileFunction;
265
+ /**
266
+ * Execute a callback for each of the child nodes of this node
267
+ * @param callback
268
+ */
269
+ forEach(callback: (child: MathNode, path: string, parent: /*elided*/ any) => void): void;
270
+ /**
271
+ * Create a new ObjectNode whose children are the results of calling
272
+ * the provided callback function for each child of the original node.
273
+ * @param callback
274
+ * @returns Returns a transformed copy of the node
275
+ */
276
+ map(callback: (child: MathNode, path: string, parent: /*elided*/ any) => MathNode): /*elided*/ any;
277
+ /**
278
+ * Create a clone of this node, a shallow copy
279
+ */
280
+ clone(): /*elided*/ any;
281
+ /**
282
+ * Get string representation
283
+ * @param options
284
+ * @returns str
285
+ * @override
286
+ */
287
+ _toString(options?: StringOptions): string;
288
+ /**
289
+ * Get a JSON representation of the node
290
+ */
291
+ toJSON(): {
292
+ mathjs: string;
293
+ properties: Record<string, MathNode>;
294
+ };
295
+ /**
296
+ * Get HTML representation
297
+ * @param options
298
+ * @returns str
299
+ * @override
300
+ */
301
+ _toHTML(options?: StringOptions): string;
302
+ /**
303
+ * Get the MathML representation of this node (mirrors `_toTex`: a
304
+ * braced two-column table of `key:` / value).
305
+ */
306
+ _toMathML(): string;
307
+ /**
308
+ * Get LaTeX representation
309
+ * @param options
310
+ * @returns str
311
+ */
312
+ _toTex(options?: StringOptions): string;
308
313
  filter(callback: (node: {
309
314
  get type(): string;
310
315
  get isNode(): boolean;
@@ -483,7 +488,6 @@ export declare const createObjectNode: import("../utils/factory.js").FactoryFunc
483
488
  name?: string;
484
489
  }): string;
485
490
  toMathML(): string;
486
- _toMathML(): string;
487
491
  _getCustomString(options?: import("./Node.js").StringOptions): string | undefined;
488
492
  getIdentifier(): string;
489
493
  getContent(): {
@@ -635,66 +639,6 @@ export declare const createObjectNode: import("../utils/factory.js").FactoryFunc
635
639
  getIdentifier(): string;
636
640
  getContent(): any;
637
641
  } | null) => void): void;
638
- properties: Record<string, MathNode>;
639
- get type(): string;
640
- get isObjectNode(): boolean;
641
- /**
642
- * Compile a node into a JavaScript function.
643
- * This basically pre-calculates as much as possible and only leaves open
644
- * calculations which depend on a dynamic scope with variables.
645
- * @param math - Math.js namespace with functions and constants.
646
- * @param argNames - An object with argument names as key and `true`
647
- * as value. Used in the SymbolNode to optimize
648
- * for arguments from user assigned functions
649
- * (see FunctionAssignmentNode) or special symbols
650
- * like `end` (see IndexNode).
651
- * @returns Returns a function which can be called like:
652
- * evalNode(scope: Object, args: Object, context: *)
653
- */
654
- _compile(math: Record<string, unknown>, argNames: Record<string, boolean>): CompileFunction;
655
- /**
656
- * Execute a callback for each of the child nodes of this node
657
- * @param callback
658
- */
659
- forEach(callback: (child: MathNode, path: string, parent: /*elided*/ any) => void): void;
660
- /**
661
- * Create a new ObjectNode whose children are the results of calling
662
- * the provided callback function for each child of the original node.
663
- * @param callback
664
- * @returns Returns a transformed copy of the node
665
- */
666
- map(callback: (child: MathNode, path: string, parent: /*elided*/ any) => MathNode): /*elided*/ any;
667
- /**
668
- * Create a clone of this node, a shallow copy
669
- */
670
- clone(): /*elided*/ any;
671
- /**
672
- * Get string representation
673
- * @param options
674
- * @returns str
675
- * @override
676
- */
677
- _toString(options?: StringOptions): string;
678
- /**
679
- * Get a JSON representation of the node
680
- */
681
- toJSON(): {
682
- mathjs: string;
683
- properties: Record<string, MathNode>;
684
- };
685
- /**
686
- * Get HTML representation
687
- * @param options
688
- * @returns str
689
- * @override
690
- */
691
- _toHTML(options?: StringOptions): string;
692
- /**
693
- * Get LaTeX representation
694
- * @param options
695
- * @returns str
696
- */
697
- _toTex(options?: StringOptions): string;
698
642
  transform(callback: (node: {
699
643
  get type(): string;
700
644
  get isNode(): boolean;
@@ -828,6 +772,71 @@ export declare const createObjectNode: import("../utils/factory.js").FactoryFunc
828
772
  getIdentifier(): string;
829
773
  getContent(): any;
830
774
  };
775
+ properties: Record<string, MathNode>;
776
+ get type(): string;
777
+ get isObjectNode(): boolean;
778
+ /**
779
+ * Compile a node into a JavaScript function.
780
+ * This basically pre-calculates as much as possible and only leaves open
781
+ * calculations which depend on a dynamic scope with variables.
782
+ * @param math - Math.js namespace with functions and constants.
783
+ * @param argNames - An object with argument names as key and `true`
784
+ * as value. Used in the SymbolNode to optimize
785
+ * for arguments from user assigned functions
786
+ * (see FunctionAssignmentNode) or special symbols
787
+ * like `end` (see IndexNode).
788
+ * @returns Returns a function which can be called like:
789
+ * evalNode(scope: Object, args: Object, context: *)
790
+ */
791
+ _compile(math: Record<string, unknown>, argNames: Record<string, boolean>): CompileFunction;
792
+ /**
793
+ * Execute a callback for each of the child nodes of this node
794
+ * @param callback
795
+ */
796
+ forEach(callback: (child: MathNode, path: string, parent: /*elided*/ any) => void): void;
797
+ /**
798
+ * Create a new ObjectNode whose children are the results of calling
799
+ * the provided callback function for each child of the original node.
800
+ * @param callback
801
+ * @returns Returns a transformed copy of the node
802
+ */
803
+ map(callback: (child: MathNode, path: string, parent: /*elided*/ any) => MathNode): /*elided*/ any;
804
+ /**
805
+ * Create a clone of this node, a shallow copy
806
+ */
807
+ clone(): /*elided*/ any;
808
+ /**
809
+ * Get string representation
810
+ * @param options
811
+ * @returns str
812
+ * @override
813
+ */
814
+ _toString(options?: StringOptions): string;
815
+ /**
816
+ * Get a JSON representation of the node
817
+ */
818
+ toJSON(): {
819
+ mathjs: string;
820
+ properties: Record<string, MathNode>;
821
+ };
822
+ /**
823
+ * Get HTML representation
824
+ * @param options
825
+ * @returns str
826
+ * @override
827
+ */
828
+ _toHTML(options?: StringOptions): string;
829
+ /**
830
+ * Get the MathML representation of this node (mirrors `_toTex`: a
831
+ * braced two-column table of `key:` / value).
832
+ */
833
+ _toMathML(): string;
834
+ /**
835
+ * Get LaTeX representation
836
+ * @param options
837
+ * @returns str
838
+ */
839
+ _toTex(options?: StringOptions): string;
831
840
  filter(callback: (node: {
832
841
  get type(): string;
833
842
  get isNode(): boolean;
@@ -1006,7 +1015,6 @@ export declare const createObjectNode: import("../utils/factory.js").FactoryFunc
1006
1015
  name?: string;
1007
1016
  }): string;
1008
1017
  toMathML(): string;
1009
- _toMathML(): string;
1010
1018
  _getCustomString(options?: import("./Node.js").StringOptions): string | undefined;
1011
1019
  getIdentifier(): string;
1012
1020
  getContent(): {
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectNode.d.ts","sourceRoot":"","sources":["../../src/node/ObjectNode.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAI1C,KAAK,eAAe,GAAG,CACrB,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,EAAE,OAAO,KACb,OAAO,CAAC;AAEb,UAAU,aAAa;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,UAAU,YAAY;IACpB,IAAI,EAAE,KAAK,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,QAAQ,CAAC;CAC5C;AAKD,eAAO,MAAM,gBAAgB;sBA4BE,MAAM,CAAC,MAAM,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C,MAAM,EAAE,OAAO,CAAC,GAAG,eAAe;QAoC3F;;;WAGG;0BACe,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,gBAAY,KAAK,IAAI,GAAG,IAAI;QAQpF;;;;;WAKG;sBACW,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,gBAAY,KAAK,QAAQ;QAgB7E;;WAEG;;QAWH;;;;;WAKG;4BACiB,aAAa,GAAG,MAAM;QAS1C;;WAEG;kBACO;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAA;SAAE;QAiBlE;;;;;WAKG;0BACe,aAAa,GAAG,MAAM;QAmBxC;;;WAGG;qBACU,MAAM;QAWnB;;;;WAIG;yBACc,aAAa,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa5C,CAAC"}
@@ -380,6 +380,40 @@ export declare const createRangeNode: import("../utils/factory.js").FactoryFunct
380
380
  getIdentifier(): string;
381
381
  getContent(): any;
382
382
  };
383
+ equals(other: {
384
+ get type(): string;
385
+ get isNode(): boolean;
386
+ evaluate(scope?: Record<string, unknown>): unknown;
387
+ compile(): import("./Node.js").CompiledExpression;
388
+ _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
389
+ forEach(_callback: (child: any, path: string, parent: any) => void): void;
390
+ map(_callback: (child: any, path: string, parent: any) => any): any;
391
+ _ifNode(node: unknown): any;
392
+ traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
393
+ transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
394
+ filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
395
+ clone(): any;
396
+ cloneDeep(): any;
397
+ equals(other: any | null | undefined): boolean;
398
+ toString(options?: import("./Node.js").StringOptions): string;
399
+ _toString(_options?: import("./Node.js").StringOptions): string;
400
+ toJSON(): Record<string, unknown>;
401
+ toHTML(options?: import("./Node.js").StringOptions): string;
402
+ _toHTML(_options?: import("./Node.js").StringOptions): string;
403
+ toTex(options?: import("./Node.js").StringOptions): string;
404
+ toMarkdown(options?: {
405
+ inline?: boolean;
406
+ } & import("./Node.js").StringOptions): string;
407
+ toDOT(options?: {
408
+ name?: string;
409
+ }): string;
410
+ toMathML(): string;
411
+ _toMathML(): string;
412
+ _toTex(_options?: import("./Node.js").StringOptions): string;
413
+ _getCustomString(options?: import("./Node.js").StringOptions): string | undefined;
414
+ getIdentifier(): string;
415
+ getContent(): any;
416
+ } | null | undefined): boolean;
383
417
  start: MathNode;
384
418
  end: MathNode;
385
419
  step: MathNode | null;
@@ -441,6 +475,10 @@ export declare const createRangeNode: import("../utils/factory.js").FactoryFunct
441
475
  * @returns str
442
476
  */
443
477
  _toHTML(options?: StringOptions): string;
478
+ /**
479
+ * Get the MathML representation of this node (mirrors `_toTex`).
480
+ */
481
+ _toMathML(): string;
444
482
  /**
445
483
  * Get LaTeX representation
446
484
  * @params {Object} options
@@ -448,40 +486,6 @@ export declare const createRangeNode: import("../utils/factory.js").FactoryFunct
448
486
  */
449
487
  _toTex(options?: StringOptions): string;
450
488
  get isNode(): boolean;
451
- equals(other: {
452
- get type(): string;
453
- get isNode(): boolean;
454
- evaluate(scope?: Record<string, unknown>): unknown;
455
- compile(): import("./Node.js").CompiledExpression;
456
- _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
457
- forEach(_callback: (child: any, path: string, parent: any) => void): void;
458
- map(_callback: (child: any, path: string, parent: any) => any): any;
459
- _ifNode(node: unknown): any;
460
- traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
461
- transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
462
- filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
463
- clone(): any;
464
- cloneDeep(): any;
465
- equals(other: any | null | undefined): boolean;
466
- toString(options?: import("./Node.js").StringOptions): string;
467
- _toString(_options?: import("./Node.js").StringOptions): string;
468
- toJSON(): Record<string, unknown>;
469
- toHTML(options?: import("./Node.js").StringOptions): string;
470
- _toHTML(_options?: import("./Node.js").StringOptions): string;
471
- toTex(options?: import("./Node.js").StringOptions): string;
472
- toMarkdown(options?: {
473
- inline?: boolean;
474
- } & import("./Node.js").StringOptions): string;
475
- toDOT(options?: {
476
- name?: string;
477
- }): string;
478
- toMathML(): string;
479
- _toMathML(): string;
480
- _toTex(_options?: import("./Node.js").StringOptions): string;
481
- _getCustomString(options?: import("./Node.js").StringOptions): string | undefined;
482
- getIdentifier(): string;
483
- getContent(): any;
484
- } | null | undefined): boolean;
485
489
  toString(options?: import("./Node.js").StringOptions): string;
486
490
  toHTML(options?: import("./Node.js").StringOptions): string;
487
491
  toTex(options?: import("./Node.js").StringOptions): string;
@@ -492,7 +496,6 @@ export declare const createRangeNode: import("../utils/factory.js").FactoryFunct
492
496
  name?: string;
493
497
  }): string;
494
498
  toMathML(): string;
495
- _toMathML(): string;
496
499
  _getCustomString(options?: import("./Node.js").StringOptions): string | undefined;
497
500
  getIdentifier(): string;
498
501
  getContent(): {
@@ -913,6 +916,40 @@ export declare const createRangeNode: import("../utils/factory.js").FactoryFunct
913
916
  getIdentifier(): string;
914
917
  getContent(): any;
915
918
  };
919
+ equals(other: {
920
+ get type(): string;
921
+ get isNode(): boolean;
922
+ evaluate(scope?: Record<string, unknown>): unknown;
923
+ compile(): import("./Node.js").CompiledExpression;
924
+ _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
925
+ forEach(_callback: (child: any, path: string, parent: any) => void): void;
926
+ map(_callback: (child: any, path: string, parent: any) => any): any;
927
+ _ifNode(node: unknown): any;
928
+ traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
929
+ transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
930
+ filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
931
+ clone(): any;
932
+ cloneDeep(): any;
933
+ equals(other: any | null | undefined): boolean;
934
+ toString(options?: import("./Node.js").StringOptions): string;
935
+ _toString(_options?: import("./Node.js").StringOptions): string;
936
+ toJSON(): Record<string, unknown>;
937
+ toHTML(options?: import("./Node.js").StringOptions): string;
938
+ _toHTML(_options?: import("./Node.js").StringOptions): string;
939
+ toTex(options?: import("./Node.js").StringOptions): string;
940
+ toMarkdown(options?: {
941
+ inline?: boolean;
942
+ } & import("./Node.js").StringOptions): string;
943
+ toDOT(options?: {
944
+ name?: string;
945
+ }): string;
946
+ toMathML(): string;
947
+ _toMathML(): string;
948
+ _toTex(_options?: import("./Node.js").StringOptions): string;
949
+ _getCustomString(options?: import("./Node.js").StringOptions): string | undefined;
950
+ getIdentifier(): string;
951
+ getContent(): any;
952
+ } | null | undefined): boolean;
916
953
  start: MathNode;
917
954
  end: MathNode;
918
955
  step: MathNode | null;
@@ -974,6 +1011,10 @@ export declare const createRangeNode: import("../utils/factory.js").FactoryFunct
974
1011
  * @returns str
975
1012
  */
976
1013
  _toHTML(options?: StringOptions): string;
1014
+ /**
1015
+ * Get the MathML representation of this node (mirrors `_toTex`).
1016
+ */
1017
+ _toMathML(): string;
977
1018
  /**
978
1019
  * Get LaTeX representation
979
1020
  * @params {Object} options
@@ -981,40 +1022,6 @@ export declare const createRangeNode: import("../utils/factory.js").FactoryFunct
981
1022
  */
982
1023
  _toTex(options?: StringOptions): string;
983
1024
  get isNode(): boolean;
984
- equals(other: {
985
- get type(): string;
986
- get isNode(): boolean;
987
- evaluate(scope?: Record<string, unknown>): unknown;
988
- compile(): import("./Node.js").CompiledExpression;
989
- _compile(_math: Record<string, unknown>, _argNames: Record<string, boolean>): (scope: Map<string, unknown>, args: Record<string, unknown>, context: unknown) => unknown;
990
- forEach(_callback: (child: any, path: string, parent: any) => void): void;
991
- map(_callback: (child: any, path: string, parent: any) => any): any;
992
- _ifNode(node: unknown): any;
993
- traverse(callback: (node: any, path: string | null, parent: any | null) => void): void;
994
- transform(callback: (node: any, path: string | null, parent: any | null) => any): any;
995
- filter(callback: (node: any, path: string | null, parent: any | null) => boolean): any[];
996
- clone(): any;
997
- cloneDeep(): any;
998
- equals(other: any | null | undefined): boolean;
999
- toString(options?: import("./Node.js").StringOptions): string;
1000
- _toString(_options?: import("./Node.js").StringOptions): string;
1001
- toJSON(): Record<string, unknown>;
1002
- toHTML(options?: import("./Node.js").StringOptions): string;
1003
- _toHTML(_options?: import("./Node.js").StringOptions): string;
1004
- toTex(options?: import("./Node.js").StringOptions): string;
1005
- toMarkdown(options?: {
1006
- inline?: boolean;
1007
- } & import("./Node.js").StringOptions): string;
1008
- toDOT(options?: {
1009
- name?: string;
1010
- }): string;
1011
- toMathML(): string;
1012
- _toMathML(): string;
1013
- _toTex(_options?: import("./Node.js").StringOptions): string;
1014
- _getCustomString(options?: import("./Node.js").StringOptions): string | undefined;
1015
- getIdentifier(): string;
1016
- getContent(): any;
1017
- } | null | undefined): boolean;
1018
1025
  toString(options?: import("./Node.js").StringOptions): string;
1019
1026
  toHTML(options?: import("./Node.js").StringOptions): string;
1020
1027
  toTex(options?: import("./Node.js").StringOptions): string;
@@ -1025,7 +1032,6 @@ export declare const createRangeNode: import("../utils/factory.js").FactoryFunct
1025
1032
  name?: string;
1026
1033
  }): string;
1027
1034
  toMathML(): string;
1028
- _toMathML(): string;
1029
1035
  _getCustomString(options?: import("./Node.js").StringOptions): string | undefined;
1030
1036
  getIdentifier(): string;
1031
1037
  getContent(): {
@@ -1 +1 @@
1
- {"version":3,"file":"RangeN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YG;uBACY,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,YAAY,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,eAAe;QA8B3F;;;WAGG;0BACe,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,gBAAW,KAAK,IAAI,GAAG,IAAI;QAQnF;;;;;WAKG;sBACW,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,gBAAW,KAAK,QAAQ;QAQ5E;;WAEG;;QAKH;;;;WAIG;4BACiB,aAAa,GAAG,MAAM;QAU1C;;WAEG;kBACO;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,QAAQ,CAAC;YAAC,GAAG,EAAE,QAAQ,CAAC;YAAC,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAA;SAAE;QAoBnF;;;;WAIG;0BACe,aAAa,GAAG,MAAM;QAYxC;;WAEG;qBACU,MAAM;QAanB;;;;WAIG;yBACc,aAAa,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../../../src/node/utils/access.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAA;CAAE,YAazE,OAAO,SACR;IAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAAC,iBAAiB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAA;CAAE,aAwBrF"}
1
+ {"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../../../src/node/utils/access.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAA;CAAE,YAazE,OAAO,SACR;IAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAAC,iBAAiB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAA;CAAE,aA4BrF"}
@@ -1 +1 @@
1
- {"version":3,"file":"assign.d.ts","sourceRoot":"","sources":["../../../src/node/utils/assign.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAA;CAAE,YAgBzE,OAAO,SACR;IACL,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAChC,iBAAiB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,SAAS,SACN,OAAO,aA8BjB"}
1
+ {"version":3,"file":"assign.d.ts","sourceRoot":"","sources":["../../../src/node/utils/assign.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,OAAO,CAAA;CAAE,YAgBzE,OAAO,SACR;IACL,gBAAgB,EAAE,MAAM,OAAO,CAAC;IAChC,iBAAiB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,SAAS,SACN,OAAO,aAkCjB"}
@@ -0,0 +1,3 @@
1
+ /** Short human-readable type name of a value, for error messages. */
2
+ export declare function describeType(value: unknown): string;
3
+ //# sourceMappingURL=describeType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"describeType.d.ts","sourceRoot":"","sources":["../../../src/node/utils/describeType.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAQnD"}
@@ -1 +1 @@
1
- {"version":3,"file":"parse.d.ts","sourceRoot":"","sources":["../src/parse.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAI1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C;kFACkF;AAClF,KAAK,eAAe,GAAG,KAAK,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,QAAQ,CAAC;AAK5D;8BAC8B;AAC9B,UAAU,aAAa;IAIrB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAC;IACjD,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,EAAE,CAAC;IACrD,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,QAAQ,GAAG,QAAQ,EAAE,CAAC;IACzE,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1D,mBAAmB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxC,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACtD,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC;IACvD,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACjD,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG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AAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;CACjF;AAED;8CAC8C;AAC9C,UAAU,iBAAiB;IACzB,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IAClD,MAAM,EAAE,gBAAgB,CAAC;IACzB,YAAY,EAAE,eAAe,CAAC;IAC9B,SAAS,EAAE,eAAe,CAAC;IAC3B,cAAc,EAAE,eAAe,CAAC;IAChC,SAAS,EAAE,eAAe,CAAC;IAC3B,eAAe,EAAE,eAAe,CAAC;IACjC,YAAY,EAAE,eAAe,CAAC;IAC9B,sBAAsB,EAAE,eAAe,CAAC;IACxC,YAAY,EAAE,eAAe,CAAC;IAC9B,SAAS,EAAE,eAAe,CAAC;IAC3B,UAAU,EAAE,eAAe,CAAC;IAC5B,YAAY,EAAE,eAAe,CAAC;IAC9B,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,EAAE,eAAe,CAAC;IAC3B,cAAc,EAAE,eAAe,CAAC;IAChC,UAAU,EAAE,eAAe,CAAC;CAC7B;AA4CD,UAAU,YAAY;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CACzC;AAkDD,eAAO,MAAM,WAAW,gFA01DvB,CAAC"}
@@ -32,6 +32,8 @@ export declare const SCALAR_FUNCTION_LOWERING: {
32
32
  readonly cosh: 'cosh';
33
33
  readonly tanh: 'tanh';
34
34
  readonly abs: 'abs';
35
+ readonly sqrt: 'sqrt';
36
+ readonly atan: 'atan';
35
37
  };
36
38
  /** Names a caller may pass to {@link ScalarBuilder.call}. */
37
39
  export type ScalarFunctionName = keyof typeof SCALAR_FUNCTION_LOWERING;
@@ -1 +1 @@
1
- {"version":3,"file":"scalar-builder.d.ts","sourceRoot":"","sources":["../src/scalar-builder.ts"],"names":[],"mappings":"AAAA;;;;;;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BAAa,gBAAiB,SAAQ,KAAK;IACzC,YAAY,OAAO,EAAE,MAAM,EAG1B;CACF;AAkCD;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,aAAa,CAgGnD"}
@@ -10,7 +10,12 @@ import { type LoweredScalarFn, type ScalarNode, type ScalarOperator } from './sc
10
10
  *
11
11
  * Omitted fields default to 1. A `symbol` record supplies per-name weights; a
12
12
  * name that is absent from the record still weighs 1. Weights are summed
13
- * across the stored tree and then rounded with `Math.round`.
13
+ * across the stored tree and then rounded with `Math.round`, so distinct trees
14
+ * can share one reported complexity after rounding. Keys on `call` must use the
15
+ * lowered stored name (`ln` in the builder is `log` here); unknown keys are
16
+ * ignored at walk time. `searchScalars` copies caller weights into a frozen
17
+ * snapshot before the first yield; until then only plain data objects are
18
+ * accepted.
14
19
  *
15
20
  * @example
16
21
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"scalar-structure.d.ts","sourceRoot":"","sources":["../src/scalar-structure.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,UAAU,EACf,KAAK,cAAc,EACpB,MAAM,qBAAqB,CAAC;AAQ7B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,uBAAuB;IACtC,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;IACtD,qFAAqF;IACrF,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;IACzD,4CAA4C;IAC5C,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,6FAA6F;IAC7F,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CAC7D;AAiCD;;;;;;;;;;;;;;;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;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAE3D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,GAAG,OAAO,CAElE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielsimonjr/mathts-expression",
3
- "version": "0.11.1",
3
+ "version": "0.12.1",
4
4
  "description": "Expression parser and evaluator for MathTS",
5
5
  "author": "Daniel Simon Jr.",
6
6
  "license": "MIT",
@@ -42,7 +42,7 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "@danielsimonjr/mathts-core": "^0.21.0"
45
+ "@danielsimonjr/mathts-core": "^0.21.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^26.4.0",