()
| 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 | |
| 7416 | const KnownSteps = { |
nothing calls this directly
no test coverage detected