Tags: cesarParra/expression
Tags
Function call cache (#222) * Add import-data command to start-dev workflow * Implement equality and hashCode methods for Literal expressions and add unit tests for expression comparison * Implement equals and hashCode methods for StringLiteral and add unit tests for equality comparison * Implement equals and hashCode methods for Variable class and add unit tests for variable equality comparison * Implement equals and hashCode methods for MergeFieldOrScopeVariable and add unit tests for equality comparison * Implement equals and hashCode methods for Logical expressions and add unit tests for equality comparison * Implement equals and hashCode methods for Binary expressions and add unit tests for equality comparison * Implement equals and hashCode methods for Grouping expressions and add unit tests for equality comparison * Implement equals and hashCode methods for FunctionCall and add unit tests for equality comparison * Implement equals and hashCode methods for various expression types and add unit tests for equality comparison * Implement caching for function calls and update hashCode method for Expr class * Remove debug statements from function execution in FunctionCaller and add a TODO comment for handling line spreads in array literals in Interpreter * Implement caching for query results * Implement caching for function calls and query results in EnvironmentCache class * `nocache` keyword deprecation * Revert "`nocache` keyword deprecation" This reverts commit cb839b8. * Add caching configuration and disable function result caching option * Rename caching configuration for clarity and update related methods * Implement caching control for custom functions and update related classes * Add caching documentation and update navigation * Releasing a new package version
Bulk evaluations (#212) * Initial commit * Refactor evaluation process to improve global context handling * Refactor evaluation logic to support bulk evaluations and handle function declarations * Add bulk evaluation tests and refactor evaluation result handling * Add bulk evaluation test for expression evaluation using Id context * Add test for error handling in bulk evaluation and update Evaluator class comments * Enhance Evaluator class with bulk evaluation capabilities and update documentation * Releasing package version
Fixing issue where running the evaluator multiple times with an expre… ( #202) * Fixing issue where running the evaluator multiple times with an expression with functions errored out. On the second run, the evaluator tried to use the same global context that was declared by the first one. The global context is now cleared after every evaluation. * Releasing 1.30
PreviousNext