mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Map more categories to Categories
This commit is contained in:
parent
fe270e5072
commit
6bccfb7d2a
@ -45,6 +45,10 @@ defaultCategoryForNodeName name = case name of
|
||||
"integer" -> IntegerLiteral
|
||||
"symbol" -> SymbolLiteral
|
||||
"array" -> ArrayLiteral
|
||||
"function" -> Function
|
||||
"identifier" -> Identifier
|
||||
"formal_parameters" -> Params
|
||||
"statement_block" -> ExpressionStatements
|
||||
_ -> Other name
|
||||
|
||||
-- | Return a parser for a tree sitter language & document.
|
||||
|
Loading…
Reference in New Issue
Block a user