(name, typeConst, extra = [])
| 234 | |
| 235 | describe('unionSelector', () => { |
| 236 | const recAst = (name, typeConst, extra = []) => ({ |
| 237 | Type: 'group', |
| 238 | Name: name, |
| 239 | IsChoiceAddition: false, |
| 240 | Comments: [], |
| 241 | Properties: [{ Name: 'type', Occurrence: { n: 1, m: 1 }, Type: [lit(typeConst)], Comments: [] }, ...extra], |
| 242 | }) |
| 243 | const union = (name, refs) => ({ |
| 244 | Type: 'variable', |
| 245 | Name: name, |
no test coverage detected