Skip to content

rune-langium / core/src / Attribute

Interface: Attribute

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

Extends

  • AstNode

Properties

PropertyModifierTypeDescriptionOverridesInherited fromDefined in
$containerreadonly| Annotation | Data | RosettaFunctionThe container node in the AST; every node except the root node has a container.langium.AstNode.$container-packages/core/src/generated/ast.ts:486
$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"Attribute"Every AST node has a type corresponding to what was specified in the grammar declaration.langium.AstNode.$type-packages/core/src/generated/ast.ts:487
annotationspublicAnnotationRef[]---packages/core/src/generated/ast.ts:488
cardpublicRosettaCardinality---packages/core/src/generated/ast.ts:489
definition?publicstring---packages/core/src/generated/ast.ts:490
labelspublicLabelAnnotation[]---packages/core/src/generated/ast.ts:491
namepublicstring---packages/core/src/generated/ast.ts:492
overridepublicboolean---packages/core/src/generated/ast.ts:493
referencespublicRosettaDocReference[]---packages/core/src/generated/ast.ts:494
ruleReferencespublicRuleReferenceAnnotation[]---packages/core/src/generated/ast.ts:495
synonymspublicRosettaSynonym[]---packages/core/src/generated/ast.ts:496
typeCallpublicTypeCall---packages/core/src/generated/ast.ts:497
typeCallArgspublicTypeCallArgument[]---packages/core/src/generated/ast.ts:498

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