* Resolve an encode operator reference.
(_, ctx)
| 146563 | /** |
| 146564 | * Resolve an encode operator reference. |
| 146565 | */ function getEncode(_, ctx) { |
| 146566 | const spec = _.$encode, encode = {}; |
| 146567 | for(const name in spec){ |
| 146568 | const enc = spec[name]; |
| 146569 | encode[name] = (0, _vegaUtil.accessor)(ctx.encodeExpression(enc.$expr), enc.$fields); |
| 146570 | encode[name].output = enc.$output; |
| 146571 | } |
| 146572 | return encode; |
| 146573 | } |
| 146574 | /** |
| 146575 | * Resolve a context reference. |
| 146576 | */ function getContext(_, ctx) { |
nothing calls this directly
no outgoing calls
no test coverage detected