typedef unsigned char uint8_t; enum class Foo : uint8_t { A, B = 20 }; /* OUTPUT: { "includes": [], "skipped_by_preprocessor": [], "types": [{ "id": 0, "usr": 5, "detailed_name": "", "short_name": "", "kind": 0, "declarations": [], "bases": [], "derived": [], "types": [], "funcs": [], "vars": [], "instances": [], "uses": [] }, { "id": 1, "usr": 2010430204259339553, "detailed_name": "uint8_t", "short_name": "uint8_t", "kind": 252, "hover": "typedef unsigned char uint8_t", "declarations": [], "spell": "1:23-1:30|-1|1|2", "extent": "1:1-1:30|-1|1|0", "alias_of": 0, "bases": [], "derived": [], "types": [], "funcs": [], "vars": [], "instances": [], "uses": ["1:23-1:30|-1|1|4", "2:12-2:15|-1|1|4"] }, { "id": 2, "usr": 16985894625255407295, "detailed_name": "Foo", "short_name": "Foo", "kind": 10, "declarations": [], "spell": "2:12-2:15|-1|1|2", "extent": "2:1-5:2|-1|1|0", "bases": [], "derived": [], "types": [], "funcs": [], "vars": [], "instances": [], "uses": [] }], "funcs": [], "vars": [{ "id": 0, "usr": 439339022761937396, "detailed_name": "Foo::A", "short_name": "A", "hover": "Foo::A = 0", "declarations": [], "spell": "3:3-3:4|2|2|2", "extent": "3:3-3:4|2|2|0", "type": 2, "uses": [], "kind": 22, "storage": 0 }, { "id": 1, "usr": 15962370213938840720, "detailed_name": "Foo::B", "short_name": "B", "hover": "Foo::B = 20", "declarations": [], "spell": "4:3-4:4|2|2|2", "extent": "4:3-4:9|2|2|0", "type": 2, "uses": [], "kind": 22, "storage": 0 }] } */