MCPcopy Create free account
hub / github.com/AlenVelocity/MeowScript / parse_ident

Method parse_ident

src/parser.rs:362–367  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

360 }
361
362 fn parse_ident(&mut self) -> Option<Expr> {
363 match self.current_token {
364 Token::Ident(ref mut ident) => Some(Expr::Ident(Ident(ident.clone()))),
365 _ => None,
366 }
367 }
368
369 fn parse_prefix_expr(&mut self) -> Option<Expr> {
370 let prefix = match self.current_token {

Callers 3

parse_set_statementMethod · 0.80
parse_anew_exprMethod · 0.80
parse_exprMethod · 0.80

Calls 1

IdentClass · 0.85

Tested by

no test coverage detected