(&mut self, ctx: &BoolTrueContext<'_>)
| 1027 | } |
| 1028 | |
| 1029 | fn visit_BoolTrue(&mut self, ctx: &BoolTrueContext<'_>) -> Self::Return { |
| 1030 | match ctx.tok.as_deref() { |
| 1031 | Some(tok) => self |
| 1032 | .helper |
| 1033 | .next_expr(tok, Expr::Literal(LiteralValue::Boolean(true.into()))), |
| 1034 | None => self.report_error::<ParseError, _>(&ctx.start(), None, "Incomplete bool!"), |
| 1035 | } |
| 1036 | } |
| 1037 | |
| 1038 | fn visit_BoolFalse(&mut self, ctx: &BoolFalseContext<'_>) -> Self::Return { |
| 1039 | match ctx.tok.as_deref() { |