mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00

Added several classes that can be used to aggregate all of the information from within a .qmltypes file as defined by http://doc.qt.io/qt-5/qtqml-modules-qmldir.html#writing-a-qmltypes-file Change-Id: Ia36c3bb1a4a0254c4125733d6faabbb5a4606133 Signed-off-by: Matthew Bastien <mbastien@blackberry.com>
21 lines
No EOL
382 B
JavaScript
21 lines
No EOL
382 B
JavaScript
function newTernServer(options) {
|
|
return new tern.Server(options);
|
|
}
|
|
|
|
function resolveDirectory(obj) {
|
|
return function (file, path) {
|
|
return obj.resolveDirectory(file, path);
|
|
};
|
|
}
|
|
|
|
function resolveModule(obj) {
|
|
return function (module) {
|
|
return obj.resolveModule(module);
|
|
};
|
|
}
|
|
|
|
function requestCallback(obj) {
|
|
return function (err, data) {
|
|
obj.callback(err, data);
|
|
};
|
|
} |