[ FullOpeningTag( FullOpeningTagStatement { span: Span { line: 1, column: 1, position: 0, }, }, ), UnitEnum( UnitEnumStatement { attributes: [], enum: Span { line: 3, column: 1, position: 7, }, name: SimpleIdentifier { span: Span { line: 3, column: 6, position: 12, }, value: "foo", }, implements: [], body: UnitEnumBody { left_brace: Span { line: 3, column: 10, position: 16, }, members: [ Method( ConcreteMethod { comments: CommentGroup { comments: [], }, attributes: [], modifiers: MethodModifierGroup { modifiers: [ Public( Span { line: 4, column: 5, position: 22, }, ), ], }, function: Span { line: 4, column: 12, position: 29, }, ampersand: None, name: SimpleIdentifier { span: Span { line: 4, column: 21, position: 38, }, value: "bar", }, parameters: FunctionParameterList { comments: CommentGroup { comments: [], }, left_parenthesis: Span { line: 4, column: 24, position: 41, }, parameters: CommaSeparated { inner: [], commas: [], }, right_parenthesis: Span { line: 4, column: 25, position: 42, }, }, return_type: Some( ReturnType { colon: Span { line: 4, column: 26, position: 43, }, data_type: ParentReference( Span { line: 4, column: 28, position: 45, }, ), }, ), body: MethodBody { comments: CommentGroup { comments: [], }, left_brace: Span { line: 4, column: 35, position: 52, }, statements: [ Expression( ExpressionStatement { expression: Exit( ExitExpression { exit: Span { line: 5, column: 9, position: 62, }, argument: Some( SingleArgument { comments: CommentGroup { comments: [], }, left_parenthesis: Span { line: 5, column: 13, position: 66, }, argument: Positional( PositionalArgument { comments: CommentGroup { comments: [], }, ellipsis: None, value: Literal( Integer( LiteralInteger { value: "1", span: Span { line: 5, column: 14, position: 67, }, }, ), ), }, ), right_parenthesis: Span { line: 5, column: 15, position: 68, }, }, ), }, ), ending: Semicolon( Span { line: 5, column: 16, position: 69, }, ), }, ), ], right_brace: Span { line: 6, column: 5, position: 75, }, }, }, ), ], right_brace: Span { line: 7, column: 1, position: 77, }, }, }, ), ]