TS js: add try statement (#265)

This commit is contained in:
LostNeophyte
2022-11-13 15:12:52 +01:00
committed by GitHub
parent bc091fd9c3
commit 6de3f49bd6

View File

@@ -22,6 +22,11 @@
"if" @open.if) @scope.if
(#not-has-parent? @scope.if else_clause))
; try
(try_statement "try" @open.try) @scope.try
(catch_clause "catch" @mid.try.1)
(finally_clause "finally" @mid.try.2)
; template strings
(template_string
"`" @open.tmpl_str