mirror of
https://github.com/danog/parser.git
synced 2024-12-14 09:57:32 +01:00
75 lines
2.3 KiB
Plaintext
75 lines
2.3 KiB
Plaintext
|
[
|
||
|
Class {
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
3,
|
||
|
7,
|
||
|
),
|
||
|
name: "Foo",
|
||
|
end: (
|
||
|
4,
|
||
|
1,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
extends: None,
|
||
|
implements: [],
|
||
|
body: [
|
||
|
Method {
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
5,
|
||
|
14,
|
||
|
),
|
||
|
name: "bar",
|
||
|
end: (
|
||
|
5,
|
||
|
17,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
params: [],
|
||
|
body: [
|
||
|
Expression {
|
||
|
expr: Closure {
|
||
|
params: [
|
||
|
Param {
|
||
|
name: Variable {
|
||
|
start: (
|
||
|
7,
|
||
|
31,
|
||
|
),
|
||
|
name: "foo",
|
||
|
end: (
|
||
|
7,
|
||
|
35,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
type: Some(
|
||
|
SelfReference,
|
||
|
),
|
||
|
variadic: false,
|
||
|
default: None,
|
||
|
flags: [],
|
||
|
by_ref: false,
|
||
|
},
|
||
|
],
|
||
|
attributes: [],
|
||
|
uses: [],
|
||
|
return_type: None,
|
||
|
body: [],
|
||
|
static: true,
|
||
|
by_ref: false,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
flags: [],
|
||
|
return_type: None,
|
||
|
by_ref: false,
|
||
|
},
|
||
|
],
|
||
|
flags: [],
|
||
|
},
|
||
|
]
|