mirror of
https://github.com/github/semantic.git
synced 2024-12-22 22:31:36 +03:00
Assign arrow_function
productions as Function Syntax
This commit is contained in:
parent
308a690cdb
commit
513c3b7ec7
@ -33,6 +33,7 @@ categoriesForLanguage language name = case (language, name) of
|
|||||||
(JavaScript, "this_expression") -> Identifier
|
(JavaScript, "this_expression") -> Identifier
|
||||||
(JavaScript, "null") -> Identifier
|
(JavaScript, "null") -> Identifier
|
||||||
(JavaScript, "undefined") -> Identifier
|
(JavaScript, "undefined") -> Identifier
|
||||||
|
(JavaScript, "arrow_function") -> Function
|
||||||
|
|
||||||
(Ruby, "hash") -> DictionaryLiteral
|
(Ruby, "hash") -> DictionaryLiteral
|
||||||
_ -> defaultCategoryForNodeName name
|
_ -> defaultCategoryForNodeName name
|
||||||
|
Loading…
Reference in New Issue
Block a user