Fix formatting

This commit is contained in:
Chinmay Dalal 2020-06-23 19:34:40 +05:30
parent 639ffd3e72
commit 665b30cbf8

View file

@ -4,15 +4,15 @@
(method_declaration (method_declaration
name: (identifier) @method) name: (identifier) @method)
(method_invocation (method_invocation
name: (identifier) @method) name: (identifier) @method)
(super) @function.builtin (super) @function.builtin
; Parameters ; Parameters
(formal_parameter (formal_parameter
name: (identifier) @parameter) name: (identifier) @parameter)
(inferred_parameters (identifier) @parameter) (inferred_parameters (identifier) @parameter)
@ -21,9 +21,9 @@
(annotation (annotation
name: (identifier) @attribute) name: (identifier) @attribute)
(marker_annotation (marker_annotation
name: (identifier) @attribute) name: (identifier) @attribute)
; Operators ; Operators
@ -59,23 +59,23 @@
; Types ; Types
(interface_declaration (interface_declaration
name: (identifier) @type) name: (identifier) @type)
(class_declaration (class_declaration
name: (identifier) @type) name: (identifier) @type)
(enum_declaration (enum_declaration
name: (identifier) @type) name: (identifier) @type)
(constructor_declaration (constructor_declaration
name: (identifier) @type) name: (identifier) @type)
(type_identifier) @type (type_identifier) @type
((field_access ((field_access
object: (identifier) @type) object: (identifier) @type)
(#match? @type "^[A-Z]")) (#match? @type "^[A-Z]"))
((scoped_identifier ((scoped_identifier
scope: (identifier) @type) scope: (identifier) @type)
(#match? @type "^[A-Z]")) (#match? @type "^[A-Z]"))
[ [
(boolean_type) (boolean_type)
@ -85,7 +85,7 @@
; Variables ; Variables
((identifier) @constant ((identifier) @constant
(#match? @constant "^_*[A-Z][A-Z\d_]+")) (#match? @constant "^_*[A-Z][A-Z\d_]+"))
(identifier) @variable (identifier) @variable
(this) @variable.builtin (this) @variable.builtin