DefinitionTree {
    definitions: [
        Function(
            FunctionDefinition {
                comments: CommentGroup {
                    comments: [],
                },
                attributes: [],
                function: 0,
                name: Identifier {
                    position: 9,
                    value: "main",
                },
                templates: None,
                parameters: FunctionLikeParameterListDefinition {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_parenthesis: 13,
                    parameters: CommaSeparated {
                        inner: [],
                        commas: [],
                    },
                    right_parenthesis: 14,
                },
                return_type: FunctionLikeReturnTypeDefinition {
                    colon: 15,
                    type_definition: Void(
                        17,
                    ),
                },
                body: BlockStatement {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_brace: 22,
                    statements: [
                        If(
                            IfStatement {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                if: 28,
                                condition: Parenthesized(
                                    ParenthesizedExpression {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        left_parenthesis: 30,
                                        expression: Variable(
                                            Variable {
                                                position: 31,
                                                name: "$foo",
                                            },
                                        ),
                                        right_parenthesis: 35,
                                    },
                                ),
                                block: BlockStatement {
                                    comments: CommentGroup {
                                        comments: [],
                                    },
                                    left_brace: 37,
                                    statements: [
                                        Return(
                                            Explicit {
                                                comments: CommentGroup {
                                                    comments: [],
                                                },
                                                return: 39,
                                                expression: Some(
                                                    Variable(
                                                        Variable {
                                                            position: 46,
                                                            name: "$foo",
                                                        },
                                                    ),
                                                ),
                                                semicolon: 50,
                                            },
                                        ),
                                    ],
                                    right_brace: 52,
                                },
                                elseifs: [],
                                else: Some(
                                    IfStatementElse {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        else: 54,
                                        block: Block(
                                            BlockStatement {
                                                comments: CommentGroup {
                                                    comments: [],
                                                },
                                                left_brace: 59,
                                                statements: [
                                                    Return(
                                                        Explicit {
                                                            comments: CommentGroup {
                                                                comments: [],
                                                            },
                                                            return: 61,
                                                            expression: Some(
                                                                Variable(
                                                                    Variable {
                                                                        position: 68,
                                                                        name: "$foo",
                                                                    },
                                                                ),
                                                            ),
                                                            semicolon: 72,
                                                        },
                                                    ),
                                                ],
                                                right_brace: 74,
                                            },
                                        ),
                                    },
                                ),
                            },
                        ),
                    ],
                    right_brace: 76,
                },
            },
        ),
    ],
    eof: 78,
}