java locals.scm - add reference

This commit is contained in:
Chinmay Dalal 2020-07-20 12:34:33 +05:30 committed by GitHub
parent c2a529fb80
commit 491bf9f270
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,14 +1,3 @@
; CREDITS @maxbrunsfeld (maxbrunsfeld@gmail.com)
;(class_declaration
; name: (identifier) @name) @definticlass
;
;(method_declaration
; name: (identifier) @name) @method
;
;(method_invocation
; name: (identifier) @name) @call
; SCOPES
(class_declaration
body: (_)) @scope
@ -38,3 +27,8 @@
(local_variable_declaration) @definition.var
(field_declaration) @definition.field
(import_declaration) @definition.import
;; REFERENCE
(identifier) @reference
(type_identifier) @reference
;(field_identifier) @reference