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

Function CODE

ui/src/lib/conditions.ts:73–73  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

71
72const KW = (text: 'WHEN' | 'AND' | 'OR' | 'NOT'): WordToken => ({ kw: true, text });
73const CODE = (text: string): WordToken => ({ kw: false, text });
74
75/** `!(a || b)` → NOT `(a || b)`; `!busy` → NOT `busy`; code otherwise untouched. */
76export function clauseTokens(clause: string): WordToken[] {

Callers 3

clauseTokensFunction · 0.85
conditionTokensFunction · 0.85
restTokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected