(common: readonly string[])
| 147 | |
| 148 | /** The clauses every scenario shares, led by WHEN. */ |
| 149 | export function commonTokens(common: readonly string[]): WordToken[] { |
| 150 | return common.length === 0 ? [] : [KW('WHEN'), ...joinWith(common.map(clauseTokens), 'AND')]; |
| 151 | } |
| 152 | |
| 153 | export interface ScenarioRows<T> { |
| 154 | /** The clauses every site shares, in chain order — said once. */ |