[
    FullOpeningTag(
        Span {
            line: 1,
            column: 1,
            position: 0,
        },
    ),
    Namespace(
        Unbraced(
            UnbracedNamespace {
                start: Span {
                    line: 3,
                    column: 1,
                    position: 7,
                },
                name: SimpleIdentifier {
                    span: Span {
                        line: 3,
                        column: 11,
                        position: 17,
                    },
                    value: "A\B\C\D\E",
                },
                end: Span {
                    line: 3,
                    column: 20,
                    position: 26,
                },
                statements: [
                    Function(
                        FunctionStatement {
                            comments: CommentGroup {
                                comments: [],
                            },
                            attributes: [],
                            function: Span {
                                line: 5,
                                column: 1,
                                position: 29,
                            },
                            ampersand: None,
                            name: SimpleIdentifier {
                                span: Span {
                                    line: 5,
                                    column: 10,
                                    position: 38,
                                },
                                value: "foo",
                            },
                            parameters: FunctionParameterList {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                left_parenthesis: Span {
                                    line: 5,
                                    column: 13,
                                    position: 41,
                                },
                                parameters: CommaSeparated {
                                    inner: [
                                        FunctionParameter {
                                            comments: CommentGroup {
                                                comments: [],
                                            },
                                            name: SimpleVariable {
                                                span: Span {
                                                    line: 5,
                                                    column: 21,
                                                    position: 49,
                                                },
                                                name: "$s",
                                            },
                                            attributes: [],
                                            data_type: Some(
                                                String(
                                                    Span {
                                                        line: 5,
                                                        column: 14,
                                                        position: 42,
                                                    },
                                                ),
                                            ),
                                            ellipsis: None,
                                            default: None,
                                            ampersand: None,
                                        },
                                    ],
                                    commas: [],
                                },
                                right_parenthesis: Span {
                                    line: 5,
                                    column: 23,
                                    position: 51,
                                },
                            },
                            return_type: Some(
                                ReturnType {
                                    colon: Span {
                                        line: 5,
                                        column: 24,
                                        position: 52,
                                    },
                                    data_type: ParentReference(
                                        Span {
                                            line: 5,
                                            column: 26,
                                            position: 54,
                                        },
                                    ),
                                },
                            ),
                            body: FunctionBody {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                left_brace: Span {
                                    line: 5,
                                    column: 33,
                                    position: 61,
                                },
                                statements: [
                                    Expression(
                                        ExpressionStatement {
                                            expression: Exit {
                                                exit: Span {
                                                    line: 6,
                                                    column: 6,
                                                    position: 68,
                                                },
                                                argument: Some(
                                                    SingleArgument {
                                                        comments: CommentGroup {
                                                            comments: [],
                                                        },
                                                        left_parenthesis: Span {
                                                            line: 6,
                                                            column: 10,
                                                            position: 72,
                                                        },
                                                        argument: Positional {
                                                            comments: CommentGroup {
                                                                comments: [],
                                                            },
                                                            ellipsis: None,
                                                            value: Literal(
                                                                Integer(
                                                                    LiteralInteger {
                                                                        value: "0",
                                                                        span: Span {
                                                                            line: 6,
                                                                            column: 11,
                                                                            position: 73,
                                                                        },
                                                                    },
                                                                ),
                                                            ),
                                                        },
                                                        right_parenthesis: Span {
                                                            line: 6,
                                                            column: 12,
                                                            position: 74,
                                                        },
                                                    },
                                                ),
                                            },
                                            ending: Semicolon(
                                                Span {
                                                    line: 6,
                                                    column: 13,
                                                    position: 75,
                                                },
                                            ),
                                        },
                                    ),
                                ],
                                right_brace: Span {
                                    line: 7,
                                    column: 1,
                                    position: 77,
                                },
                            },
                        },
                    ),
                ],
            },
        ),
    ),
]
