mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Document rel_op.
This commit is contained in:
parent
792b8b9995
commit
56e7f29058
@ -57,7 +57,7 @@ categoriesForLanguage :: Language -> String -> Set.Set Category
|
||||
categoriesForLanguage language name = case (language, name) of
|
||||
(JavaScript, "object") -> Set.singleton DictionaryLiteral
|
||||
(JavaScript, "pair") -> Set.singleton Pair
|
||||
(JavaScript, "rel_op") -> Set.singleton BinaryOperator
|
||||
(JavaScript, "rel_op") -> Set.singleton BinaryOperator -- relational operator, e.g. >, <, <=, >=, ==, !=
|
||||
_ -> defaultCategoryForNodeName name
|
||||
|
||||
-- | Given a node name from TreeSitter, return the correct categories.
|
||||
|
Loading…
Reference in New Issue
Block a user