[ Class { name: Identifier { start: ( 3, 7, ), name: "foo", end: ( 3, 11, ), }, attributes: [], extends: None, implements: [], body: [ Method( Method { start: ( 4, 5, ), end: ( 6, 8, ), name: Identifier { start: ( 4, 21, ), name: "__construct", end: ( 4, 32, ), }, attributes: [], parameters: MethodParameterList { start: ( 4, 32, ), end: ( 6, 7, ), members: [ MethodParameter { start: ( 5, 9, ), end: ( 5, 40, ), name: Variable { start: ( 5, 32, ), name: "s", end: ( 5, 35, ), }, attributes: [], type: Some( String, ), variadic: false, default: Some( LiteralString { value: "h", }, ), modifiers: PromotedPropertyModifierGroup { modifiers: [ Readonly { start: ( 5, 9, ), end: ( 5, 18, ), }, Public { start: ( 5, 18, ), end: ( 5, 25, ), }, ], }, by_ref: false, }, ], }, body: Some( [], ), modifiers: MethodModifierGroup { modifiers: [ Public { start: ( 4, 5, ), end: ( 4, 12, ), }, ], }, return_type: None, by_ref: false, }, ), ], modifiers: ClassModifierGroup { modifiers: [], }, }, ]