blob: 46c293ed1e138b01c5b669ec0ccb3a29c3eb443c [file] [log] [blame]
{
"kind": "Root",
"name": "TopLevel",
"printedName": "TopLevel",
"children": [
{
"kind": "TypeDecl",
"name": "ClangInterface",
"printedName": "ClangInterface",
"declKind": "Class",
"usr": "c:objc(cs)ClangInterface",
"location": "",
"moduleName": "Foo",
"superclassUsr": "c:objc(cs)NSObject",
"conformingProtocols": [
"ObjcProt",
"NSObjectProtocol"
],
"declAttributes": [
"ObjC"
],
"children": [
{
"kind": "Function",
"name": "someFunction",
"printedName": "someFunction()",
"declKind": "Func",
"usr": "c:objc(cs)ClangInterface(im)someFunction",
"location": "",
"moduleName": "Foo",
"declAttributes": [
"ObjC"
],
"children": [
{
"kind": "TypeNameAlias",
"name": "Void",
"printedName": "Void",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
]
}
]
},
{
"kind": "Constructor",
"name": "init",
"printedName": "init()",
"declKind": "Constructor",
"usr": "c:objc(cs)NSObject(im)init",
"location": "",
"moduleName": "Foo",
"implicit": true,
"declAttributes": [
"Override",
"ObjC"
],
"children": [
{
"kind": "TypeNominal",
"name": "ClangInterface",
"printedName": "ClangInterface",
"usr": "c:objc(cs)ClangInterface"
}
]
}
]
},
{
"kind": "TypeDecl",
"name": "ObjcProt",
"printedName": "ObjcProt",
"declKind": "Protocol",
"usr": "c:objc(pl)ObjcProt",
"location": "",
"moduleName": "Foo",
"declAttributes": [
"ObjC"
],
"children": [
{
"kind": "Function",
"name": "someFunctionFromProt",
"printedName": "someFunctionFromProt()",
"declKind": "Func",
"usr": "c:objc(pl)ObjcProt(im)someFunctionFromProt",
"location": "",
"moduleName": "Foo",
"genericSig": "<Self where Self : ObjcProt>",
"declAttributes": [
"ObjC"
],
"children": [
{
"kind": "TypeNameAlias",
"name": "Void",
"printedName": "Void",
"children": [
{
"kind": "TypeNominal",
"name": "Void",
"printedName": "()"
}
]
}
]
}
]
}
]
}