66 lines
2.2 KiB
Plaintext
66 lines
2.2 KiB
Plaintext
Program {
|
|
ast: Block(
|
|
[
|
|
Statement(
|
|
LocBox {
|
|
inner: Struct(
|
|
Struct {
|
|
name: Ident(
|
|
"foo_t",
|
|
),
|
|
fields: [],
|
|
},
|
|
),
|
|
loc: Loc {
|
|
file: "parser/structs.mcl",
|
|
line: 2,
|
|
col: 7,
|
|
},
|
|
},
|
|
),
|
|
Statement(
|
|
LocBox {
|
|
inner: Struct(
|
|
Struct {
|
|
name: Ident(
|
|
"bar_t",
|
|
),
|
|
fields: [
|
|
(
|
|
Ident(
|
|
"a",
|
|
),
|
|
LocBox {
|
|
inner: Ref {
|
|
inner: Owned(
|
|
Ident(
|
|
"bar_t",
|
|
),
|
|
),
|
|
mutable: false,
|
|
},
|
|
loc: Loc {
|
|
file: "parser/structs.mcl",
|
|
line: 5,
|
|
col: 9,
|
|
},
|
|
},
|
|
),
|
|
],
|
|
},
|
|
),
|
|
loc: Loc {
|
|
file: "parser/structs.mcl",
|
|
line: 4,
|
|
col: 7,
|
|
},
|
|
},
|
|
),
|
|
],
|
|
),
|
|
structs: {},
|
|
enums: {},
|
|
types: {},
|
|
functions: {},
|
|
member_functions: {},
|
|
} |