Refactor analyze-project to parse-source-code
This commit is contained in:
1 parent
71a9ed1d1e
commit
3daca3d68f
16 files changed
+1
-1
No files matched your search
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
- class declarations
|
||||
- method declarations
|
||||
- interface declarations
|
||||
*/
|
||||
export default `
|
||||
(class_declaration
|
||||
name: (identifier) @name.definition.class) @definition.class
|
||||
|
||||
(method_declaration
|
||||
name: (identifier) @name.definition.method) @definition.method
|
||||
|
||||
(interface_declaration
|
||||
name: (identifier) @name.definition.interface) @definition.interface
|
||||
`
|
||||
Reference in new issue
Block a user