rename parser crate

This commit is contained in:
nora 2022-03-25 20:38:55 +01:00
parent 4aabcdfd76
commit 632f9d3426
16 changed files with 31 additions and 27 deletions

View file

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