Skip to content

rune-langium / core/src / Choice

Interface: Choice

Defined in: packages/core/src/generated/ast.ts:542

Extends

  • AstNode

Properties

PropertyModifierTypeDescriptionOverridesInherited fromDefined in
$containerreadonlyRosettaModelThe container node in the AST; every node except the root node has a container.langium.AstNode.$container-packages/core/src/generated/ast.ts:543
$containerIndex?readonlynumberIn case $containerProperty is an array, the array index is stored here.-langium.AstNode.$containerIndexnode_modules/.pnpm/langium@4.2.2/node_modules/langium/lib/syntax-tree.d.ts:21
$containerProperty?readonlystringThe property of the $container node that contains this node. This is either a direct reference or an array.-langium.AstNode.$containerPropertynode_modules/.pnpm/langium@4.2.2/node_modules/langium/lib/syntax-tree.d.ts:19
$cstNode?readonlyCstNodeThe Concrete Syntax Tree (CST) node of the text range from which this node was parsed.-langium.AstNode.$cstNodenode_modules/.pnpm/langium@4.2.2/node_modules/langium/lib/syntax-tree.d.ts:23
$document?readonlyLangiumDocument<AstNode>The document containing the AST; only the root node has a direct reference to the document.-langium.AstNode.$documentnode_modules/.pnpm/langium@4.2.2/node_modules/langium/lib/syntax-tree.d.ts:25
$typereadonly"Choice"Every AST node has a type corresponding to what was specified in the grammar declaration.langium.AstNode.$type-packages/core/src/generated/ast.ts:544
annotationspublicAnnotationRef[]---packages/core/src/generated/ast.ts:545
attributespublicChoiceOption[]---packages/core/src/generated/ast.ts:546
definition?publicstring---packages/core/src/generated/ast.ts:547
namepublicstring---packages/core/src/generated/ast.ts:548
synonymspublicRosettaClassSynonym[]---packages/core/src/generated/ast.ts:549

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