class Foo { void operator()(int) { } void operator()(bool); int operator()(int a, int b); }; Foo &operator += (const Foo&, const int&); /* OUTPUT: { "includes": [], "skipped_by_preprocessor": [], "types": [{ "id": 0, "usr": "c:@S@Foo", "short_name": "Foo", "detailed_name": "Foo", "hover": "Foo", "definition_spelling": "1:7-1:10", "definition_extent": "1:1-5:2", "parents": [], "derived": [], "types": [], "funcs": [0, 1, 2], "vars": [], "instances": [], "uses": ["1:7-1:10", "7:1-7:4", "7:25-7:28"] }], "funcs": [{ "id": 0, "is_operator": true, "usr": "c:@S@Foo@F@operator()#I#", "short_name": "operator()", "detailed_name": "void Foo::operator()(int)", "hover": "void Foo::operator()(int)", "declarations": [], "definition_spelling": "2:8-2:18", "definition_extent": "2:3-2:27", "declaring_type": 0, "base": [], "derived": [], "locals": [], "callers": [], "callees": [] }, { "id": 1, "is_operator": true, "usr": "c:@S@Foo@F@operator()#b#", "short_name": "operator()", "detailed_name": "void Foo::operator()(bool)", "hover": "void Foo::operator()(bool)", "declarations": [{ "spelling": "3:8-3:18", "extent": "3:3-3:24", "content": "void operator()(bool)", "param_spellings": ["3:23-3:23"] }], "declaring_type": 0, "base": [], "derived": [], "locals": [], "callers": [], "callees": [] }, { "id": 2, "is_operator": true, "usr": "c:@S@Foo@F@operator()#I#I#", "short_name": "operator()", "detailed_name": "int Foo::operator()(int, int)", "hover": "int Foo::operator()(int, int)", "declarations": [{ "spelling": "4:7-4:17", "extent": "4:3-4:31", "content": "int operator()(int a, int b)", "param_spellings": ["4:22-4:23", "4:29-4:30"] }], "declaring_type": 0, "base": [], "derived": [], "locals": [], "callers": [], "callees": [] }, { "id": 3, "is_operator": true, "usr": "c:@F@operator+=#&1$@S@Foo#&1I#", "short_name": "operator+=", "detailed_name": "Foo &operator+=(const Foo &, const int &)", "hover": "Foo &operator+=(const Foo &, const int &)", "declarations": [{ "spelling": "7:6-7:17", "extent": "7:1-7:42", "content": "Foo &operator += (const Foo&, const int&)", "param_spellings": ["7:29-7:29", "7:41-7:41"] }], "base": [], "derived": [], "locals": [], "callers": [], "callees": [] }], "vars": [] } */