(
ctx: CtxRef,
input: ParseStream,
)
| 301 | } |
| 302 | |
| 303 | fn parse_cte( |
| 304 | ctx: CtxRef, |
| 305 | input: ParseStream, |
| 306 | ) -> syn::Result<(LocalId, analyses::Analyses, MirRelationExpr)> { |
| 307 | let cte = input.parse::<kw::cte>()?; |
| 308 | |
| 309 | let ident = input.parse::<syn::Ident>()?; |
| 310 | let id = parse_local_id(ident)?; |
| 311 | |
| 312 | input.parse::<syn::Token![=]>()?; |
| 313 | |
| 314 | let analyses = analyses::parse_analyses(input)?; |
| 315 | |
| 316 | let parse_value = ParseChildren::new(input, cte.span().start()); |
| 317 | let value = parse_value.parse_one(ctx, parse_expr)?; |
| 318 | |
| 319 | Ok((id, analyses, value)) |
| 320 | } |
| 321 | |
| 322 | fn parse_project(ctx: CtxRef, input: ParseStream) -> Result { |
| 323 | let project = input.parse::<kw::Project>()?; |
nothing calls this directly
no test coverage detected