Javascript unary expression (#712)

* javascript: Move unary_expression matching.

* javascript: Move unary_expression matching.

* javascript: Update unary to operator

* javascript: Update qnary to be more specific
This commit is contained in:
Dave Lage 2020-12-12 15:47:09 -05:00 committed by GitHub
parent 96e86eab80
commit ff1c77b206
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -185,6 +185,7 @@
(binary_expression "/" @operator)
(ternary_expression ["?" ":"] @operator)
(unary_expression ["!" "~" "-" "+" "delete" "void" "typeof"] @operator)
"(" @punctuation.bracket
")" @punctuation.bracket