parser/tests/fixtures/0015/ast.txt
azjezz 479f51913c
chore: remove build script
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-05 18:36:04 +01:00

98 lines
2.3 KiB
Plaintext

[
Declare {
declares: [
DeclareItem {
key: Identifier {
start: (
3,
9,
),
name: "a",
end: (
3,
10,
),
},
value: LiteralInteger {
i: 1,
},
},
],
body: [
Expression {
expr: Variable(
Variable {
start: (
4,
5,
),
name: "a",
end: (
4,
7,
),
},
),
},
],
},
Declare {
declares: [
DeclareItem {
key: Identifier {
start: (
7,
9,
),
name: "b",
end: (
7,
10,
),
},
value: LiteralString {
value: "9",
},
},
],
body: [
Expression {
expr: Variable(
Variable {
start: (
8,
5,
),
name: "a",
end: (
8,
7,
),
},
),
},
],
},
Declare {
declares: [
DeclareItem {
key: Identifier {
start: (
11,
9,
),
name: "foo",
end: (
11,
12,
),
},
value: LiteralFloat {
f: 1.42,
},
},
],
body: [],
},
]