// the top of the recursive descent stack for expressions
the top of the recursive descent stack for expressions
the top of the recursive descent stack for expressions
fn parse_expr_variant(&mut self, ctx: &mut ErrorContext) -> ParseResult<Expr> {
        match self.peek()?.token {
            Token::Var | Token::Let => self.parse_declaration_expr(ctx),
            _ => self.parse_assignment_expr(ctx)
        }
    }
fn parse_expr_variant ( & mut self , ctx : & mut ErrorContext ) -> ParseResult < Expr > { match self . peek ( ) ? . token { Token :: Var | Token :: Let => self . parse_declaration_expr ( ctx ) , _ => self . parse_assignment_expr ( ctx ) } }
the top of the recursive descent stack for expressions
the top of the recursive descent stack for expressions
&mut self
ctx
&mut ErrorContext