[ Class { name: Identifier { start: ( 3, 7, ), name: "a", end: ( 3, 9, ), }, attributes: [], extends: None, implements: [], body: [ Method( Method { start: ( 4, 5, ), end: ( 8, 5, ), name: Identifier { start: ( 4, 21, ), name: "foo", end: ( 4, 24, ), }, attributes: [], parameters: MethodParameterList { start: ( 4, 24, ), end: ( 4, 27, ), members: [], }, body: Some( [ Expression { expr: Infix { lhs: Variable( Variable { start: ( 5, 9, ), name: "q", end: ( 5, 12, ), }, ), op: Assign, rhs: Closure( Closure { start: ( 5, 14, ), end: ( 7, 9, ), attributes: [], parameters: FunctionParameterList { start: ( 5, 22, ), end: ( 5, 25, ), members: [], }, return_ty: None, uses: [], by_ref: false, body: [ Return { value: Some( StaticMethodCall { target: Parent, method: Identifier( Identifier { start: ( 6, 28, ), name: "bar", end: ( 6, 31, ), }, ), args: [], }, ), }, ], static: false, }, ), }, }, ], ), modifiers: MethodModifierGroup { modifiers: [ Public { start: ( 4, 5, ), end: ( 4, 12, ), }, ], }, return_type: None, by_ref: false, }, ), ], modifiers: ClassModifierGroup { modifiers: [], }, }, ]