2014-07-13 01:04:16 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
2016-05-26 16:30:31 +02:00
|
|
|
//// declare module Windows {
|
|
|
|
//// export module Foundation {
|
|
|
|
//// export var A;
|
|
|
|
//// export class Test {
|
|
|
|
//// public wow();
|
2014-07-13 01:04:16 +02:00
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
//// }
|
2016-06-16 22:20:12 +02:00
|
|
|
////
|
2016-05-26 16:30:31 +02:00
|
|
|
//// declare module Windows {
|
|
|
|
//// export module Foundation {
|
|
|
|
//// export var B;
|
|
|
|
//// export module Test {
|
|
|
|
//// export function Boom(): number;
|
2014-07-13 01:04:16 +02:00
|
|
|
//// }
|
|
|
|
//// }
|
|
|
|
//// }
|
2016-06-16 22:20:12 +02:00
|
|
|
////
|
2016-05-26 16:30:31 +02:00
|
|
|
//// class ABC {
|
|
|
|
//// public foo() {
|
2014-07-13 01:04:16 +02:00
|
|
|
//// return 3;
|
|
|
|
//// }
|
|
|
|
//// }
|
2016-06-16 22:20:12 +02:00
|
|
|
////
|
2016-05-26 16:30:31 +02:00
|
|
|
//// module ABC {
|
|
|
|
//// export var x = 3;
|
2014-07-13 01:04:16 +02:00
|
|
|
//// }
|
2014-08-01 22:05:23 +02:00
|
|
|
|
2016-10-11 16:48:28 +02:00
|
|
|
verify.navigationTree({
|
|
|
|
"text": "<global>",
|
|
|
|
"kind": "script",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "ABC",
|
|
|
|
"kind": "class",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "foo",
|
|
|
|
"kind": "method",
|
|
|
|
"kindModifiers": "public"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "ABC",
|
|
|
|
"kind": "module",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "x",
|
|
|
|
"kind": "var",
|
|
|
|
"kindModifiers": "export"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Windows",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "declare",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "Foundation",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "export,declare",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "A",
|
|
|
|
"kind": "var",
|
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "B",
|
|
|
|
"kind": "var",
|
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Test",
|
|
|
|
"kind": "class",
|
|
|
|
"kindModifiers": "export,declare",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "wow",
|
|
|
|
"kind": "method",
|
|
|
|
"kindModifiers": "public,declare"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Test",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "export,declare",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "Boom",
|
|
|
|
"kind": "function",
|
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
|
2016-05-26 16:30:31 +02:00
|
|
|
verify.navigationBar([
|
|
|
|
{
|
|
|
|
"text": "<global>",
|
2016-07-26 19:41:20 +02:00
|
|
|
"kind": "script",
|
2016-05-26 16:30:31 +02:00
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "ABC",
|
|
|
|
"kind": "class"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "ABC",
|
|
|
|
"kind": "module"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Windows",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "declare"
|
|
|
|
}
|
2016-05-27 15:12:10 +02:00
|
|
|
]
|
2016-05-26 16:30:31 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "ABC",
|
|
|
|
"kind": "class",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "foo",
|
|
|
|
"kind": "method",
|
|
|
|
"kindModifiers": "public"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indent": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "ABC",
|
|
|
|
"kind": "module",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "x",
|
|
|
|
"kind": "var",
|
|
|
|
"kindModifiers": "export"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indent": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Windows",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "declare",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "Foundation",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indent": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Foundation",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "export,declare",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "A",
|
|
|
|
"kind": "var",
|
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
},
|
|
|
|
{
|
2016-06-16 22:20:12 +02:00
|
|
|
"text": "B",
|
|
|
|
"kind": "var",
|
2016-05-26 16:30:31 +02:00
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
},
|
|
|
|
{
|
2016-06-16 22:20:12 +02:00
|
|
|
"text": "Test",
|
|
|
|
"kind": "class",
|
2016-05-26 16:30:31 +02:00
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Test",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indent": 2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Test",
|
|
|
|
"kind": "class",
|
|
|
|
"kindModifiers": "export,declare",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "wow",
|
|
|
|
"kind": "method",
|
|
|
|
"kindModifiers": "public,declare"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indent": 3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Test",
|
|
|
|
"kind": "module",
|
|
|
|
"kindModifiers": "export,declare",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "Boom",
|
|
|
|
"kind": "function",
|
|
|
|
"kindModifiers": "export,declare"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indent": 3
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
2016-05-26 16:30:31 +02:00
|
|
|
]);
|