2017-02-20 07:06:38 +00:00
|
|
|
class Parent {};
|
|
|
|
class Derived : public Parent {};
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"types": [{
|
|
|
|
"id": 0,
|
|
|
|
"usr": "c:@S@Parent",
|
|
|
|
"short_name": "Parent",
|
|
|
|
"qualified_name": "Parent",
|
2017-02-21 00:25:00 +00:00
|
|
|
"definition": "*1:1:7",
|
2017-02-20 07:06:38 +00:00
|
|
|
"derived": [1],
|
2017-02-21 00:25:00 +00:00
|
|
|
"all_uses": ["*1:1:7", "*1:2:24"],
|
|
|
|
"interesting_uses": ["*1:2:24"]
|
2017-02-20 07:06:38 +00:00
|
|
|
}, {
|
|
|
|
"id": 1,
|
|
|
|
"usr": "c:@S@Derived",
|
|
|
|
"short_name": "Derived",
|
|
|
|
"qualified_name": "Derived",
|
2017-02-21 00:25:00 +00:00
|
|
|
"definition": "*1:2:7",
|
2017-02-20 07:06:38 +00:00
|
|
|
"parents": [0],
|
2017-02-21 00:25:00 +00:00
|
|
|
"all_uses": ["*1:2:7"]
|
2017-02-20 07:06:38 +00:00
|
|
|
}],
|
|
|
|
"functions": [],
|
|
|
|
"variables": []
|
|
|
|
}
|
|
|
|
*/
|