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

Method parse_call_expr

src/parser.rs:573–583  ·  view source on GitHub ↗
(&mut self, left: Expr)

Source from the content-addressed store, hash-verified

571 }
572
573 fn parse_call_expr(&mut self, left: Expr) -> Option<Expr> {
574 let args = match self.parse_call_arguments() {
575 Some(e) => e,
576 None => return None,
577 };
578
579 Some(Expr::Call {
580 function: Box::new(left),
581 args,
582 })
583 }
584
585 fn peek_token(&self, t: &Token) -> bool {
586 self.peek_token == *t

Callers 1

parse_exprMethod · 0.80

Calls 1

parse_call_argumentsMethod · 0.80

Tested by

no test coverage detected