MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / parses_const_module_import_binding

Function parses_const_module_import_binding

crates/hll-to-ir/src/parser.rs:2910–2931  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

parse_programMethod · 0.80

Tested by

no test coverage detected