DefinitionTree {
    definitions: [
        Enum(
            Unit(
                UnitEnumDefinition {
                    comments: CommentGroup {
                        comments: [],
                    },
                    attributes: [],
                    enum: 0,
                    name: Identifier {
                        position: 5,
                        value: "foo",
                    },
                    implements: None,
                    body: UnitEnumBodyDefinition {
                        left_brace: 9,
                        members: [
                            Method(
                                ConcreteMethodDefinition {
                                    comments: CommentGroup {
                                        comments: [],
                                    },
                                    attributes: [],
                                    modifiers: MethodModifierDefinitionGroup {
                                        modifiers: [
                                            Public(
                                                15,
                                            ),
                                        ],
                                    },
                                    function: 22,
                                    name: Identifier {
                                        position: 31,
                                        value: "bar",
                                    },
                                    templates: None,
                                    parameters: FunctionLikeParameterListDefinition {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        left_parenthesis: 34,
                                        parameters: CommaSeparated {
                                            inner: [],
                                            commas: [],
                                        },
                                        right_parenthesis: 35,
                                    },
                                    return_type: FunctionLikeReturnTypeDefinition {
                                        colon: 36,
                                        type_definition: Identifier(
                                            TemplatedIdentifier {
                                                name: Identifier {
                                                    position: 38,
                                                    value: "parent",
                                                },
                                                templates: None,
                                            },
                                        ),
                                    },
                                    constraints: None,
                                    body: BlockStatement {
                                        comments: CommentGroup {
                                            comments: [],
                                        },
                                        left_brace: 45,
                                        statements: [
                                            Expression(
                                                ExpressionStatement {
                                                    comments: CommentGroup {
                                                        comments: [],
                                                    },
                                                    expression: ExitConstruct(
                                                        ExitWith {
                                                            comments: CommentGroup {
                                                                comments: [],
                                                            },
                                                            exit: 55,
                                                            left_parenthesis: 59,
                                                            value: Some(
                                                                Literal(
                                                                    Integer(
                                                                        LiteralInteger {
                                                                            comments: CommentGroup {
                                                                                comments: [],
                                                                            },
                                                                            value: "1",
                                                                            position: 60,
                                                                        },
                                                                    ),
                                                                ),
                                                            ),
                                                            right_parenthesis: 61,
                                                        },
                                                    ),
                                                    semicolon: 62,
                                                },
                                            ),
                                        ],
                                        right_brace: 68,
                                    },
                                },
                            ),
                        ],
                        right_brace: 70,
                    },
                },
            ),
        ),
    ],
    eof: 72,
}