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

Add a Class JS mapping in categoriesForLanguage

This commit is contained in:
joshvera 2016-07-29 16:28:51 -04:00
parent 82de031db8
commit 1dc3fb2727

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, "class") -> Class
(Ruby, "hash") -> Object
_ -> defaultCategoryForNodeName name