@@ -74,23 +74,23 @@ Queries try to follow the [conventions established by tree-sitter.](https://tree
7474
7575Most captures also include documentation as ` @doc ` . ` @definition.function ` and ` @definition.method ` also capture ` @codeium.parameters ` .
7676
77- | Top-level capture | Python | TypeScript | JavaScript | Go | Java | C++ | PHP | Ruby | C# |
78- | ------------------------- | ------ | ---------- | ---------- | --- | ---- | ----- | --- | ---- | --- |
79- | ` @definition.class ` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
80- | ` @definition.function ` | ✓ | ✓[ ^ 3 ] | ✓ | ✓ | N/A | ✓ | ✓ | N/A | N/A |
81- | ` @definition.method ` | ✓[ ^ 1 ] | ✓[ ^ 3 ] | ✓ | ✓ | ✓ | ✓[ ^ 1 ] | ✓ | ✓ | ✓ |
82- | ` @definition.constructor ` | ✓ | ✓ | ✓ | N/A | ✗ | ✗ | ✗ | ✗ | ✓ |
83- | ` @definition.interface ` | N/A | ✓ | N/A | ✓ | ✓ | N/A | ✓ | ✗ | ✗ |
84- | ` @definition.namespace ` | N/A | ✓ | N/A | N/A | N/A | ✓ | ✓ | N/A | ✓ |
85- | ` @definition.module ` | N/A | ✓ | N/A | N/A | N/A | ✗ | N/A | ✓ | N/A |
86- | ` @definition.type ` | N/A | ✓ | N/A | ✓ | N/A | ✗ | ✗ | N/A | N/A |
87- | ` @definition.constant ` | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
88- | ` @definition.enum ` | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | N/A | ✓ |
89- | ` @definition.import ` | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | N/A | ✓ | ✗ |
90- | ` @definition.include ` | N/A | N/A | N/A | N/A | N/A | ✗ | ✗ | N/A | N/A |
91- | ` @definition.package ` | N/A | N/A | N/A | ✓ | ✓ | N/A | N/A | N/A | N/A |
92- | ` @reference.call ` | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ |
93- | ` @reference.class ` | ✓[ ^ 2 ] | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ |
77+ | Top-level capture | Python | TypeScript | JavaScript | Go | Java | C++ | PHP | Ruby | C# | Perl | Kotlin | Dart | Bash | C |
78+ | ------------------------- | ------ | ---------- | ---------- | --- | ---- | ----- | --- | ---- | --- | ----- | ------ | ----- | ---- | --- |
79+ | ` @definition.class ` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ |
80+ | ` @definition.function ` | ✓ | ✓[ ^ 3 ] | ✓ | ✓ | N/A | ✓ | ✓ | N/A | N/A | ✓ | ✓ | ✓ | ✓ | ✓ |
81+ | ` @definition.method ` | ✓[ ^ 1 ] | ✓[ ^ 3 ] | ✓ | ✓ | ✓ | ✓[ ^ 1 ] | ✓ | ✓ | ✓ | ✓ [ ^ 1 ] | ✓ | ✓ [ ^ 1 ] | ✓ | ✓ |
82+ | ` @definition.constructor ` | ✓ | ✓ | ✓ | N/A | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ | N/A | N/A |
83+ | ` @definition.interface ` | N/A | ✓ | N/A | ✓ | ✓ | N/A | ✓ | ✗ | ✓ | N/A | ✗ | ✗ | N/A | N/A |
84+ | ` @definition.namespace ` | N/A | ✓ | N/A | N/A | N/A | ✓ | ✓ | N/A | ✓ | ✗ | ✗ | N/A | N/A | N/A |
85+ | ` @definition.module ` | N/A | ✓ | N/A | N/A | N/A | ✗ | N/A | ✓ | N/A | N/A | N/A | ✗ | N/A | N/A |
86+ | ` @definition.type ` | N/A | ✓ | N/A | ✓ | N/A | ✗ | ✗ | N/A | N/A | N/A | N/A | ✗ | N/A | N/A |
87+ | ` @definition.constant ` | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | N/A | ✗ |
88+ | ` @definition.enum ` | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | N/A | ✓ | N/A | ✗ | ✗ | N/A | ✗ |
89+ | ` @definition.import ` | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | N/A | ✓ | ✗ | ✓ | ✓ | ✗ | N/A | ✓ |
90+ | ` @definition.include ` | N/A | N/A | N/A | N/A | N/A | ✗ | ✗ | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
91+ | ` @definition.package ` | N/A | N/A | N/A | ✓ | ✓ | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A | N/A |
92+ | ` @reference.call ` | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
93+ | ` @reference.class ` | ✓[ ^ 2 ] | ✓ | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | N/A | N/A |
9494
9595| Language | Supported injections |
9696| -------- | ---------------------- |
0 commit comments