[ UnitEnum( UnitEnum { start: ( 3, 1, ), end: ( 7, 1, ), name: Identifier { start: ( 3, 6, ), name: "foo", end: ( 3, 10, ), }, attributes: [], implements: [], members: [ Method( Method { start: ( 4, 5, ), end: ( 6, 5, ), name: Identifier { start: ( 4, 21, ), name: "bar", end: ( 4, 24, ), }, attributes: [], parameters: MethodParameterList { start: ( 4, 24, ), end: ( 4, 26, ), members: [], }, body: Some( [ Expression { expr: Call { target: Identifier( Identifier { start: ( 5, 9, ), name: "exit", end: ( 5, 13, ), }, ), args: [ Arg { name: None, value: LiteralInteger { i: 1, }, unpack: false, }, ], }, }, ], ), modifiers: MethodModifierGroup { modifiers: [ Public { start: ( 4, 5, ), end: ( 4, 12, ), }, ], }, return_type: Some( ParentReference, ), by_ref: false, }, ), ], }, ), ]