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