parser/tests/fixtures/0013/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

228 lines
5.2 KiB
Plaintext

[
GroupUse {
prefix: SimpleIdentifier {
span: (
3,
5,
),
name: "Foo\",
},
kind: Normal,
uses: [
Use {
name: SimpleIdentifier {
span: (
3,
10,
),
name: "Bar",
},
alias: None,
},
Use {
name: SimpleIdentifier {
span: (
3,
15,
),
name: "Baz",
},
alias: Some(
SimpleIdentifier {
span: (
3,
22,
),
name: "Bob",
},
),
},
Use {
name: SimpleIdentifier {
span: (
3,
27,
),
name: "Car",
},
alias: None,
},
],
},
GroupUse {
prefix: SimpleIdentifier {
span: (
4,
5,
),
name: "Bar\",
},
kind: Normal,
uses: [
Use {
name: SimpleIdentifier {
span: (
4,
10,
),
name: "Bar0",
},
alias: None,
},
Use {
name: SimpleIdentifier {
span: (
4,
16,
),
name: "Baz0",
},
alias: None,
},
Use {
name: SimpleIdentifier {
span: (
4,
22,
),
name: "Car0",
},
alias: None,
},
],
},
Use {
uses: [
Use {
name: SimpleIdentifier {
span: (
5,
5,
),
name: "Foo1",
},
alias: None,
},
Use {
name: SimpleIdentifier {
span: (
5,
11,
),
name: "Bar1",
},
alias: None,
},
Use {
name: SimpleIdentifier {
span: (
5,
17,
),
name: "Baz1",
},
alias: None,
},
],
kind: Normal,
},
Use {
uses: [
Use {
name: SimpleIdentifier {
span: (
6,
5,
),
name: "Foo",
},
alias: Some(
SimpleIdentifier {
span: (
6,
12,
),
name: "Qux",
},
),
},
],
kind: Normal,
},
Use {
uses: [
Use {
name: SimpleIdentifier {
span: (
7,
5,
),
name: "Foo",
},
alias: None,
},
],
kind: Normal,
},
Use {
uses: [
Use {
name: SimpleIdentifier {
span: (
9,
11,
),
name: "FOO",
},
alias: None,
},
],
kind: Const,
},
Use {
uses: [
Use {
name: SimpleIdentifier {
span: (
10,
11,
),
name: "Foo\Bar\Baz\QUX",
},
alias: None,
},
],
kind: Const,
},
Use {
uses: [
Use {
name: SimpleIdentifier {
span: (
12,
14,
),
name: "f",
},
alias: None,
},
],
kind: Function,
},
Use {
uses: [
Use {
name: SimpleIdentifier {
span: (
13,
11,
),
name: "Pop\Bar\f",
},
alias: None,
},
],
kind: Const,
},
]