DefinitionTree { definitions: [ Enum( Backed( BackedEnumDefinition { comments: CommentGroup { comments: [], }, attributes: [], enum: Keyword { value: "enum", position: 0, }, name: Identifier { position: 5, value: "Foo", }, backed_type: Int( 8, Identifier { position: 10, value: "int", }, ), implements: None, body: BackedEnumBodyDefinition { left_brace: 14, members: [ Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 20, }, name: Identifier { position: 25, value: "Bar", }, equals: 29, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "2", position: 31, }, ), ), semicolon: 32, }, ), Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 38, }, name: Identifier { position: 43, value: "Baz", }, equals: 47, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "4", position: 49, }, ), ), semicolon: 50, }, ), ], right_brace: 52, }, }, ), ), ], eof: 55, }