mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add bool_op and expression_statement mapping to categoriesForLanguage
This commit is contained in:
parent
3b3d3282cb
commit
30d4645dbb
@ -31,6 +31,8 @@ categoriesForLanguage :: Language -> Text -> Category
|
|||||||
categoriesForLanguage language name = case (language, name) of
|
categoriesForLanguage language name = case (language, name) of
|
||||||
(JavaScript, "object") -> Object
|
(JavaScript, "object") -> Object
|
||||||
(JavaScript, "rel_op") -> BinaryOperator -- relational operator, e.g. >, <, <=, >=, ==, !=
|
(JavaScript, "rel_op") -> BinaryOperator -- relational operator, e.g. >, <, <=, >=, ==, !=
|
||||||
|
(JavaScript, "bool_op") -> BinaryOperator
|
||||||
|
(JavaScript, "expression_statement") -> ExpressionStatements
|
||||||
(JavaScript, "this_expression") -> Identifier
|
(JavaScript, "this_expression") -> Identifier
|
||||||
(JavaScript, "null") -> Identifier
|
(JavaScript, "null") -> Identifier
|
||||||
(JavaScript, "undefined") -> Identifier
|
(JavaScript, "undefined") -> Identifier
|
||||||
|
Loading…
Reference in New Issue
Block a user