()
| 2908 | } |
| 2909 | |
| 2910 | fn match_comma(&mut self) -> bool { |
| 2911 | self.match_variant(|t| matches!(t, Token::Comma)) |
| 2912 | } |
| 2913 | |
| 2914 | fn match_dot(&mut self) -> bool { |
| 2915 | self.match_variant(|t| matches!(t, Token::Dot)) |
| 2916 | } |
| 2917 | |
| 2918 | fn match_plus(&mut self) -> bool { |
| 2919 | self.match_variant(|t| matches!(t, Token::Plus)) |
| 2920 | } |
| 2921 | |
| 2922 | fn match_minus(&mut self) -> bool { |
| 2923 | self.match_variant(|t| matches!(t, Token::Minus)) |
| 2924 | } |
| 2925 | |
| 2926 | fn match_arrow(&mut self) -> bool { |
| 2927 | self.match_minus() && self.match_gt() |
| 2928 | } |
| 2929 | |
| 2930 | fn match_star(&mut self) -> bool { |
| 2931 | self.match_variant(|t| matches!(t, Token::Star)) |
| 2932 | } |
| 2933 | |
| 2934 | fn match_slash(&mut self) -> bool { |
nothing calls this directly
no test coverage detected