1
1
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:
joshvera 2016-06-10 15:20:13 -04:00
parent fe270e5072
commit 6bccfb7d2a

View File

@ -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.