Languages / TOML · Edit queries/tags.scm
Tier 2 · Declarative tags.scmTOML
Declarative tree-sitter query plugin powered by QueryLanguagePlugin (rgctl-lang-runtime) and crates/rgctl-lang-toml/queries/tags.scm. Compiles once at startup, validates captures against the Tier-2 vocabulary gate, and extracts symbols, container hierarchy (Container::member), imports, and call edges.
- Grammar Crate
- tree-sitter-toml-ng
- Plugin
- QueryLanguagePlugin (rgctl-lang-toml)
- Extensions
- .toml
- Discover
- rgctl discover . -l toml
- Function Kinds
- —
- Class / Container Kinds
- table
Capture summary
| Capture | Patterns | Graph mapping |
|---|---|---|
| @definition.constant | 1 | Emits SymbolType::Constant. |
| @definition.module | 1 | Emits SymbolType::Module (acts as enclosing container). |
| @name | 2 | Symbol identifier or target callee/type name. |
Query source (crates/rgctl-lang-toml/queries/tags.scm)
; Tier-2 TOML tags for rgctl (standalone; config-formats owns .toml routing).
(table
(bare_key) @name) @definition.module
(pair
(bare_key) @name) @definition.constant
Related: Tier 2 language support · Tier 1 language support · Discovering and indexing