DefinitionTree { definitions: [ Enum( Backed( BackedEnumDefinition { comments: CommentGroup { comments: [], }, attributes: [], enum: Keyword { value: "enum", position: 0, }, name: Identifier { position: 5, value: "a", }, backed_type: Int( 6, Identifier { position: 8, value: "int", }, ), implements: None, body: BackedEnumBodyDefinition { left_brace: 12, members: [ Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 18, }, name: Identifier { position: 23, value: "static", }, equals: 30, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "2413", position: 32, }, ), ), semicolon: 36, }, ), Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 42, }, name: Identifier { position: 47, value: "self", }, equals: 52, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "2432", position: 54, }, ), ), semicolon: 58, }, ), Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 64, }, name: Identifier { position: 69, value: "return", }, equals: 76, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "2433", position: 78, }, ), ), semicolon: 82, }, ), Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 88, }, name: Identifier { position: 93, value: "parent", }, equals: 100, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "2543", position: 102, }, ), ), semicolon: 106, }, ), Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 112, }, name: Identifier { position: 117, value: "enum", }, equals: 122, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "24133", position: 124, }, ), ), semicolon: 129, }, ), Case( BackedEnumCaseDefinition { attributes: [], case: Keyword { value: "case", position: 135, }, name: Identifier { position: 140, value: "from", }, equals: 145, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "25443", position: 147, }, ), ), semicolon: 152, }, ), ], right_brace: 154, }, }, ), ), Class( ClassDefinition { comments: CommentGroup { comments: [], }, attributes: [], modifiers: ModifierGroupDefinition { position: 157, modifiers: [], }, class: Keyword { value: "class", position: 157, }, name: Identifier { position: 163, value: "f", }, templates: None, extends: None, implements: None, body: ClassDefinitionBody { left_brace: 165, members: [ Constant( ClassishConstantDefinition { comments: CommentGroup { comments: [], }, attributes: [], modifiers: ModifierGroupDefinition { position: 171, modifiers: [], }, const: Keyword { value: "const", position: 171, }, type_definition: UnsignedInteger( U8( Keyword { value: "u8", position: 177, }, ), ), name: Identifier { position: 180, value: "static", }, equals: 187, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "1", position: 189, }, ), ), semicolon: 190, }, ), Constant( ClassishConstantDefinition { comments: CommentGroup { comments: [], }, attributes: [], modifiers: ModifierGroupDefinition { position: 196, modifiers: [], }, const: Keyword { value: "const", position: 196, }, type_definition: UnsignedInteger( U16( Keyword { value: "u16", position: 202, }, ), ), name: Identifier { position: 206, value: "self", }, equals: 211, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "2", position: 213, }, ), ), semicolon: 214, }, ), Constant( ClassishConstantDefinition { comments: CommentGroup { comments: [], }, attributes: [], modifiers: ModifierGroupDefinition { position: 220, modifiers: [], }, const: Keyword { value: "const", position: 220, }, type_definition: UnsignedInteger( U32( Keyword { value: "u32", position: 226, }, ), ), name: Identifier { position: 230, value: "return", }, equals: 237, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "3", position: 239, }, ), ), semicolon: 240, }, ), Constant( ClassishConstantDefinition { comments: CommentGroup { comments: [], }, attributes: [], modifiers: ModifierGroupDefinition { position: 246, modifiers: [], }, const: Keyword { value: "const", position: 246, }, type_definition: SignedInteger( I8( Keyword { value: "i8", position: 252, }, ), ), name: Identifier { position: 255, value: "parent", }, equals: 262, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "4", position: 264, }, ), ), semicolon: 265, }, ), Constant( ClassishConstantDefinition { comments: CommentGroup { comments: [], }, attributes: [], modifiers: ModifierGroupDefinition { position: 271, modifiers: [], }, const: Keyword { value: "const", position: 271, }, type_definition: SignedInteger( I16( Keyword { value: "i16", position: 277, }, ), ), name: Identifier { position: 281, value: "enum", }, equals: 286, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "5", position: 288, }, ), ), semicolon: 289, }, ), Constant( ClassishConstantDefinition { comments: CommentGroup { comments: [], }, attributes: [], modifiers: ModifierGroupDefinition { position: 295, modifiers: [], }, const: Keyword { value: "const", position: 295, }, type_definition: SignedInteger( I32( Keyword { value: "i32", position: 301, }, ), ), name: Identifier { position: 305, value: "from", }, equals: 310, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "6", position: 312, }, ), ), semicolon: 313, }, ), ], right_brace: 315, }, }, ), Constant( ConstantDefinition { comments: CommentGroup { comments: [], }, const: Keyword { value: "const", position: 318, }, type_definition: Identifier( TemplatedIdentifier { name: Identifier { position: 324, value: "u64", }, templates: None, }, ), name: Identifier { position: 328, value: "from", }, equals: 333, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "243", position: 335, }, ), ), semicolon: 338, }, ), Constant( ConstantDefinition { comments: CommentGroup { comments: [], }, const: Keyword { value: "const", position: 340, }, type_definition: SignedInteger( I64( Keyword { value: "i64", position: 346, }, ), ), name: Identifier { position: 350, value: "enum", }, equals: 355, value: Literal( Integer( LiteralInteger { comments: CommentGroup { comments: [], }, value: "243", position: 357, }, ), ), semicolon: 360, }, ), ], eof: 362, }