(codegen)
| 143248 | }; // export code generator |
| 143249 | const codeGenerator = (0, _vegaExpression.codegenExpression)(codegenParams); // Build expression function registry |
| 143250 | function buildFunctions(codegen) { |
| 143251 | const fn = (0, _vegaExpression.functions)(codegen); |
| 143252 | eventFunctions.forEach((name)=>fn[name] = eventPrefix + name); |
| 143253 | for(const name1 in functionContext)fn[name1] = thisPrefix + name1; |
| 143254 | (0, _vegaUtil.extend)(fn, internalScaleFunctions(codegen, functionContext, astVisitors)); |
| 143255 | return fn; |
| 143256 | } // Register an expression function |
| 143257 | function expressionFunction(name, fn, visitor) { |
| 143258 | if (arguments.length === 1) return functionContext[name]; |
| 143259 | // register with the functionContext |
nothing calls this directly
no test coverage detected