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

Method parse_typof_expr

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

Source from the content-addressed store, hash-verified

189 }
190
191 fn parse_typof_expr(&mut self) -> Option<Expr> {
192 self.next_token();
193 let expr = match self.parse_expr(Precedence::Lowest) {
194 Some(e) => e,
195 None => return None,
196 };
197 Some(Expr::Typeof { expr: Box::new(expr) })
198 }
199
200 fn parse_loop_expr(&mut self) -> Option<Expr> {
201 self.next_token();

Callers 1

parse_exprMethod · 0.80

Calls 2

parse_exprMethod · 0.80
next_tokenMethod · 0.45

Tested by

no test coverage detected