* Does partial evaluation to find an exact value or at least the rough type of the expression. * Only call this once scope has been fully generated in a first pass, * else this evaluates on incomplete data and may yield wrong results. * @param {Expression} expression * @param {Set<any>} [val
(expression, values = new Set())
| 801 | * @param {Set<any>} [values] |
| 802 | */ |
| 803 | evaluate(expression, values = new Set()) { |
| 804 | const current = current_evaluations.get(expression); |
| 805 | if (current) return current; |
| 806 | |
| 807 | return new Evaluation(this, expression, values); |
| 808 | } |
| 809 | } |
| 810 | |
| 811 | /** |
no test coverage detected