MCPcopy Create free account
hub / github.com/codemix/graph / toStringTokens

Method toStringTokens

packages/graph/src/Steps.ts:7395–7413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7393 }
7394
7395 public override toStringTokens(): StepStringToken[] {
7396 const tokens: StepStringToken[] = [{ kind: "start" }, { kind: "name", value: this.name }];
7397
7398 // Build procedure call string
7399 let callStr = `${this.config.procedureName}(`;
7400 callStr += this.config.arguments.map((arg) => stringifyConditionValueRef(arg)).join(", ");
7401 callStr += ")";
7402
7403 if (this.config.yieldItems && this.config.yieldItems.length > 0) {
7404 callStr += " YIELD ";
7405 callStr += this.config.yieldItems
7406 .map((item) => (item.alias ? `${item.name} AS ${item.alias}` : item.name))
7407 .join(", ");
7408 }
7409
7410 tokens.push({ kind: "value", value: callStr });
7411 tokens.push({ kind: "end" });
7412 return tokens;
7413 }
7414}
7415
7416const KnownSteps = {

Callers

nothing calls this directly

Calls 3

mapMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected