parser/tests/fixtures/0238/ast.txt
Saif Eddin Gmati 6a6d4d0e5f
chore: refactor ident and dynamic var parsers (#192)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-10 15:24:55 +01:00

47 lines
1.3 KiB
Plaintext

[
Expression {
expr: AssignmentOperation(
Assign {
left: Variable(
SimpleVariable(
SimpleVariable {
span: (
3,
1,
),
name: "foo",
},
),
),
span: (
3,
6,
),
right: Include {
span: (
3,
8,
),
kind: Require,
path: Concat {
left: MagicConst {
span: (
3,
16,
),
constant: Directory,
},
span: (
3,
24,
),
right: LiteralString {
value: "/foo.php",
},
},
},
},
),
},
]