DefinitionTree {
    definitions: [
        Function(
            FunctionDefinition {
                comments: CommentGroup {
                    comments: [],
                },
                attributes: [],
                function: 2,
                name: Identifier {
                    position: 11,
                    value: "foo",
                },
                templates: None,
                parameters: FunctionLikeParameterListDefinition {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_parenthesis: 14,
                    parameters: CommaSeparated {
                        inner: [],
                        commas: [],
                    },
                    right_parenthesis: 15,
                },
                return_type: FunctionLikeReturnTypeDefinition {
                    colon: 16,
                    type_definition: Void(
                        18,
                    ),
                },
                body: BlockStatement {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_brace: 23,
                    statements: [
                        DoWhile(
                            DoWhileStatement {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                do: 29,
                                block: BlockStatement {
                                    comments: CommentGroup {
                                        comments: [],
                                    },
                                    left_brace: 32,
                                    statements: [],
                                    right_brace: 34,
                                },
                                while: 36,
                                condition: Parenthesized(
                                    ParenthesizedExpression {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        left_parenthesis: 42,
                                        expression: Variable(
                                            Variable {
                                                position: 43,
                                                name: "$a",
                                            },
                                        ),
                                        right_parenthesis: 45,
                                    },
                                ),
                                semicolon: 46,
                            },
                        ),
                    ],
                    right_brace: 48,
                },
            },
        ),
    ],
    eof: 50,
}