mirror of
https://github.com/danog/parser.git
synced 2024-12-14 01:47:21 +01:00
74 lines
2.0 KiB
Plaintext
74 lines
2.0 KiB
Plaintext
|
[
|
||
|
Interface {
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
4,
|
||
|
11,
|
||
|
),
|
||
|
name: "foo",
|
||
|
end: (
|
||
|
4,
|
||
|
15,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
extends: [],
|
||
|
body: [
|
||
|
Method(
|
||
|
Method {
|
||
|
start: (
|
||
|
5,
|
||
|
5,
|
||
|
),
|
||
|
end: (
|
||
|
5,
|
||
|
34,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
5,
|
||
|
21,
|
||
|
),
|
||
|
name: "bar",
|
||
|
end: (
|
||
|
5,
|
||
|
24,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: MethodParameterList {
|
||
|
start: (
|
||
|
5,
|
||
|
24,
|
||
|
),
|
||
|
end: (
|
||
|
5,
|
||
|
26,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
body: None,
|
||
|
modifiers: MethodModifierGroup {
|
||
|
modifiers: [
|
||
|
Public {
|
||
|
start: (
|
||
|
5,
|
||
|
5,
|
||
|
),
|
||
|
end: (
|
||
|
5,
|
||
|
12,
|
||
|
),
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
ParentReference,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
},
|
||
|
),
|
||
|
],
|
||
|
},
|
||
|
]
|