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:
parent
f228ed0b6d
commit
e2d0b01ced
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user