(codegen)
| 130897 | // Build expression function registry |
| 130898 | |
| 130899 | function buildFunctions(codegen) { |
| 130900 | const fn = (0, _vegaExpression.functions)(codegen); |
| 130901 | eventFunctions.forEach(name => fn[name] = eventPrefix + name); |
| 130902 | |
| 130903 | for (let name in functionContext) { |
| 130904 | fn[name] = thisPrefix + name; |
| 130905 | } |
| 130906 | |
| 130907 | return fn; |
| 130908 | } // Register an expression function |
| 130909 | |
| 130910 | |
| 130911 | function expressionFunction(name, fn, visitor) { |