2015-03-02 23:41:44 +01:00
|
|
|
/////**
|
2014-12-04 00:05:38 +01:00
|
|
|
//// * This is a class.
|
|
|
|
//// */
|
|
|
|
////class /* But it has no name! */ {
|
2016-05-26 16:30:31 +02:00
|
|
|
//// foo() {}
|
2014-12-04 00:05:38 +01:00
|
|
|
////}
|
|
|
|
|
2016-05-26 16:30:31 +02:00
|
|
|
// Anonymous classes are still included.
|
2016-10-11 16:48:28 +02:00
|
|
|
verify.navigationTree({
|
|
|
|
"text": "<global>",
|
|
|
|
"kind": "script",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "<class>",
|
|
|
|
"kind": "class",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "foo",
|
|
|
|
"kind": "method"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
});
|
|
|
|
|
2016-05-26 16:30:31 +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": "<class>",
|
|
|
|
"kind": "class"
|
|
|
|
}
|
|
|
|
]
|
2016-05-26 16:30:31 +02:00
|
|
|
},
|
|
|
|
{
|
2016-06-16 22:20:12 +02:00
|
|
|
"text": "<class>",
|
2016-05-26 16:30:31 +02:00
|
|
|
"kind": "class",
|
|
|
|
"childItems": [
|
|
|
|
{
|
|
|
|
"text": "foo",
|
|
|
|
"kind": "method"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"indent": 1
|
|
|
|
}
|
|
|
|
]);
|