Lines Matching defs:scope
27 * computations in a call to memoize.scope() - memoization is only
28 * enabled while in that scope, and all cached data is thrown away at
30 * being memoized will not change within the scope.
32 * cvox.Memoize.scope(function() {
51 * to function result. This variable is null when we're out of scope, and it's
52 * a map from string to WeakMap to result when we're in scope.
60 * Keeps track of how many nested times scope() has been called.
68 * Enables memoization within the scope of the given function. You should
69 * ensure that the DOM is not modified within this scope.
71 * It's safe to nest calls to scope. The nested calls have
78 cvox.Memoize.scope = function(functionScope) {
98 * (via a call to scope()), the second time the cached result
118 // If we're not in scope, just call the function directly.