DefinitionTree {
    definitions: [
        Function(
            FunctionDefinition {
                comments: CommentGroup {
                    comments: [],
                },
                attributes: [],
                function: Span {
                    line: 1,
                    column: 1,
                    position: 0,
                },
                name: Identifier {
                    span: Span {
                        line: 1,
                        column: 10,
                        position: 9,
                    },
                    value: "main",
                },
                templates: None,
                parameters: FunctionLikeParameterListDefinition {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_parenthesis: Span {
                        line: 1,
                        column: 14,
                        position: 13,
                    },
                    parameters: CommaSeparated {
                        inner: [],
                        commas: [],
                    },
                    right_parenthesis: Span {
                        line: 1,
                        column: 15,
                        position: 14,
                    },
                },
                return_type: FunctionLikeReturnTypeDefinition {
                    colon: Span {
                        line: 1,
                        column: 16,
                        position: 15,
                    },
                    type_definition: Void(
                        Span {
                            line: 1,
                            column: 18,
                            position: 17,
                        },
                    ),
                },
                body: BlockStatement {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_brace: Span {
                        line: 1,
                        column: 23,
                        position: 22,
                    },
                    statements: [
                        Expression(
                            ExpressionStatement {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                expression: ObjectOperation(
                                    PropertyFetch {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        object: Variable(
                                            Variable {
                                                span: Span {
                                                    line: 2,
                                                    column: 5,
                                                    position: 28,
                                                },
                                                name: "$foo",
                                            },
                                        ),
                                        arrow: Span {
                                            line: 2,
                                            column: 9,
                                            position: 32,
                                        },
                                        property: Identifier {
                                            span: Span {
                                                line: 2,
                                                column: 11,
                                                position: 34,
                                            },
                                            value: "bar",
                                        },
                                    },
                                ),
                                semicolon: Span {
                                    line: 2,
                                    column: 14,
                                    position: 37,
                                },
                            },
                        ),
                        Expression(
                            ExpressionStatement {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                expression: ObjectOperation(
                                    PropertyFetch {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        object: ObjectOperation(
                                            PropertyFetch {
                                                comments: CommentGroup {
                                                    comments: [],
                                                },
                                                object: Variable(
                                                    Variable {
                                                        span: Span {
                                                            line: 3,
                                                            column: 5,
                                                            position: 43,
                                                        },
                                                        name: "$foo",
                                                    },
                                                ),
                                                arrow: Span {
                                                    line: 3,
                                                    column: 9,
                                                    position: 47,
                                                },
                                                property: Identifier {
                                                    span: Span {
                                                        line: 3,
                                                        column: 11,
                                                        position: 49,
                                                    },
                                                    value: "bar",
                                                },
                                            },
                                        ),
                                        arrow: Span {
                                            line: 3,
                                            column: 14,
                                            position: 52,
                                        },
                                        property: Identifier {
                                            span: Span {
                                                line: 3,
                                                column: 16,
                                                position: 54,
                                            },
                                            value: "baz",
                                        },
                                    },
                                ),
                                semicolon: Span {
                                    line: 3,
                                    column: 19,
                                    position: 57,
                                },
                            },
                        ),
                    ],
                    right_brace: Span {
                        line: 4,
                        column: 1,
                        position: 59,
                    },
                },
            },
        ),
    ],
    eof: Span {
        line: 5,
        column: 1,
        position: 61,
    },
}