2016-06-16 22:20:12 +02:00
|
|
|
/// <reference path="fourslash.ts" />
|
|
|
|
|
|
|
|
////console.log(console.log(class Y {}, class X {}), console.log(class B {}, class A {}));
|
|
|
|
////console.log(class Cls { meth() {} });
|
|
|
|
|
2016-10-11 16:48:28 +02:00
|
|
|
verify.navigationTree({
|
|
|
|
"text": "<global>",
|
|
|
|
"kind": "script",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "A",
|
|
|
|
"kind": "class"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "B",
|
|
|
|
"kind": "class"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Cls",
|
|
|
|
"kind": "class",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "meth",
|
|
|
|
"kind": "method"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "X",
|
|
|
|
"kind": "class"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Y",
|
|
|
|
"kind": "class"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
|
2016-06-16 22:20:12 +02:00
|
|
|
verify.navigationBar([
|
|
|
|
{
|
|
|
|
"text": "<global>",
|
2016-07-26 19:41:20 +02:00
|
|
|
"kind": "script",
|
2016-06-16 22:20:12 +02:00
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "A",
|
|
|
|
"kind": "class"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "B",
|
|
|
|
"kind": "class"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Cls",
|
|
|
|
"kind": "class"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "X",
|
|
|
|
"kind": "class"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Y",
|
|
|
|
"kind": "class"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "A",
|
|
|
|
"kind": "class",
|
|
|
|
"indent": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "B",
|
|
|
|
"kind": "class",
|
|
|
|
"indent": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Cls",
|
|
|
|
"kind": "class",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "meth",
|
|
|
|
"kind": "method"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indent": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "X",
|
|
|
|
"kind": "class",
|
|
|
|
"indent": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "Y",
|
|
|
|
"kind": "class",
|
|
|
|
"indent": 1
|
|
|
|
}
|
|
|
|
]);
|