55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
Program {
|
|
ast: Block(
|
|
[
|
|
Statement(
|
|
LocBox {
|
|
inner: Enum(
|
|
Enum {
|
|
name: Ident(
|
|
"Foo",
|
|
),
|
|
fields: [],
|
|
},
|
|
),
|
|
loc: Loc {
|
|
file: "parser/enumerations.mcl",
|
|
line: 1,
|
|
col: 5,
|
|
},
|
|
},
|
|
),
|
|
Statement(
|
|
LocBox {
|
|
inner: Enum(
|
|
Enum {
|
|
name: Ident(
|
|
"Bar",
|
|
),
|
|
fields: [
|
|
Ident(
|
|
"A",
|
|
),
|
|
Ident(
|
|
"B",
|
|
),
|
|
Ident(
|
|
"C",
|
|
),
|
|
],
|
|
},
|
|
),
|
|
loc: Loc {
|
|
file: "parser/enumerations.mcl",
|
|
line: 3,
|
|
col: 5,
|
|
},
|
|
},
|
|
),
|
|
],
|
|
),
|
|
structs: {},
|
|
enums: {},
|
|
types: {},
|
|
functions: {},
|
|
member_functions: {},
|
|
} |