c++: Fix handling of the `final` contextual keyword
[geany-mirror.git] / tests / ctags / 3470609.js
blob7b385683e45b9e873eb7f5325fce7e9190075efe
1 /*\r
2  * Test for properties values.  Everything is valid here and must be\r
3  * correctly parsed.\r
4  * \r
5  * Output of ctags -f - 3470609.js should be:\r
6  * \r
7  * Properties:\r
8  *    root.array\r
9  *    root.decimal\r
10  *    root.id\r
11  *    root.neg\r
12  *    root.parentheses\r
13  *    root.string\r
14  *    root.subObject.subProperty\r
15  * \r
16  * Classes:\r
17  *    root\r
18  *    root.subObject\r
19  * \r
20  * Methods:\r
21  *    root.method\r
22  *    root.subObject.subFunction\r
23  * \r
24  * Functions:\r
25  *    f\r
26  */\r
28 var root = {\r
29     'string' : 'hello world',\r
30     'method' : function() {\r
31         x = 42;\r
32     },\r
33     'id' : 1,\r
34     'neg' : -1,\r
35     'decimal' : 1.3,\r
36     'subObject' : {\r
37         'subProperty': 42,\r
38         'subFunction': function() {\r
39             y = 43;\r
40         }\r
41     },\r
42     'array' : [1, 2, 3],\r
43     'parentheses' : (2 * (2 + 3))\r
44 }\r
46 function f() {\r
48 }\r