mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +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
|
"integer" -> IntegerLiteral
|
||||||
"symbol" -> SymbolLiteral
|
"symbol" -> SymbolLiteral
|
||||||
"array" -> ArrayLiteral
|
"array" -> ArrayLiteral
|
||||||
|
"function" -> Function
|
||||||
|
"identifier" -> Identifier
|
||||||
|
"formal_parameters" -> Params
|
||||||
|
"statement_block" -> ExpressionStatements
|
||||||
_ -> 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