mirror of
https://github.com/danog/parser.git
synced 2024-12-14 18:14:52 +01:00
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
[
|
|
Class {
|
|
name: Identifier {
|
|
name: "s",
|
|
},
|
|
extends: None,
|
|
implements: [],
|
|
body: [],
|
|
flags: [],
|
|
},
|
|
Class {
|
|
name: Identifier {
|
|
name: "foo",
|
|
},
|
|
extends: Some(
|
|
Identifier {
|
|
name: "s",
|
|
},
|
|
),
|
|
implements: [],
|
|
body: [
|
|
Method {
|
|
name: Identifier {
|
|
name: "bar",
|
|
},
|
|
params: [],
|
|
body: [
|
|
Return {
|
|
value: Some(
|
|
New {
|
|
target: Identifier {
|
|
name: "s",
|
|
},
|
|
args: [],
|
|
},
|
|
),
|
|
},
|
|
],
|
|
flags: [
|
|
Public,
|
|
],
|
|
return_type: Some(
|
|
ParentReference,
|
|
),
|
|
by_ref: false,
|
|
},
|
|
],
|
|
flags: [],
|
|
},
|
|
]
|