mirror of
https://github.com/Noratrieb/ub.git
synced 2026-01-14 16:45:05 +01:00
50 lines
1.6 KiB
Text
50 lines
1.6 KiB
Text
---
|
|
source: parser/src/parser.rs
|
|
assertion_line: 344
|
|
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..26,
|
|
body: [
|
|
Expr(
|
|
BinOp(
|
|
BinOp {
|
|
kind: Add,
|
|
lhs: Literal(
|
|
Integer(
|
|
1,
|
|
18..19,
|
|
),
|
|
),
|
|
rhs: Literal(
|
|
Integer(
|
|
5,
|
|
22..23,
|
|
),
|
|
),
|
|
span: 0..0,
|
|
},
|
|
),
|
|
),
|
|
],
|
|
},
|
|
),
|
|
],
|
|
},
|
|
),
|
|
[],
|
|
)
|