rune-langium / core/src / getChoiceOptionPaths
Function: getChoiceOptionPaths()
ts
function getChoiceOptionPaths(choice, seen?): ChoiceOption[][];Defined in: packages/core/src/utils/choice-utils.ts:12
Declared option paths, including nested choices; data fields are not choice arms.
Parameters
| Parameter | Type |
|---|---|
choice | Choice |
seen? | Set<Choice> |
Returns
ChoiceOption[][]