MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / whenTokens

Function whenTokens

ui/src/lib/program-model.ts:50–52  ·  view source on GitHub ↗
(when: string)

Source from the content-addressed store, hash-verified

48 * above it to refer back to: `WHEN user AND (await …)`, `WHEN NOT (…)`.
49 */
50export function whenTokens(when: string): WordToken[] {
51 return conditionTokens(when);
52}
53
54/** The words on a run that is not plain sequence — said on the line into it. */
55export function runWords(item: Extract<WireItem, { kind: 'block' }>): string {

Callers 1

lineWordsFunction · 0.70

Calls 1

conditionTokensFunction · 0.90

Tested by

no test coverage detected