1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00

Map productions to Category.Args

This commit is contained in:
joshvera 2016-06-14 13:51:34 -07:00
parent 5a65983280
commit 45be0bc7ac

View File

@ -48,6 +48,7 @@ defaultCategoryForNodeName name = case name of
"function" -> Function "function" -> Function
"identifier" -> Identifier "identifier" -> Identifier
"formal_parameters" -> Params "formal_parameters" -> Params
"arguments" -> Args
"statement_block" -> ExpressionStatements "statement_block" -> ExpressionStatements
"assignment" -> Assignment "assignment" -> Assignment
"member_access" -> MemberAccess "member_access" -> MemberAccess