mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-21 21:01:06 -05:00
Refactor tree-sitter
This commit is contained in:
11
src/services/tree-sitter/queries/python.ts
Normal file
11
src/services/tree-sitter/queries/python.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
- class definitions
|
||||
- function definitions
|
||||
*/
|
||||
export default `
|
||||
(class_definition
|
||||
name: (identifier) @name.definition.class) @definition.class
|
||||
|
||||
(function_definition
|
||||
name: (identifier) @name.definition.function) @definition.function
|
||||
`
|
||||
Reference in New Issue
Block a user