Code reference detail
parsing.test.ts:parse list items as one-liners and anonymous blocks
packages/language/test/parsing.test.ts:parse list items as one-liners and anonymous blocks
| Idea | Status | Tags | Summary |
|---|---|---|---|
| file_suffix | Reqlan requirement documents use the . rq file suffix . | ||
| lists | Parenthesized lists contain newline-separated items. Each list item is either a one-liner or a nameless block idea in curly braces. Lists may appear as attribute values and inside block bodies. Named lists use a label followed by a parenthesized item list; the opening parenthesis must be followed by a newline before the first item. Nested lists may appear inside block values or as list items; the opening parenthesis must be followed by a newline before the first item. Inline parentheses in body prose — for example continuous ( " live " ) physics or ( pixelRatio 1, no WebGL ) — are plain text, not lists. |
Reference labels
../../packages/language/test/parsing.test.ts:parse list items as one-liners and anonymous blocks