Skip to content

rune-langium / visual-editor/src / StructureChoiceArm

Interface: StructureChoiceArm ​

Defined in: packages/visual-editor/src/types/structure-view.ts:225

A Choice arm — represents one option in a Choice. Unlike Data attributes, Choice arms have no name of their own (their identity IS their type) and no cardinality (they are alternatives, not multi-valued).

Properties ​

PropertyModifierTypeDescriptionDefined in
targetNodeId?readonlystringCanonical id of the referenced node, when resolvable.packages/visual-editor/src/types/structure-view.ts:231
typeKindreadonly| "Data" | "Choice" | "Enum" | "Record" | "TypeAlias" | "Unresolved" | "Builtin"Classification of the referenced type, mirroring StructureRow.typeKind.packages/visual-editor/src/types/structure-view.ts:229
typeNamereadonlystringThe arm's type name as written in source (e.g., "CashPayment").packages/visual-editor/src/types/structure-view.ts:227

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.