[
    FullOpeningTag(
        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: "EnumWithInvoke",
            },
            implements: [],
            body: UnitEnumBody {
                left_brace: Span {
                    line: 3,
                    column: 21,
                    position: 27,
                },
                members: [
                    Method(
                        ConcreteMethod {
                            comments: CommentGroup {
                                comments: [],
                            },
                            attributes: [],
                            modifiers: MethodModifierGroup {
                                modifiers: [
                                    Public(
                                        Span {
                                            line: 4,
                                            column: 5,
                                            position: 33,
                                        },
                                    ),
                                ],
                            },
                            function: Span {
                                line: 4,
                                column: 12,
                                position: 40,
                            },
                            ampersand: None,
                            name: SimpleIdentifier {
                                span: Span {
                                    line: 4,
                                    column: 21,
                                    position: 49,
                                },
                                value: "__invoke",
                            },
                            parameters: FunctionParameterList {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                left_parenthesis: Span {
                                    line: 4,
                                    column: 29,
                                    position: 57,
                                },
                                parameters: CommaSeparated {
                                    inner: [],
                                    commas: [],
                                },
                                right_parenthesis: Span {
                                    line: 4,
                                    column: 30,
                                    position: 58,
                                },
                            },
                            return_type: None,
                            body: MethodBody {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                left_brace: Span {
                                    line: 4,
                                    column: 32,
                                    position: 60,
                                },
                                statements: [],
                                right_brace: Span {
                                    line: 4,
                                    column: 33,
                                    position: 61,
                                },
                            },
                        },
                    ),
                ],
                right_brace: Span {
                    line: 5,
                    column: 1,
                    position: 63,
                },
            },
        },
    ),
]
