1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00

Add Try/Catch/Finally cases to defaultCategoryForNodeName

This commit is contained in:
joshvera 2016-07-29 15:59:51 -04:00
parent 2de0afbe95
commit ddcb6f6a1d

View File

@ -82,6 +82,9 @@ defaultCategoryForNodeName name = case name of
"while_statement" -> While
"do_statement" -> DoWhile
"return_statement" -> Return
"try_statement" -> Try
"catch" -> Catch
"finally" -> Finally
_ -> Other name
-- | Return a parser for a tree sitter language & document.