Debian Codegraph @

runtime/queries/strictdoc/tags.scm

raw symbols SCIP
1 ; StrictDoc symbols, mapped to recognized `@definition.*` kinds
2 ; (see book/src/guides/tags.md). The previous query used hierarchical
3 ; `definition.<area>.<field>` scopes that the symbol picker does not
4 ; recognize, so it produced no symbols. @definition.* captures the whole
5 ; item; @name captures the identifier shown in the picker.
6
7 ; Document
8 (document_config
9 uid: (uid_string) @name) @definition.module
10
11 ; Sections
12 (section_body
13 title: (single_line_string) @name) @definition.section
14
15 ; Requirements / nodes
16 (sdoc_node_field_uid
17 uid: (uid_string) @name) @definition.struct
18 (sdoc_composite_node_opening
19 node_type_opening: (sdoc_composite_node_type_name) @name) @definition.struct
20
21 ; Grammar field definitions
22 (grammar_field_title
23 title: (field_name) @name) @definition.field