[
    FullOpeningTag(
        FullOpeningTagStatement {
            span: Span {
                line: 1,
                column: 1,
                position: 0,
            },
        },
    ),
    Class(
        ClassStatement {
            attributes: [],
            modifiers: ClassModifierGroup {
                modifiers: [],
            },
            class: Span {
                line: 3,
                column: 1,
                position: 8,
            },
            name: SimpleIdentifier {
                span: Span {
                    line: 3,
                    column: 7,
                    position: 14,
                },
                value: "foo",
            },
            extends: None,
            implements: None,
            body: ClassBody {
                left_brace: Span {
                    line: 3,
                    column: 11,
                    position: 18,
                },
                members: [
                    ConcreteMethod(
                        ConcreteMethod {
                            comments: CommentGroup {
                                comments: [],
                            },
                            attributes: [],
                            modifiers: MethodModifierGroup {
                                modifiers: [
                                    Public(
                                        Span {
                                            line: 4,
                                            column: 5,
                                            position: 24,
                                        },
                                    ),
                                ],
                            },
                            function: Span {
                                line: 4,
                                column: 12,
                                position: 31,
                            },
                            ampersand: None,
                            name: SimpleIdentifier {
                                span: Span {
                                    line: 4,
                                    column: 21,
                                    position: 40,
                                },
                                value: "foreach",
                            },
                            parameters: FunctionParameterList {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                left_parenthesis: Span {
                                    line: 4,
                                    column: 28,
                                    position: 47,
                                },
                                parameters: CommaSeparated {
                                    inner: [],
                                    commas: [],
                                },
                                right_parenthesis: Span {
                                    line: 4,
                                    column: 29,
                                    position: 48,
                                },
                            },
                            return_type: None,
                            body: MethodBody {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                left_brace: Span {
                                    line: 4,
                                    column: 31,
                                    position: 50,
                                },
                                statements: [],
                                right_brace: Span {
                                    line: 6,
                                    column: 5,
                                    position: 67,
                                },
                            },
                        },
                    ),
                ],
                right_brace: Span {
                    line: 7,
                    column: 1,
                    position: 69,
                },
            },
        },
    ),
]
