add comment

pull/16269/head
Rich Harris 3 months ago
parent 6948045049
commit bc796079ae

@ -20,6 +20,10 @@ export function memoize_expression(state, value) {
return b.call('$.get', id);
}
/**
* A utility for extracting complex expressions (such as call expressions)
* from templates and replacing them with `$0`, `$1` etc
*/
export class Memoizer {
/** @type {Array<{ id: Identifier, expression: Expression }>} */
#sync = [];

Loading…
Cancel
Save