mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Add math_op
This commit is contained in:
parent
d216481ca7
commit
7c1e6677a8
@ -37,12 +37,14 @@ categoriesForLanguage language name = case (language, name) of
|
||||
(JavaScript, "undefined") -> Identifier
|
||||
(JavaScript, "arrow_function") -> Function
|
||||
(JavaScript, "generator_function") -> Function
|
||||
(JavaScript, "rel_op") -> BinaryOperator -- relational operator, e.g. >, <, <=, >=, ==, !=
|
||||
(JavaScript, "bool_op") -> BinaryOperator
|
||||
(JavaScript, "delete_op") -> Operator
|
||||
(JavaScript, "type_op") -> Operator
|
||||
(JavaScript, "void_op") -> Operator
|
||||
(JavaScript, "comma_op") -> Operator
|
||||
(JavaScript, "math_op") -> BinaryOperator -- bitwise operator, e.g. +, -, *, /.
|
||||
(JavaScript, "bool_op") -> BinaryOperator -- boolean operator, e.g. ||, &&.
|
||||
(JavaScript, "bitwise_op") -> BinaryOperator -- bitwise operator, e.g. ^, &, etc.
|
||||
(JavaScript, "rel_op") -> BinaryOperator -- relational operator, e.g. >, <, <=, >=, ==, !=.
|
||||
(JavaScript, "comma_op") -> Operator -- comma operator, e.g. expr1, expr2.
|
||||
(JavaScript, "delete_op") -> Operator -- delete operator, e.g. delete x[2].
|
||||
(JavaScript, "type_op") -> Operator -- type operator, e.g. typeof Object.
|
||||
(JavaScript, "void_op") -> Operator -- void operator, e.g. void 2.
|
||||
(JavaScript, "for_in_statement") -> For
|
||||
(JavaScript, "for_of_statement") -> For
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user