Add files via upload

This commit is contained in:
Chinmay Dalal 2020-07-19 17:41:24 +00:00 committed by GitHub
parent a2f0931254
commit 6bdbca9d33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,23 @@
; CREDITS @maxbrunsfeld (maxbrunsfeld@gmail.com)
;(class_declaration
; name: (identifier) @name) @class
;
;(method_declaration
; name: (identifier) @name) @method
;
;(method_invocation
; name: (identifier) @name) @call
(class_declaration) @scope
(method_declaration) @scope
(if_statement) @scope
(for_statement) @scope
(try_statement
body: (_) @scope)
(catch_clause) @scope
(class_declaration
name: (identifier) @name) @class
name: (identifier) @definition.type)
(method_declaration
name: (identifier) @name) @method
(method_invocation
name: (identifier) @name) @call
name: (identifier) @definition.method)