MCPcopy Index your code
hub / github.com/microsoft/SandDance / parseOperator

Function parseOperator

docs/app/js/sanddance-app.js:146455–146459  ·  view source on GitHub ↗

* Parse a dataflow operator.

(spec)

Source from the content-addressed store, hash-verified

146453/**
146454 * Parse a dataflow operator.
146455 */ function parseOperator(spec) {
146456 const ctx = this;
146457 if (isOperator(spec.type) || !spec.type) ctx.operator(spec, spec.update ? ctx.operatorExpression(spec.update) : null);
146458 else ctx.transform(spec, spec.type);
146459}
146460/**
146461 * Parse and assign operator parameters.
146462 */ function parseOperatorParameters(spec) {

Callers

nothing calls this directly

Calls 2

isOperatorFunction · 0.70
transformMethod · 0.45

Tested by

no test coverage detected