2022-11-30 15:38:07 +01:00
|
|
|
[
|
|
|
|
Class {
|
|
|
|
name: Identifier {
|
|
|
|
name: "foo",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
extends: None,
|
|
|
|
implements: [],
|
|
|
|
body: [
|
|
|
|
Method {
|
|
|
|
name: Identifier {
|
|
|
|
name: "__construct",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
params: [
|
|
|
|
Param {
|
|
|
|
name: Variable {
|
|
|
|
name: "a",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
type: Some(
|
|
|
|
String,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
flags: [
|
|
|
|
Public,
|
|
|
|
],
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
Param {
|
|
|
|
name: Variable {
|
|
|
|
name: "b",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
type: Some(
|
|
|
|
Integer,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
flags: [
|
|
|
|
Public,
|
|
|
|
Readonly,
|
|
|
|
],
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
Param {
|
|
|
|
name: Variable {
|
|
|
|
name: "c",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
type: Some(
|
|
|
|
Float,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
flags: [
|
|
|
|
Public,
|
|
|
|
Readonly,
|
|
|
|
],
|
|
|
|
by_ref: true,
|
|
|
|
},
|
|
|
|
Param {
|
|
|
|
name: Variable {
|
|
|
|
name: "e",
|
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-11-30 15:38:07 +01:00
|
|
|
type: None,
|
|
|
|
variadic: true,
|
|
|
|
default: None,
|
|
|
|
flags: [],
|
|
|
|
by_ref: true,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
body: [],
|
|
|
|
flags: [
|
|
|
|
Public,
|
|
|
|
],
|
|
|
|
return_type: None,
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
flags: [],
|
|
|
|
},
|
|
|
|
]
|