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