mirror of
https://github.com/Noratrieb/ub.git
synced 2026-01-14 16:45:05 +01:00
47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
---
|
|
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(
|
|
1,
|
|
),
|
|
span: 0..34,
|
|
body: [
|
|
WhileStmt(
|
|
WhileStmt {
|
|
cond: Expr {
|
|
kind: Name(
|
|
"false",
|
|
),
|
|
id: NodeId(
|
|
0,
|
|
),
|
|
span: 24..29,
|
|
},
|
|
body: [],
|
|
span: 18..32,
|
|
},
|
|
),
|
|
],
|
|
},
|
|
),
|
|
],
|
|
},
|
|
),
|
|
[],
|
|
)
|