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: "fib",
                },
                templates: None,
                parameters: FunctionLikeParameterListDefinition {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_parenthesis: Span {
                        line: 1,
                        column: 13,
                        position: 12,
                    },
                    parameters: CommaSeparated {
                        inner: [
                            FunctionLikeParameterDefinition {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                attributes: [],
                                type_definition: Integer(
                                    Span {
                                        line: 1,
                                        column: 14,
                                        position: 13,
                                    },
                                ),
                                ellipsis: None,
                                variable: Variable {
                                    span: Span {
                                        line: 1,
                                        column: 18,
                                        position: 17,
                                    },
                                    name: "$n",
                                },
                                default: None,
                            },
                        ],
                        commas: [],
                    },
                    right_parenthesis: Span {
                        line: 1,
                        column: 20,
                        position: 19,
                    },
                },
                return_type: FunctionLikeReturnTypeDefinition {
                    colon: Span {
                        line: 1,
                        column: 21,
                        position: 20,
                    },
                    type_definition: Integer(
                        Span {
                            line: 1,
                            column: 23,
                            position: 22,
                        },
                    ),
                },
                body: BlockStatement {
                    comments: CommentGroup {
                        comments: [],
                    },
                    left_brace: Span {
                        line: 1,
                        column: 27,
                        position: 26,
                    },
                    statements: [
                        If(
                            IfStatement {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                if: Span {
                                    line: 2,
                                    column: 5,
                                    position: 32,
                                },
                                condition: Parenthesized(
                                    ParenthesizedExpression {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        left_parenthesis: Span {
                                            line: 2,
                                            column: 8,
                                            position: 35,
                                        },
                                        expression: ComparisonOperation(
                                            LessThan {
                                                comments: CommentGroup {
                                                    comments: [],
                                                },
                                                left: Variable(
                                                    Variable {
                                                        span: Span {
                                                            line: 2,
                                                            column: 9,
                                                            position: 36,
                                                        },
                                                        name: "$n",
                                                    },
                                                ),
                                                less_than: Span {
                                                    line: 2,
                                                    column: 12,
                                                    position: 39,
                                                },
                                                right: Literal(
                                                    Integer(
                                                        LiteralInteger {
                                                            comments: CommentGroup {
                                                                comments: [],
                                                            },
                                                            value: "2",
                                                            span: Span {
                                                                line: 2,
                                                                column: 14,
                                                                position: 41,
                                                            },
                                                        },
                                                    ),
                                                ),
                                            },
                                        ),
                                        right_parenthesis: Span {
                                            line: 2,
                                            column: 15,
                                            position: 42,
                                        },
                                    },
                                ),
                                block: BlockStatement {
                                    comments: CommentGroup {
                                        comments: [],
                                    },
                                    left_brace: Span {
                                        line: 2,
                                        column: 17,
                                        position: 44,
                                    },
                                    statements: [
                                        Return(
                                            Explicit {
                                                comments: CommentGroup {
                                                    comments: [],
                                                },
                                                return: Span {
                                                    line: 3,
                                                    column: 9,
                                                    position: 54,
                                                },
                                                expression: Some(
                                                    Variable(
                                                        Variable {
                                                            span: Span {
                                                                line: 3,
                                                                column: 16,
                                                                position: 61,
                                                            },
                                                            name: "$n",
                                                        },
                                                    ),
                                                ),
                                                semicolon: Span {
                                                    line: 3,
                                                    column: 18,
                                                    position: 63,
                                                },
                                            },
                                        ),
                                    ],
                                    right_brace: Span {
                                        line: 4,
                                        column: 5,
                                        position: 69,
                                    },
                                },
                                elseifs: [],
                                else: None,
                            },
                        ),
                        Return(
                            Explicit {
                                comments: CommentGroup {
                                    comments: [],
                                },
                                return: Span {
                                    line: 6,
                                    column: 5,
                                    position: 76,
                                },
                                expression: Some(
                                    ArithmeticOperation(
                                        Addition {
                                            comments: CommentGroup {
                                                comments: [],
                                            },
                                            left: FunctionOperation(
                                                Call {
                                                    comments: CommentGroup {
                                                        comments: [],
                                                    },
                                                    function: Identifier(
                                                        Identifier {
                                                            span: Span {
                                                                line: 6,
                                                                column: 12,
                                                                position: 83,
                                                            },
                                                            value: "fib",
                                                        },
                                                    ),
                                                    generics: None,
                                                    arguments: ArgumentListExpression {
                                                        comments: CommentGroup {
                                                            comments: [],
                                                        },
                                                        left_parenthesis: Span {
                                                            line: 6,
                                                            column: 15,
                                                            position: 86,
                                                        },
                                                        arguments: CommaSeparated {
                                                            inner: [
                                                                Positional {
                                                                    comments: CommentGroup {
                                                                        comments: [],
                                                                    },
                                                                    ellipsis: None,
                                                                    value: ArithmeticOperation(
                                                                        Subtraction {
                                                                            comments: CommentGroup {
                                                                                comments: [],
                                                                            },
                                                                            left: Variable(
                                                                                Variable {
                                                                                    span: Span {
                                                                                        line: 6,
                                                                                        column: 16,
                                                                                        position: 87,
                                                                                    },
                                                                                    name: "$n",
                                                                                },
                                                                            ),
                                                                            minus: Span {
                                                                                line: 6,
                                                                                column: 19,
                                                                                position: 90,
                                                                            },
                                                                            right: Literal(
                                                                                Integer(
                                                                                    LiteralInteger {
                                                                                        comments: CommentGroup {
                                                                                            comments: [],
                                                                                        },
                                                                                        value: "1",
                                                                                        span: Span {
                                                                                            line: 6,
                                                                                            column: 21,
                                                                                            position: 92,
                                                                                        },
                                                                                    },
                                                                                ),
                                                                            ),
                                                                        },
                                                                    ),
                                                                },
                                                            ],
                                                            commas: [],
                                                        },
                                                        right_parenthesis: Span {
                                                            line: 6,
                                                            column: 22,
                                                            position: 93,
                                                        },
                                                    },
                                                },
                                            ),
                                            plus: Span {
                                                line: 6,
                                                column: 24,
                                                position: 95,
                                            },
                                            right: FunctionOperation(
                                                Call {
                                                    comments: CommentGroup {
                                                        comments: [],
                                                    },
                                                    function: Identifier(
                                                        Identifier {
                                                            span: Span {
                                                                line: 6,
                                                                column: 26,
                                                                position: 97,
                                                            },
                                                            value: "fib",
                                                        },
                                                    ),
                                                    generics: None,
                                                    arguments: ArgumentListExpression {
                                                        comments: CommentGroup {
                                                            comments: [],
                                                        },
                                                        left_parenthesis: Span {
                                                            line: 6,
                                                            column: 29,
                                                            position: 100,
                                                        },
                                                        arguments: CommaSeparated {
                                                            inner: [
                                                                Positional {
                                                                    comments: CommentGroup {
                                                                        comments: [],
                                                                    },
                                                                    ellipsis: None,
                                                                    value: ArithmeticOperation(
                                                                        Subtraction {
                                                                            comments: CommentGroup {
                                                                                comments: [],
                                                                            },
                                                                            left: Variable(
                                                                                Variable {
                                                                                    span: Span {
                                                                                        line: 6,
                                                                                        column: 30,
                                                                                        position: 101,
                                                                                    },
                                                                                    name: "$n",
                                                                                },
                                                                            ),
                                                                            minus: Span {
                                                                                line: 6,
                                                                                column: 33,
                                                                                position: 104,
                                                                            },
                                                                            right: Literal(
                                                                                Integer(
                                                                                    LiteralInteger {
                                                                                        comments: CommentGroup {
                                                                                            comments: [],
                                                                                        },
                                                                                        value: "2",
                                                                                        span: Span {
                                                                                            line: 6,
                                                                                            column: 35,
                                                                                            position: 106,
                                                                                        },
                                                                                    },
                                                                                ),
                                                                            ),
                                                                        },
                                                                    ),
                                                                },
                                                            ],
                                                            commas: [],
                                                        },
                                                        right_parenthesis: Span {
                                                            line: 6,
                                                            column: 36,
                                                            position: 107,
                                                        },
                                                    },
                                                },
                                            ),
                                        },
                                    ),
                                ),
                                semicolon: Span {
                                    line: 6,
                                    column: 37,
                                    position: 108,
                                },
                            },
                        ),
                    ],
                    right_brace: Span {
                        line: 7,
                        column: 1,
                        position: 110,
                    },
                },
            },
        ),
    ],
    eof: Span {
        line: 8,
        column: 1,
        position: 112,
    },
}