mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add Switch/Case to defaultCategoryForNodeName
This commit is contained in:
parent
f1fd404826
commit
6fea8145e4
@ -56,6 +56,8 @@ defaultCategoryForNodeName name = case name of
|
|||||||
"template_string" -> TemplateString
|
"template_string" -> TemplateString
|
||||||
"var_assignment" -> VarAssignment
|
"var_assignment" -> VarAssignment
|
||||||
"var_declaration" -> VarDecl
|
"var_declaration" -> VarDecl
|
||||||
|
"switch_statement" -> Switch
|
||||||
|
"case" -> Case
|
||||||
_ -> 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