(
mut self,
state: &mut ParserState<'heap, '_, '_>,
span: TextRange,
)
| 62 | } |
| 63 | |
| 64 | fn build( |
| 65 | mut self, |
| 66 | state: &mut ParserState<'heap, '_, '_>, |
| 67 | span: TextRange, |
| 68 | ) -> Result<Expr<'heap>, ParserDiagnostic> { |
| 69 | self.expr.r#type = TypeNode::finish(self.r#type, state); |
| 70 | |
| 71 | Ok(Expr { |
| 72 | id: NodeId::PLACEHOLDER, |
| 73 | span: state.insert_range(span), |
| 74 | kind: ExprKind::Struct(self.expr), |
| 75 | }) |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | fn parse_struct<'heap>( |
nothing calls this directly
no test coverage detected