DefinitionTree { definitions: [ Enum( Backed( BackedEnumDefinition { comments: CommentGroup { comments: [], }, attributes: [], enum: Keyword { value: "enum", position: 0, }, name: Identifier { position: 5, value: "Foo", }, backed_type: String( 8, Identifier { position: 10, value: "string", }, ), implements: None, body: BackedEnumBodyDefinition { left_brace: 17, members: [ Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 23, }, name: Identifier { position: 28, value: "Bar", }, equals: 32, value: Literal( String( LiteralString { comments: CommentGroup { comments: [], }, value: "'3'", position: 34, }, ), ), semicolon: 37, }, ), Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 43, }, name: Identifier { position: 48, value: "Baz", }, equals: 52, value: Literal( String( LiteralString { comments: CommentGroup { comments: [], }, value: "'g'", position: 54, }, ), ), semicolon: 57, }, ), ], right_brace: 59, }, }, ), ), ], eof: 61, }