single craqte

This commit is contained in:
nora 2023-03-04 11:30:53 +01:00
parent ff78ae710b
commit 2fd78566a3
25 changed files with 36 additions and 64 deletions

View file

@ -1,70 +0,0 @@
---
source: parser/src/parser.rs
expression: r
---
(
Some(
File {
name: "parser__parser__tests",
items: [
FnDecl(
FnDecl {
name: "foo",
params: [],
ret_ty: Some(
Ty {
span: 12..15,
kind: U64,
},
),
id: NodeId(
6,
),
span: 0..26,
body: [
Expr(
Expr {
kind: BinOp(
BinOp {
kind: Add,
lhs: Expr {
kind: Literal(
Integer(
1,
18..19,
),
),
id: NodeId(
3,
),
span: 18..19,
},
rhs: Expr {
kind: Literal(
Integer(
5,
22..23,
),
),
id: NodeId(
4,
),
span: 22..23,
},
span: 18..23,
},
),
id: NodeId(
5,
),
span: 18..23,
},
),
],
},
),
],
},
),
[],
)