DefinitionTree { definitions: [ Enum( Unit( UnitEnumDefinition { comments: CommentGroup { comments: [], }, attributes: [], enum: Keyword { value: "enum", position: 0, }, name: Identifier { position: 5, value: "Foo", }, implements: None, body: UnitEnumBodyDefinition { left_brace: 9, members: [ Case( UnitEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 15, }, name: Identifier { position: 20, value: "Bar", }, semicolon: 23, }, ), Case( UnitEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 29, }, name: Identifier { position: 34, value: "Baz", }, semicolon: 37, }, ), ], right_brace: 39, }, }, ), ), ], eof: 42, }