(code, name)
| 149679 | return !spec || !(0, _vegaUtil.isObject)(spec) ? spec : this.signalRef(spec.signal || propertyLambda(spec)); |
| 149680 | }, |
| 149681 | exprRef (code, name) { |
| 149682 | const params = { |
| 149683 | expr: (0, _vegaFunctions.parseExpression)(code, this) |
| 149684 | }; |
| 149685 | if (name) params.expr.$name = name; |
| 149686 | return ref(this.add(Expression(params))); |
| 149687 | }, |
| 149688 | addBinding (name, bind) { |
| 149689 | if (!this.bindings) (0, _vegaUtil.error)("Nested signals do not support binding: " + (0, _vegaUtil.stringValue)(name)); |
| 149690 | this.bindings.push((0, _vegaUtil.extend)({ |
nothing calls this directly
no test coverage detected