Fix spaces

This commit is contained in:
Chinmay Dalal 2020-06-20 17:12:07 +05:30 committed by GitHub
parent 40cc924bf4
commit a188d4ff91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,17 +3,16 @@
; Methods ; Methods
[ [
(method_declaration (method_declaration
name: (identifier)) name: (identifier))
(method_invocation
(method_invocation
name: (identifier)) name: (identifier))
] @method ] @method
[ [
(method_declaration (method_declaration
parameters: (formal_parameter)) parameters: (formal_parameter))
(method_declaration (method_declaration
parameters: (formal_parameter)) parameters: (formal_parameter))
] @parameter ] @parameter
@ -22,9 +21,9 @@
; Annotations ; Annotations
[ [
(annotation (annotation
name: (identifier)) name: (identifier))
(marker_annotation (marker_annotation
name: (identifier)) name: (identifier))
] @attribute ] @attribute
@ -60,15 +59,15 @@
; Types ; Types
[ [
(interface_declaration (interface_declaration
name: (identifier)) name: (identifier))
(class_declaration (class_declaration
name: (identifier)) name: (identifier))
(enum_declaration (enum_declaration
name: (identifier) name: (identifier)
(constructor_declaration (constructor_declaration
name: (identifier)) name: (identifier))
(type_identifier) (type_identifier)
] @type ] @type
@ -98,14 +97,14 @@
; Literals ; Literals
[ [
(hex_integer_literal) (hex_integer_literal)
(decimal_integer_literal) (decimal_integer_literal)
(octal_integer_literal) (octal_integer_literal)
] @number ] @number
[ [
(decimal_floating_point_literal) (decimal_floating_point_literal)
(hex_floating_point_literal) (hex_floating_point_literal)
] @float ] @float
(character_literal) @character (character_literal) @character
@ -187,9 +186,9 @@
; Punctuation ; Punctuation
[ [
";" ";"
"." "."
"," ","
] @punctuation.delimiter ] @punctuation.delimiter
[ [
@ -198,4 +197,5 @@
"{" "{"
"}" "}"
"(" "("
")"] @punctuation.bracket ")"
] @punctuation.bracket