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

Map JS new_expression to Constructor

This commit is contained in:
joshvera 2016-07-30 14:27:34 -04:00
parent f228ed0b6d
commit e2d0b01ced

View File

@ -44,6 +44,7 @@ categoriesForLanguage language name = case (language, name) of
(JavaScript, "void_op") -> Operator
(JavaScript, "for_in_statement") -> For
(JavaScript, "for_of_statement") -> For
(JavaScript, "new_expression") -> Constructor
(Ruby, "hash") -> Object
_ -> defaultCategoryForNodeName name