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.
2,131 lines (2,118 loc) • 60.1 kB
JavaScript
"use strict";
let Observable, trackOperationTiming;
module.exports = _client => {
const remoteModule = {};
remoteModule.compile = function (arg0, arg1, arg2) {
return Observable.fromPromise(_client.marshalArguments(Array.from(arguments), [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 108
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 109
},
kind: "string"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 110
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 110
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 110
},
kind: "string"
}
}
}
}]).then(args => {
return _client.callRemoteFunction("ClangService/compile", "observable", args);
})).concatMap(id => id).concatMap(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangService.js",
line: 111
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 111
},
kind: "named",
name: "ClangCompileResult"
}
});
}).publish();
};
remoteModule.getCompletions = function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
return _client.marshalArguments(Array.from(arguments), [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 127
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 128
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 129
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 130
},
kind: "number"
}
}, {
name: "tokenStartColumn",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 131
},
kind: "number"
}
}, {
name: "prefix",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 132
},
kind: "string"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 133
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 133
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 133
},
kind: "string"
}
}
}
}]).then(args => {
return _client.callRemoteFunction("ClangService/getCompletions", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangService.js",
line: 134
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 134
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 134
},
kind: "named",
name: "ClangCompletion"
}
}
});
});
};
remoteModule.getDeclaration = function (arg0, arg1, arg2, arg3, arg4) {
return _client.marshalArguments(Array.from(arguments), [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 148
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 149
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 150
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 151
},
kind: "number"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 152
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 152
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 152
},
kind: "string"
}
}
}
}]).then(args => {
return _client.callRemoteFunction("ClangService/getDeclaration", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangService.js",
line: 153
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 153
},
kind: "named",
name: "ClangDeclaration"
}
});
});
};
remoteModule.getDeclarationInfo = function (arg0, arg1, arg2, arg3, arg4) {
return _client.marshalArguments(Array.from(arguments), [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 168
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 169
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 170
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 171
},
kind: "number"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 172
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 172
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 172
},
kind: "string"
}
}
}
}]).then(args => {
return _client.callRemoteFunction("ClangService/getDeclarationInfo", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangService.js",
line: 173
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 173
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 173
},
kind: "named",
name: "ClangCursor"
}
}
});
});
};
remoteModule.getOutline = function (arg0, arg1, arg2) {
return _client.marshalArguments(Array.from(arguments), [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 185
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 186
},
kind: "string"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 187
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 187
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 187
},
kind: "string"
}
}
}
}]).then(args => {
return _client.callRemoteFunction("ClangService/getOutline", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangService.js",
line: 188
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 188
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 188
},
kind: "named",
name: "ClangOutlineTree"
}
}
});
});
};
remoteModule.formatCode = function (arg0, arg1, arg2, arg3, arg4) {
return _client.marshalArguments(Array.from(arguments), [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 196
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 197
},
kind: "string"
}
}, {
name: "cursor",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 198
},
kind: "number"
}
}, {
name: "offset",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 199
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 199
},
kind: "number"
}
}
}, {
name: "length",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 200
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 200
},
kind: "number"
}
}
}]).then(args => {
return _client.callRemoteFunction("ClangService/formatCode", "promise", args);
}).then(value => {
return _client.unmarshal(value, {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
name: "newCursor",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
name: "formatted",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
kind: "string"
},
optional: false
}]
});
});
};
remoteModule.reset = function (arg0) {
return _client.marshalArguments(Array.from(arguments), [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 228
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 228
},
kind: "named",
name: "NuclideUri"
}
}
}]).then(args => {
return _client.callRemoteFunction("ClangService/reset", "void", args);
});
};
remoteModule.dispose = function () {
return _client.marshalArguments(Array.from(arguments), []).then(args => {
return _client.callRemoteFunction("ClangService/dispose", "void", args);
});
};
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: "ClangService.js",
line: 107
},
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 107
},
kind: "function",
argumentTypes: [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 108
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 109
},
kind: "string"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 110
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 110
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 110
},
kind: "string"
}
}
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangService.js",
line: 111
},
kind: "observable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 111
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 111
},
kind: "named",
name: "ClangCompileResult"
}
}
}
}
}], ["getCompletions", {
kind: "function",
name: "getCompletions",
location: {
type: "source",
fileName: "ClangService.js",
line: 126
},
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 126
},
kind: "function",
argumentTypes: [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 127
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 128
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 129
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 130
},
kind: "number"
}
}, {
name: "tokenStartColumn",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 131
},
kind: "number"
}
}, {
name: "prefix",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 132
},
kind: "string"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 133
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 133
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 133
},
kind: "string"
}
}
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangService.js",
line: 134
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 134
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 134
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 134
},
kind: "named",
name: "ClangCompletion"
}
}
}
}
}
}], ["getDeclaration", {
kind: "function",
name: "getDeclaration",
location: {
type: "source",
fileName: "ClangService.js",
line: 147
},
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 147
},
kind: "function",
argumentTypes: [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 148
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 149
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 150
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 151
},
kind: "number"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 152
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 152
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 152
},
kind: "string"
}
}
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangService.js",
line: 153
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 153
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 153
},
kind: "named",
name: "ClangDeclaration"
}
}
}
}
}], ["getDeclarationInfo", {
kind: "function",
name: "getDeclarationInfo",
location: {
type: "source",
fileName: "ClangService.js",
line: 167
},
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 167
},
kind: "function",
argumentTypes: [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 168
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 169
},
kind: "string"
}
}, {
name: "line",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 170
},
kind: "number"
}
}, {
name: "column",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 171
},
kind: "number"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 172
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 172
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 172
},
kind: "string"
}
}
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangService.js",
line: 173
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 173
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 173
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 173
},
kind: "named",
name: "ClangCursor"
}
}
}
}
}
}], ["getOutline", {
kind: "function",
name: "getOutline",
location: {
type: "source",
fileName: "ClangService.js",
line: 184
},
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 184
},
kind: "function",
argumentTypes: [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 185
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 186
},
kind: "string"
}
}, {
name: "defaultFlags",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 187
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 187
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 187
},
kind: "string"
}
}
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangService.js",
line: 188
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 188
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 188
},
kind: "array",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 188
},
kind: "named",
name: "ClangOutlineTree"
}
}
}
}
}
}], ["formatCode", {
kind: "function",
name: "formatCode",
location: {
type: "source",
fileName: "ClangService.js",
line: 195
},
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 195
},
kind: "function",
argumentTypes: [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 196
},
kind: "named",
name: "NuclideUri"
}
}, {
name: "contents",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 197
},
kind: "string"
}
}, {
name: "cursor",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 198
},
kind: "number"
}
}, {
name: "offset",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 199
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 199
},
kind: "number"
}
}
}, {
name: "length",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 200
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 200
},
kind: "number"
}
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
kind: "promise",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
kind: "object",
fields: [{
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
name: "newCursor",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
kind: "number"
},
optional: false
}, {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
name: "formatted",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 201
},
kind: "string"
},
optional: false
}]
}
}
}
}], ["reset", {
kind: "function",
name: "reset",
location: {
type: "source",
fileName: "ClangService.js",
line: 228
},
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 228
},
kind: "function",
argumentTypes: [{
name: "src",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 228
},
kind: "nullable",
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 228
},
kind: "named",
name: "NuclideUri"
}
}
}],
returnType: {
location: {
type: "source",
fileName: "ClangService.js",
line: 228
},
kind: "void"
}
}
}], ["dispose", {
kind: "function",
name: "dispose",
location: {
type: "source",
fileName: "ClangService.js",
line: 232
},
type: {
location: {
type: "source",
fileName: "ClangService.js",
line: 232
},
kind: "function",
argumentTypes: [],
returnType: {
location: {
type: "source",
fileName: "ClangService.js",
line: 232
},
kind: "void"
}
}
}], ["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
}]
}
},