139 lines
2.6 KiB
TypeScript
139 lines
2.6 KiB
TypeScript
|
/// <reference path="fourslash.ts"/>
|
||
|
|
||
|
////var a = {
|
||
|
//// b: 0,
|
||
|
//// c: {},
|
||
|
//// d: {
|
||
|
//// e: 1,
|
||
|
//// },
|
||
|
//// f: {
|
||
|
//// g: 2,
|
||
|
//// h: {
|
||
|
//// i: 3,
|
||
|
//// },
|
||
|
//// },
|
||
|
////}
|
||
|
|
||
|
verify.navigationTree({
|
||
|
"text": "<global>",
|
||
|
"kind": "script",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "a",
|
||
|
"kind": "var",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "b",
|
||
|
"kind": "property"
|
||
|
},
|
||
|
{
|
||
|
"text": "c",
|
||
|
"kind": "property"
|
||
|
},
|
||
|
{
|
||
|
"text": "d",
|
||
|
"kind": "property",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "e",
|
||
|
"kind": "property"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"text": "f",
|
||
|
"kind": "property",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "g",
|
||
|
"kind": "property"
|
||
|
},
|
||
|
{
|
||
|
"text": "h",
|
||
|
"kind": "property",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "i",
|
||
|
"kind": "property"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
});
|
||
|
|
||
|
verify.navigationBar([
|
||
|
{
|
||
|
"text": "<global>",
|
||
|
"kind": "script",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "a",
|
||
|
"kind": "var"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"text": "a",
|
||
|
"kind": "var",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "b",
|
||
|
"kind": "property"
|
||
|
},
|
||
|
{
|
||
|
"text": "c",
|
||
|
"kind": "property"
|
||
|
},
|
||
|
{
|
||
|
"text": "d",
|
||
|
"kind": "property"
|
||
|
},
|
||
|
{
|
||
|
"text": "f",
|
||
|
"kind": "property"
|
||
|
}
|
||
|
],
|
||
|
"indent": 1
|
||
|
},
|
||
|
{
|
||
|
"text": "d",
|
||
|
"kind": "property",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "e",
|
||
|
"kind": "property"
|
||
|
}
|
||
|
],
|
||
|
"indent": 2
|
||
|
},
|
||
|
{
|
||
|
"text": "f",
|
||
|
"kind": "property",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "g",
|
||
|
"kind": "property"
|
||
|
},
|
||
|
{
|
||
|
"text": "h",
|
||
|
"kind": "property"
|
||
|
}
|
||
|
],
|
||
|
"indent": 2
|
||
|
},
|
||
|
{
|
||
|
"text": "h",
|
||
|
"kind": "property",
|
||
|
"childItems": [
|
||
|
{
|
||
|
"text": "i",
|
||
|
"kind": "property"
|
||
|
}
|
||
|
],
|
||
|
"indent": 3
|
||
|
}
|
||
|
]);
|