Returns true if the set contains the given syntax kind.
(self, kind: SyntaxKind)
| 101 | |
| 102 | /// Returns true if the set contains the given syntax kind. |
| 103 | pub(crate) const fn contains(self, kind: SyntaxKind) -> bool { |
| 104 | self.0 & kind.into_flag() != 0 |
| 105 | } |
| 106 | |
| 107 | /// Returns true if the set contains any of the syntax kinds in the given set. |
| 108 | pub(crate) const fn contains_any(self, set: Self) -> bool { |
no test coverage detected