(arg)
| 142857 | visitors._range = scaleVisitor; |
| 142858 | visitors._scale = scaleVisitor; // resolve scale reference directly to the signal hash argument |
| 142859 | const ref = (arg)=>"_[" + (arg.type === (0, _vegaExpression.Literal) ? (0, _vegaUtil.stringValue)(ScalePrefix + arg.value) : (0, _vegaUtil.stringValue)(ScalePrefix) + "+" + codegen(arg)) + "]"; // define and return internal scale function code generators |
| 142860 | // these internal functions are called by mark encoders |
| 142861 | return { |
| 142862 | _bandwidth: (args)=>`this.__bandwidth(${ref(args[0])})`, |
no test coverage detected