[ Trait { name: Identifier { name: "foo", }, attributes: [], body: [ Method { name: Identifier { name: "bar", }, attributes: [], params: [], body: [ Expression { expr: Call { target: Identifier { name: "exit", }, args: [ Arg { name: None, value: LiteralInteger { i: 1, }, unpack: false, }, ], }, }, ], flags: [ Public, ], return_type: Some( ParentReference, ), by_ref: false, }, ], }, ]