mirror of
https://github.com/danog/parser.git
synced 2024-12-13 09:37:18 +01:00
59fc4af394
Signed-off-by: azjezz <azjezz@protonmail.com>
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: [],
|
|
},
|
|
]
|