mirror of
https://github.com/danog/parser.git
synced 2024-12-02 09:27:50 +01:00
6a6d4d0e5f
Signed-off-by: azjezz <azjezz@protonmail.com>
228 lines
5.2 KiB
Plaintext
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,
|
|
},
|
|
]
|