parser/tests/0015/ast.txt

54 lines
1.1 KiB
Plaintext
Raw Normal View History

[
Declare {
declares: [
DeclareItem {
key: Identifier {
name: "a",
},
value: Int {
i: 1,
},
},
],
body: [
Expression {
expr: Variable {
name: "a",
},
},
],
},
Declare {
declares: [
DeclareItem {
key: Identifier {
name: "b",
},
value: ConstantString {
value: "9",
},
},
],
body: [
Expression {
expr: Variable {
name: "a",
},
},
],
},
Declare {
declares: [
DeclareItem {
key: Identifier {
name: "foo",
},
value: Float {
f: 1.42,
},
},
],
body: [],
},
]