DefinitionTree {
    definitions: [
        Function(
            FunctionDefinition {
                comments: CommentGroup {
                    comments: [],
                },
                attributes: [],
                function: Span {
                    line: 2,
                    column: 1,
                    position: 1,
                },
                name: Identifier {
                    span: Span {
                        line: 2,
                        column: 10,
                        position: 10,
                    },
                    value: "foo",
                },
                templates: None,
                parameters: FunctionLikeParameterListDefinition {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_parenthesis: Span {
                        line: 2,
                        column: 13,
                        position: 13,
                    },
                    parameters: CommaSeparated {
                        inner: [],
                        commas: [],
                    },
                    right_parenthesis: Span {
                        line: 2,
                        column: 14,
                        position: 14,
                    },
                },
                return_type: FunctionLikeReturnTypeDefinition {
                    colon: Span {
                        line: 2,
                        column: 15,
                        position: 15,
                    },
                    type_definition: Void(
                        Span {
                            line: 2,
                            column: 17,
                            position: 17,
                        },
                    ),
                },
                body: BlockStatement {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_brace: Span {
                        line: 2,
                        column: 22,
                        position: 22,
                    },
                    statements: [
                        Expression(
                            ExpressionStatement {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                expression: ObjectOperation(
                                    NullsafeMethodCall {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        object: Variable(
                                            Variable {
                                                span: Span {
                                                    line: 3,
                                                    column: 5,
                                                    position: 28,
                                                },
                                                name: "$a",
                                            },
                                        ),
                                        question_arrow: Span {
                                            line: 3,
                                            column: 7,
                                            position: 30,
                                        },
                                        method: Identifier {
                                            span: Span {
                                                line: 3,
                                                column: 10,
                                                position: 33,
                                            },
                                            value: "b",
                                        },
                                        generics: None,
                                        arguments: ArgumentListExpression {
                                            comments: CommentGroup {
                                                comments: [],
                                            },
                                            left_parenthesis: Span {
                                                line: 3,
                                                column: 11,
                                                position: 34,
                                            },
                                            arguments: CommaSeparated {
                                                inner: [
                                                    Positional {
                                                        comments: CommentGroup {
                                                            comments: [],
                                                        },
                                                        ellipsis: None,
                                                        value: Variable(
                                                            Variable {
                                                                span: Span {
                                                                    line: 3,
                                                                    column: 12,
                                                                    position: 35,
                                                                },
                                                                name: "$c",
                                                            },
                                                        ),
                                                    },
                                                ],
                                                commas: [],
                                            },
                                            right_parenthesis: Span {
                                                line: 3,
                                                column: 14,
                                                position: 37,
                                            },
                                        },
                                    },
                                ),
                                semicolon: Span {
                                    line: 3,
                                    column: 15,
                                    position: 38,
                                },
                            },
                        ),
                    ],
                    right_brace: Span {
                        line: 4,
                        column: 1,
                        position: 40,
                    },
                },
            },
        ),
    ],
    eof: Span {
        line: 5,
        column: 1,
        position: 42,
    },
}