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(
                                    MethodCall {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        object: Variable(
                                            Variable {
                                                span: Span {
                                                    line: 2,
                                                    column: 5,
                                                    position: 28,
                                                },
                                                name: "$foo",
                                            },
                                        ),
                                        arrow: Span {
                                            line: 2,
                                            column: 9,
                                            position: 32,
                                        },
                                        method: Identifier {
                                            span: Span {
                                                line: 2,
                                                column: 11,
                                                position: 34,
                                            },
                                            value: "bar",
                                        },
                                        generics: None,
                                        arguments: ArgumentListExpression {
                                            comments: CommentGroup {
                                                comments: [],
                                            },
                                            left_parenthesis: Span {
                                                line: 2,
                                                column: 14,
                                                position: 37,
                                            },
                                            arguments: CommaSeparated {
                                                inner: [],
                                                commas: [],
                                            },
                                            right_parenthesis: Span {
                                                line: 2,
                                                column: 15,
                                                position: 38,
                                            },
                                        },
                                    },
                                ),
                                semicolon: Span {
                                    line: 2,
                                    column: 16,
                                    position: 39,
                                },
                            },
                        ),
                        Expression(
                            ExpressionStatement {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                expression: ObjectOperation(
                                    MethodCall {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        object: ObjectOperation(
                                            MethodCall {
                                                comments: CommentGroup {
                                                    comments: [],
                                                },
                                                object: Variable(
                                                    Variable {
                                                        span: Span {
                                                            line: 3,
                                                            column: 5,
                                                            position: 45,
                                                        },
                                                        name: "$foo",
                                                    },
                                                ),
                                                arrow: Span {
                                                    line: 3,
                                                    column: 9,
                                                    position: 49,
                                                },
                                                method: Identifier {
                                                    span: Span {
                                                        line: 3,
                                                        column: 11,
                                                        position: 51,
                                                    },
                                                    value: "bar",
                                                },
                                                generics: None,
                                                arguments: ArgumentListExpression {
                                                    comments: CommentGroup {
                                                        comments: [],
                                                    },
                                                    left_parenthesis: Span {
                                                        line: 3,
                                                        column: 14,
                                                        position: 54,
                                                    },
                                                    arguments: CommaSeparated {
                                                        inner: [],
                                                        commas: [],
                                                    },
                                                    right_parenthesis: Span {
                                                        line: 3,
                                                        column: 15,
                                                        position: 55,
                                                    },
                                                },
                                            },
                                        ),
                                        arrow: Span {
                                            line: 3,
                                            column: 16,
                                            position: 56,
                                        },
                                        method: Identifier {
                                            span: Span {
                                                line: 3,
                                                column: 18,
                                                position: 58,
                                            },
                                            value: "baz",
                                        },
                                        generics: None,
                                        arguments: ArgumentListExpression {
                                            comments: CommentGroup {
                                                comments: [],
                                            },
                                            left_parenthesis: Span {
                                                line: 3,
                                                column: 21,
                                                position: 61,
                                            },
                                            arguments: CommaSeparated {
                                                inner: [],
                                                commas: [],
                                            },
                                            right_parenthesis: Span {
                                                line: 3,
                                                column: 22,
                                                position: 62,
                                            },
                                        },
                                    },
                                ),
                                semicolon: Span {
                                    line: 3,
                                    column: 23,
                                    position: 63,
                                },
                            },
                        ),
                        Expression(
                            ExpressionStatement {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                expression: FunctionOperation(
                                    Call {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        function: ObjectOperation(
                                            MethodCall {
                                                comments: CommentGroup {
                                                    comments: [],
                                                },
                                                object: Variable(
                                                    Variable {
                                                        span: Span {
                                                            line: 4,
                                                            column: 5,
                                                            position: 69,
                                                        },
                                                        name: "$foo",
                                                    },
                                                ),
                                                arrow: Span {
                                                    line: 4,
                                                    column: 9,
                                                    position: 73,
                                                },
                                                method: Identifier {
                                                    span: Span {
                                                        line: 4,
                                                        column: 11,
                                                        position: 75,
                                                    },
                                                    value: "bar",
                                                },
                                                generics: None,
                                                arguments: ArgumentListExpression {
                                                    comments: CommentGroup {
                                                        comments: [],
                                                    },
                                                    left_parenthesis: Span {
                                                        line: 4,
                                                        column: 14,
                                                        position: 78,
                                                    },
                                                    arguments: CommaSeparated {
                                                        inner: [],
                                                        commas: [],
                                                    },
                                                    right_parenthesis: Span {
                                                        line: 4,
                                                        column: 15,
                                                        position: 79,
                                                    },
                                                },
                                            },
                                        ),
                                        generics: None,
                                        arguments: ArgumentListExpression {
                                            comments: CommentGroup {
                                                comments: [],
                                            },
                                            left_parenthesis: Span {
                                                line: 4,
                                                column: 16,
                                                position: 80,
                                            },
                                            arguments: CommaSeparated {
                                                inner: [],
                                                commas: [],
                                            },
                                            right_parenthesis: Span {
                                                line: 4,
                                                column: 17,
                                                position: 81,
                                            },
                                        },
                                    },
                                ),
                                semicolon: Span {
                                    line: 4,
                                    column: 18,
                                    position: 82,
                                },
                            },
                        ),
                    ],
                    right_brace: Span {
                        line: 5,
                        column: 1,
                        position: 84,
                    },
                },
            },
        ),
    ],
    eof: Span {
        line: 6,
        column: 1,
        position: 86,
    },
}