mirror of
https://github.com/github/semantic.git
synced 2025-01-03 13:02:37 +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
|
categoriesForLanguage language name = case (language, name) of
|
||||||
(JavaScript, "object") -> Set.singleton DictionaryLiteral
|
(JavaScript, "object") -> Set.singleton DictionaryLiteral
|
||||||
(JavaScript, "pair") -> Set.singleton Pair
|
(JavaScript, "pair") -> Set.singleton Pair
|
||||||
(JavaScript, "rel_op") -> Set.singleton BinaryOperator
|
(JavaScript, "rel_op") -> Set.singleton BinaryOperator -- relational operator, e.g. >, <, <=, >=, ==, !=
|
||||||
_ -> defaultCategoryForNodeName name
|
_ -> defaultCategoryForNodeName name
|
||||||
|
|
||||||
-- | Given a node name from TreeSitter, return the correct categories.
|
-- | Given a node name from TreeSitter, return the correct categories.
|
||||||
|
Loading…
Reference in New Issue
Block a user