scope arities in captures as operators

pull/830/head
Michael Davis 3 years ago
parent 80b54f2f69
commit 4d8eb09b7c
No known key found for this signature in database
GPG Key ID: 25D3AFE4BA2A0C49

@ -48,10 +48,17 @@
(nil) @variable.property
])
; * capture operand
; * capture operator
(unary_operator
operator: "&"
operand: (integer) @operator)
operand: [
(integer) @operator
(binary_operator
left: [
(call target: (dot left: (_) right: (identifier) @function))
(identifier) @function
] operator: "/" right: (integer) @operator)
])
(operator_identifier) @operator

Loading…
Cancel
Save