mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add true and false cases to defaultCategoryForNodeName
This commit is contained in:
parent
6e3a2e2a4e
commit
f70bce09c2
@ -59,6 +59,8 @@ defaultCategoryForNodeName name = case name of
|
|||||||
"template_string" -> TemplateString
|
"template_string" -> TemplateString
|
||||||
"var_assignment" -> VarAssignment
|
"var_assignment" -> VarAssignment
|
||||||
"var_declaration" -> VarDecl
|
"var_declaration" -> VarDecl
|
||||||
|
"true" -> Boolean
|
||||||
|
"false" -> Boolean
|
||||||
_ -> 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