mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add Throw to defaultCategoryForNodeName
This commit is contained in:
parent
e9a02c219d
commit
b97da37c79
@ -81,6 +81,7 @@ defaultCategoryForNodeName name = case name of
|
|||||||
"while_statement" -> While
|
"while_statement" -> While
|
||||||
"do_statement" -> DoWhile
|
"do_statement" -> DoWhile
|
||||||
"return_statement" -> Return
|
"return_statement" -> Return
|
||||||
|
"throw_statement" -> Throw
|
||||||
_ -> Other name
|
_ -> Other name
|
||||||
|
|
||||||
-- | Return a parser for a tree sitter language & document.
|
-- | Return a parser for a tree sitter language & document.
|
||||||
|
Loading…
Reference in New Issue
Block a user