atom-nuclide
Version:
A unified developer experience for web and mobile development, built as a suite of features on top of Atom to provide hackability and the support of an active community.
1,859 lines (1,850 loc) • 43.8 kB
JavaScript
"use strict";
let Observable, trackOperationTiming;
module.exports = _client => {
const remoteModule = {};
remoteModule.compile = function (arg0) {
return _client.marshalArguments(Array.from(arguments), [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 23
},
kind: "string"
}
}]).then(args => {
return _client.callRemoteFunction("compile", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 23
},
kind: "named",
name: "ClangCompileResult"
});
});
};
remoteModule.get_completions = function (arg0, arg1, arg2, arg3, arg4) {
return _client.marshalArguments(Array.from(arguments), [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 28
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 29
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 30
},
kind: "number"
}
}, {
name: "tokenStartColumn",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 31
},
kind: "number"
}
}, {
name: "prefix",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 32
},
kind: "string"
}
}]).then(args => {
return _client.callRemoteFunction("get_completions", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 33
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 33
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 33
},
kind: "named",
name: "ClangCompletion"
}
}
});
});
};
remoteModule.get_declaration = function (arg0, arg1, arg2) {
return _client.marshalArguments(Array.from(arguments), [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 38
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 39
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 40
},
kind: "number"
}
}]).then(args => {
return _client.callRemoteFunction("get_declaration", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 41
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 41
},
kind: "named",
name: "ClangDeclaration"
}
});
});
};
remoteModule.get_declaration_info = function (arg0, arg1, arg2) {
return _client.marshalArguments(Array.from(arguments), [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 46
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 47
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 48
},
kind: "number"
}
}]).then(args => {
return _client.callRemoteFunction("get_declaration_info", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 49
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 49
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 49
},
kind: "named",
name: "ClangCursor"
}
}
});
});
};
remoteModule.get_outline = function (arg0) {
return _client.marshalArguments(Array.from(arguments), [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 53
},
kind: "string"
}
}]).then(args => {
return _client.callRemoteFunction("get_outline", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 54
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 54
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 54
},
kind: "named",
name: "ClangOutlineTree"
}
}
});
});
};
return remoteModule;
};
Object.defineProperty(module.exports, "inject", {
value: function () {
Observable = arguments[0];
trackOperationTiming = arguments[1];
}
});
Object.defineProperty(module.exports, "defs", {
value: new Map([["Object", {
kind: "alias",
name: "Object",
location: {
type: "builtin"
}
}], ["Date", {
kind: "alias",
name: "Date",
location: {
type: "builtin"
}
}], ["RegExp", {
kind: "alias",
name: "RegExp",
location: {
type: "builtin"
}
}], ["Buffer", {
kind: "alias",
name: "Buffer",
location: {
type: "builtin"
}
}], ["fs.Stats", {
kind: "alias",
name: "fs.Stats",
location: {
type: "builtin"
}
}], ["NuclideUri", {
kind: "alias",
name: "NuclideUri",
location: {
type: "builtin"
}
}], ["compile", {
kind: "function",
name: "compile",
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 23
},
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 23
},
kind: "function",
argumentTypes: [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 23
},
kind: "string"
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 23
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 23
},
kind: "named",
name: "ClangCompileResult"
}
}
}
}], ["get_completions", {
kind: "function",
name: "get_completions",
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 27
},
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 27
},
kind: "function",
argumentTypes: [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 28
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 29
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 30
},
kind: "number"
}
}, {
name: "tokenStartColumn",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 31
},
kind: "number"
}
}, {
name: "prefix",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 32
},
kind: "string"
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 33
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 33
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 33
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 33
},
kind: "named",
name: "ClangCompletion"
}
}
}
}
}
}], ["get_declaration", {
kind: "function",
name: "get_declaration",
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 37
},
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 37
},
kind: "function",
argumentTypes: [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 38
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 39
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 40
},
kind: "number"
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 41
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 41
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 41
},
kind: "named",
name: "ClangDeclaration"
}
}
}
}
}], ["get_declaration_info", {
kind: "function",
name: "get_declaration_info",
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 45
},
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 45
},
kind: "function",
argumentTypes: [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 46
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 47
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 48
},
kind: "number"
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 49
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 49
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 49
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 49
},
kind: "named",
name: "ClangCursor"
}
}
}
}
}
}], ["get_outline", {
kind: "function",
name: "get_outline",
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 53
},
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 53
},
kind: "function",
argumentTypes: [{
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 53
},
kind: "string"
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 54
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 54
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 54
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangProcessService.js",
line: 54
},
kind: "named",
name: "ClangOutlineTree"
}
}
}
}
}
}], ["ClangCursorType", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 20
},
name: "ClangCursorType",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 20
},
kind: "string"
}
}], ["ClangCursorExtent", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 22
},
name: "ClangCursorExtent",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 22
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 23
},
name: "start",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 23
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 23
},
name: "line",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 23
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 23
},
name: "column",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 23
},
kind: "number"
},
optional: false
}]
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 24
},
name: "end",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 24
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 24
},
name: "line",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 24
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 24
},
name: "column",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 24
},
kind: "number"
},
optional: false
}]
},
optional: false
}]
}
}], ["ClangLocation", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 27
},
name: "ClangLocation",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 27
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 28
},
name: "column",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 28
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 29
},
name: "file",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 29
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 29
},
kind: "named",
name: "NuclideUri"
}
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 30
},
name: "line",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 30
},
kind: "number"
},
optional: false
}]
}
}], ["ClangSourceRange", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 33
},
name: "ClangSourceRange",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 33
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 34
},
name: "file",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 34
},
kind: "named",
name: "NuclideUri"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 35
},
name: "start",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 35
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 35
},
name: "line",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 35
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 35
},
name: "column",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 35
},
kind: "number"
},
optional: false
}]
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 36
},
name: "end",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 36
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 36
},
name: "line",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 36
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 36
},
name: "column",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 36
},
kind: "number"
},
optional: false
}]
},
optional: false
}]
}
}], ["ClangCompileResult", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 39
},
name: "ClangCompileResult",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 39
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 40
},
name: "diagnostics",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 40
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 40
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 41
},
name: "spelling",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 41
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 42
},
name: "severity",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 42
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 43
},
name: "location",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 43
},
kind: "named",
name: "ClangLocation"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 44
},
name: "ranges",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 44
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 44
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 44
},
kind: "named",
name: "ClangSourceRange"
}
}
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 45
},
name: "fixits",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 45
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 45
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 46
},
name: "range",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 46
},
kind: "named",
name: "ClangSourceRange"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 47
},
name: "value",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 47
},
kind: "string"
},
optional: false
}]
}
},
optional: true
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 57
},
name: "children",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 57
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 57
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 58
},
name: "spelling",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 58
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 59
},
name: "location",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 59
},
kind: "named",
name: "ClangLocation"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 60
},
name: "ranges",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 60
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 60
},
kind: "named",
name: "ClangSourceRange"
}
},
optional: false
}]
}
},
optional: true
}]
}
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 65
},
name: "accurateFlags",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 65
},
kind: "boolean"
},
optional: true
}]
}
}], ["ClangCompletion", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 68
},
name: "ClangCompletion",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 68
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 69
},
name: "chunks",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 69
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 69
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 70
},
name: "spelling",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 70
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 71
},
name: "isPlaceHolder",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 71
},
kind: "boolean"
},
optional: true
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 72
},
name: "isOptional",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 72
},
kind: "boolean"
},
optional: true
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 73
},
name: "kind",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 73
},
kind: "string"
},
optional: true
}]
}
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 75
},
name: "result_type",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 75
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 76
},
name: "spelling",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 76
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 77
},
name: "cursor_kind",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 77
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 78
},
name: "brief_comment",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 78
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 78
},
kind: "string"
}
},
optional: false
}]
}
}], ["ClangDeclaration", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 81
},
name: "ClangDeclaration",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 81
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 82
},
name: "file",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 82
},
kind: "named",
name: "NuclideUri"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 83
},
name: "line",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 83
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 84
},
name: "column",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 84
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 85
},
name: "spelling",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 85
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 85
},
kind: "string"
}
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 86
},
name: "type",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 86
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 86
},
kind: "string"
}
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 87
},
name: "extent",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 87
},
kind: "named",
name: "ClangCursorExtent"
},
optional: false
}]
}
}], ["ClangCursor", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 90
},
name: "ClangCursor",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 90
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 91
},
name: "name",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 91
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 92
},
name: "type",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 92
},
kind: "named",
name: "ClangCursorType"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 93
},
name: "cursor_usr",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 93
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 93
},
kind: "string"
}
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 94
},
name: "file",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 94
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 94
},
kind: "named",
name: "NuclideUri"
}
},
optional: false
}]
}
}], ["ClangOutlineTree", {
kind: "alias",
location: {
type: "source",
fileName: "rpc-types.js",
line: 97
},
name: "ClangOutlineTree",
definition: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 97
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "rpc-types.js",
line: 98
},
name: "name",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 98
},
kind: "string"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 99
},
name: "extent",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 99
},
kind: "named",
name: "ClangCursorExtent"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 100
},
name: "cursor_kind",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 100
},
kind: "named",
name: "ClangCursorType"
},
optional: false
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 102
},
name: "cursor_type",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 102
},
kind: "string"
},
optional: true
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 105
},
name: "params",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 105
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 105
},
kind: "string"
}
},
optional: true
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 107
},
name: "tparams",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 107
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 107
},
kind: "string"
}
},
optional: true
}, {
location: {
type: "source",
fileName: "rpc-types.js",
line: 109
},
name: "children",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 109
},
kind: "array",
type: {
location: {
type: "source",
fileName: "rpc-types.js",
line: 109
},
kind: "named",
name: "ClangOutlineTree"
}
},
optional: true
}]
}
}]])
});