@ant-yasa/uast-parser-java-js 0.1.15-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/.babelrc +12 -0
  2. package/.eslintignore +1 -0
  3. package/.eslintrc.js +38 -0
  4. package/.mocharc-integration.js +1 -0
  5. package/.mocharc.js +4 -0
  6. package/.prettierignore +1 -0
  7. package/.prettierrc +4 -0
  8. package/LEGAL.md +7 -0
  9. package/README.md +35 -0
  10. package/antlr/Java.g4 +1008 -0
  11. package/antlr/JavaLexer.g4 +241 -0
  12. package/antlr/JavaLexer_origin.g4 +241 -0
  13. package/antlr/JavaParser.g4 +765 -0
  14. package/antlr/JavaParser_origin.g4 +766 -0
  15. package/dist/package.json +73 -0
  16. package/dist/src/frontend/java/ASTBuilder.d.ts +171 -0
  17. package/dist/src/frontend/java/ASTBuilder.js +2369 -0
  18. package/dist/src/frontend/java/ASTBuilder.js.map +1 -0
  19. package/dist/src/frontend/java/ErrorListener.d.ts +9 -0
  20. package/dist/src/frontend/java/ErrorListener.js +24 -0
  21. package/dist/src/frontend/java/ErrorListener.js.map +1 -0
  22. package/dist/src/frontend/java/antlr/JavaLexer.d.ts +154 -0
  23. package/dist/src/frontend/java/antlr/JavaLexer.js +812 -0
  24. package/dist/src/frontend/java/antlr/JavaLexer.js.map +1 -0
  25. package/dist/src/frontend/java/antlr/JavaListener.d.ts +1393 -0
  26. package/dist/src/frontend/java/antlr/JavaListener.js +4 -0
  27. package/dist/src/frontend/java/antlr/JavaListener.js.map +1 -0
  28. package/dist/src/frontend/java/antlr/JavaParser.d.ts +2065 -0
  29. package/dist/src/frontend/java/antlr/JavaParser.js +15279 -0
  30. package/dist/src/frontend/java/antlr/JavaParser.js.map +1 -0
  31. package/dist/src/frontend/java/antlr/JavaVisitor.d.ts +892 -0
  32. package/dist/src/frontend/java/antlr/JavaVisitor.js +4 -0
  33. package/dist/src/frontend/java/antlr/JavaVisitor.js.map +1 -0
  34. package/dist/src/frontend/java/parser.d.ts +20 -0
  35. package/dist/src/frontend/java/parser.js +93 -0
  36. package/dist/src/frontend/java/parser.js.map +1 -0
  37. package/dist/src/frontend/java/testBuilder.d.ts +146 -0
  38. package/dist/src/frontend/java/testBuilder.js +464 -0
  39. package/dist/src/frontend/java/testBuilder.js.map +1 -0
  40. package/dist/src/frontend/java/types.d.ts +29 -0
  41. package/dist/src/frontend/java/types.js +3 -0
  42. package/dist/src/frontend/java/types.js.map +1 -0
  43. package/dist/src/frontend/javascript/parser.d.ts +8 -0
  44. package/dist/src/frontend/javascript/parser.js +1121 -0
  45. package/dist/src/frontend/javascript/parser.js.map +1 -0
  46. package/dist/src/index.d.ts +14 -0
  47. package/dist/src/index.js +76 -0
  48. package/dist/src/index.js.map +1 -0
  49. package/output.txt +3820 -0
  50. package/package.json +73 -0
  51. package/tests/benchmark/base/class.js +32 -0
  52. package/tests/benchmark/base/class.js.json +1809 -0
  53. package/tests/benchmark/base/class_test.js +13 -0
  54. package/tests/benchmark/base/class_test.js.json +435 -0
  55. package/tests/benchmark/base/comment.js +21 -0
  56. package/tests/benchmark/base/comment.js.json +1443 -0
  57. package/tests/benchmark/base/demo.ts +1060 -0
  58. package/tests/benchmark/base/empty.js +4 -0
  59. package/tests/benchmark/base/empty.js.json +202 -0
  60. package/tests/benchmark/base/export.js +36 -0
  61. package/tests/benchmark/base/export.js.json +6345 -0
  62. package/tests/benchmark/base/export1.js +2 -0
  63. package/tests/benchmark/base/export1.js.json +251 -0
  64. package/tests/benchmark/base/export2.js +35 -0
  65. package/tests/benchmark/base/export2.js.json +3297 -0
  66. package/tests/benchmark/base/expressions.js +25 -0
  67. package/tests/benchmark/base/expressions.js.json +1654 -0
  68. package/tests/benchmark/base/for.js +7 -0
  69. package/tests/benchmark/base/for.js.json +738 -0
  70. package/tests/benchmark/base/function.js +15 -0
  71. package/tests/benchmark/base/function.js.json +1458 -0
  72. package/tests/benchmark/base/import.js +3 -0
  73. package/tests/benchmark/base/import.js.json +416 -0
  74. package/tests/benchmark/base/literal.js +27 -0
  75. package/tests/benchmark/base/literal.js.json +1234 -0
  76. package/tests/benchmark/base/param.js +4 -0
  77. package/tests/benchmark/base/param.js.json +410 -0
  78. package/tests/benchmark/base/parseerror.js +1 -0
  79. package/tests/benchmark/base/parseerror.js.json +191 -0
  80. package/tests/benchmark/base/patternlike.js +24 -0
  81. package/tests/benchmark/base/patternlike.js.json +3720 -0
  82. package/tests/benchmark/base/react.js +8 -0
  83. package/tests/benchmark/base/react.js.json +211 -0
  84. package/tests/benchmark/base/switch.js +11 -0
  85. package/tests/benchmark/base/switch.js.json +741 -0
  86. package/tests/benchmark/base/taint.ts +61 -0
  87. package/tests/benchmark/base/temp.js +311 -0
  88. package/tests/benchmark/base/temp.js.json +22170 -0
  89. package/tests/benchmark/base/tmp.js +134 -0
  90. package/tests/benchmark/base/tmp.js.json +15409 -0
  91. package/tests/benchmark/base/vardecl.js +9 -0
  92. package/tests/benchmark/base/vardecl.js.json +491 -0
  93. package/tests/index.js +43 -0
  94. package/tests/index.ts +66 -0
  95. package/tests/test.d.ts +0 -0
  96. package/tests/test.js +38 -0
  97. package/tests/test.ts +60 -0
  98. package/tsconfig.json +24 -0
  99. package/tsconfig.test.json +13 -0
  100. package/webpack.config.js +21 -0
@@ -0,0 +1,3297 @@
1
+ {
2
+ "type": "CompileUnit",
3
+ "body": [
4
+ {
5
+ "type": "Sequence",
6
+ "expressions": [
7
+ {
8
+ "type": "VariableDeclaration",
9
+ "id": {
10
+ "type": "Identifier",
11
+ "name": "transformDate",
12
+ "_meta": {
13
+ "_extra": {
14
+ "start": 28,
15
+ "end": 41
16
+ }
17
+ },
18
+ "loc": {
19
+ "start": {
20
+ "line": 3,
21
+ "column": 14
22
+ },
23
+ "end": {
24
+ "line": 3,
25
+ "column": 27
26
+ },
27
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
28
+ }
29
+ },
30
+ "init": {
31
+ "type": "FunctionDefinition",
32
+ "id": null,
33
+ "parameters": [
34
+ {
35
+ "type": "VariableDeclaration",
36
+ "id": {
37
+ "type": "Identifier",
38
+ "name": "dateStr",
39
+ "_meta": {
40
+ "_extra": {
41
+ "start": 44,
42
+ "end": 51
43
+ }
44
+ },
45
+ "loc": {
46
+ "start": {
47
+ "line": 3,
48
+ "column": 30
49
+ },
50
+ "end": {
51
+ "line": 3,
52
+ "column": 37
53
+ },
54
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
55
+ }
56
+ },
57
+ "init": null,
58
+ "cloned": false,
59
+ "varType": {
60
+ "type": "DynamicType",
61
+ "id": null,
62
+ "_meta": {}
63
+ },
64
+ "_meta": {},
65
+ "loc": {
66
+ "start": {
67
+ "line": 3,
68
+ "column": 30
69
+ },
70
+ "end": {
71
+ "line": 3,
72
+ "column": 37
73
+ },
74
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
75
+ }
76
+ }
77
+ ],
78
+ "returnType": {
79
+ "type": "DynamicType",
80
+ "id": null,
81
+ "_meta": {},
82
+ "loc": {
83
+ "start": {
84
+ "line": 3,
85
+ "column": 30
86
+ },
87
+ "end": {
88
+ "line": 19,
89
+ "column": 2
90
+ },
91
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
92
+ }
93
+ },
94
+ "body": {
95
+ "type": "ScopedStatement",
96
+ "body": [
97
+ {
98
+ "type": "ScopedStatement",
99
+ "body": [
100
+ {
101
+ "type": "VariableDeclaration",
102
+ "id": {
103
+ "type": "Identifier",
104
+ "name": "dateObj",
105
+ "_meta": {
106
+ "_extra": {
107
+ "start": 67,
108
+ "end": 79
109
+ }
110
+ },
111
+ "loc": {
112
+ "start": {
113
+ "line": 4,
114
+ "column": 11
115
+ },
116
+ "end": {
117
+ "line": 4,
118
+ "column": 23
119
+ },
120
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
121
+ }
122
+ },
123
+ "init": {
124
+ "type": "ObjectExpression",
125
+ "properties": [],
126
+ "id": null,
127
+ "_meta": {
128
+ "_extra": {
129
+ "start": 82,
130
+ "end": 84
131
+ }
132
+ },
133
+ "loc": {
134
+ "start": {
135
+ "line": 4,
136
+ "column": 26
137
+ },
138
+ "end": {
139
+ "line": 4,
140
+ "column": 28
141
+ },
142
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
143
+ }
144
+ },
145
+ "cloned": false,
146
+ "varType": {
147
+ "type": "DynamicType",
148
+ "id": null,
149
+ "_meta": {}
150
+ },
151
+ "_meta": {
152
+ "_extra": {
153
+ "start": 61,
154
+ "end": 85
155
+ }
156
+ },
157
+ "loc": {
158
+ "start": {
159
+ "line": 4,
160
+ "column": 11
161
+ },
162
+ "end": {
163
+ "line": 4,
164
+ "column": 28
165
+ },
166
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
167
+ }
168
+ },
169
+ {
170
+ "type": "IfStatement",
171
+ "test": {
172
+ "type": "BinaryExpression",
173
+ "operator": "||",
174
+ "left": {
175
+ "type": "UnaryExpression",
176
+ "operator": "!",
177
+ "argument": {
178
+ "type": "Identifier",
179
+ "name": "dateStr",
180
+ "_meta": {
181
+ "_extra": {
182
+ "start": 100,
183
+ "end": 107
184
+ }
185
+ },
186
+ "loc": {
187
+ "start": {
188
+ "line": 6,
189
+ "column": 10
190
+ },
191
+ "end": {
192
+ "line": 6,
193
+ "column": 17
194
+ },
195
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
196
+ }
197
+ },
198
+ "isSuffix": false,
199
+ "_meta": {
200
+ "_extra": {
201
+ "start": 99,
202
+ "end": 107
203
+ }
204
+ },
205
+ "loc": {
206
+ "start": {
207
+ "line": 6,
208
+ "column": 9
209
+ },
210
+ "end": {
211
+ "line": 6,
212
+ "column": 17
213
+ },
214
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
215
+ }
216
+ },
217
+ "right": {
218
+ "type": "UnaryExpression",
219
+ "operator": "!",
220
+ "argument": {
221
+ "type": "CallExpression",
222
+ "callee": {
223
+ "type": "MemberAccess",
224
+ "object": {
225
+ "type": "Literal",
226
+ "value": "^\\d{8}$",
227
+ "literalType": "string",
228
+ "_meta": {
229
+ "_extra": {
230
+ "start": 112,
231
+ "end": 121
232
+ }
233
+ },
234
+ "loc": {
235
+ "start": {
236
+ "line": 6,
237
+ "column": 22
238
+ },
239
+ "end": {
240
+ "line": 6,
241
+ "column": 31
242
+ },
243
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
244
+ }
245
+ },
246
+ "property": {
247
+ "type": "Identifier",
248
+ "name": "test",
249
+ "_meta": {
250
+ "_extra": {
251
+ "start": 122,
252
+ "end": 126
253
+ }
254
+ },
255
+ "loc": {
256
+ "start": {
257
+ "line": 6,
258
+ "column": 32
259
+ },
260
+ "end": {
261
+ "line": 6,
262
+ "column": 36
263
+ },
264
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
265
+ }
266
+ },
267
+ "computed": false,
268
+ "_meta": {
269
+ "_extra": {
270
+ "start": 112,
271
+ "end": 126
272
+ }
273
+ },
274
+ "loc": {
275
+ "start": {
276
+ "line": 6,
277
+ "column": 22
278
+ },
279
+ "end": {
280
+ "line": 6,
281
+ "column": 36
282
+ },
283
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
284
+ }
285
+ },
286
+ "arguments": [
287
+ {
288
+ "type": "Identifier",
289
+ "name": "dateStr",
290
+ "_meta": {
291
+ "_extra": {
292
+ "start": 127,
293
+ "end": 134
294
+ }
295
+ },
296
+ "loc": {
297
+ "start": {
298
+ "line": 6,
299
+ "column": 37
300
+ },
301
+ "end": {
302
+ "line": 6,
303
+ "column": 44
304
+ },
305
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
306
+ }
307
+ }
308
+ ],
309
+ "_meta": {
310
+ "_extra": {
311
+ "start": 112,
312
+ "end": 135
313
+ }
314
+ },
315
+ "loc": {
316
+ "start": {
317
+ "line": 6,
318
+ "column": 22
319
+ },
320
+ "end": {
321
+ "line": 6,
322
+ "column": 45
323
+ },
324
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
325
+ }
326
+ },
327
+ "isSuffix": false,
328
+ "_meta": {
329
+ "_extra": {
330
+ "start": 111,
331
+ "end": 135
332
+ }
333
+ },
334
+ "loc": {
335
+ "start": {
336
+ "line": 6,
337
+ "column": 21
338
+ },
339
+ "end": {
340
+ "line": 6,
341
+ "column": 45
342
+ },
343
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
344
+ }
345
+ },
346
+ "_meta": {
347
+ "_extra": {
348
+ "start": 99,
349
+ "end": 135
350
+ }
351
+ },
352
+ "loc": {
353
+ "start": {
354
+ "line": 6,
355
+ "column": 9
356
+ },
357
+ "end": {
358
+ "line": 6,
359
+ "column": 45
360
+ },
361
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
362
+ }
363
+ },
364
+ "consequent": {
365
+ "type": "ScopedStatement",
366
+ "body": [
367
+ {
368
+ "type": "ReturnStatement",
369
+ "argument": {
370
+ "type": "Identifier",
371
+ "name": "dateObj",
372
+ "_meta": {
373
+ "_extra": {
374
+ "start": 154,
375
+ "end": 161
376
+ }
377
+ },
378
+ "loc": {
379
+ "start": {
380
+ "line": 7,
381
+ "column": 16
382
+ },
383
+ "end": {
384
+ "line": 7,
385
+ "column": 23
386
+ },
387
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
388
+ }
389
+ },
390
+ "isYield": false,
391
+ "_meta": {
392
+ "_extra": {
393
+ "start": 147,
394
+ "end": 162
395
+ }
396
+ },
397
+ "loc": {
398
+ "start": {
399
+ "line": 7,
400
+ "column": 9
401
+ },
402
+ "end": {
403
+ "line": 7,
404
+ "column": 24
405
+ },
406
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
407
+ }
408
+ }
409
+ ],
410
+ "id": null,
411
+ "_meta": {
412
+ "_extra": {
413
+ "start": 137,
414
+ "end": 168,
415
+ "directives": []
416
+ }
417
+ },
418
+ "loc": {
419
+ "start": {
420
+ "line": 6,
421
+ "column": 47
422
+ },
423
+ "end": {
424
+ "line": 8,
425
+ "column": 6
426
+ },
427
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
428
+ }
429
+ },
430
+ "alternative": null,
431
+ "_meta": {
432
+ "_extra": {
433
+ "start": 95,
434
+ "end": 168,
435
+ "trailingComments": [
436
+ {
437
+ "type": "CommentLine",
438
+ "value": " 如果是纯数字先转换成字符串",
439
+ "start": 178,
440
+ "end": 194,
441
+ "loc": {
442
+ "start": {
443
+ "line": 10,
444
+ "column": 4,
445
+ "index": 178
446
+ },
447
+ "end": {
448
+ "line": 10,
449
+ "column": 20,
450
+ "index": 194
451
+ }
452
+ }
453
+ }
454
+ ]
455
+ }
456
+ },
457
+ "loc": {
458
+ "start": {
459
+ "line": 6,
460
+ "column": 5
461
+ },
462
+ "end": {
463
+ "line": 8,
464
+ "column": 6
465
+ },
466
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
467
+ }
468
+ },
469
+ {
470
+ "type": "ExpressionStatement",
471
+ "expression": {
472
+ "type": "AssignmentExpression",
473
+ "left": {
474
+ "type": "Identifier",
475
+ "name": "dateStr",
476
+ "_meta": {
477
+ "_extra": {
478
+ "start": 199,
479
+ "end": 206
480
+ }
481
+ },
482
+ "loc": {
483
+ "start": {
484
+ "line": 11,
485
+ "column": 5
486
+ },
487
+ "end": {
488
+ "line": 11,
489
+ "column": 12
490
+ },
491
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
492
+ }
493
+ },
494
+ "right": {
495
+ "type": "CallExpression",
496
+ "callee": {
497
+ "type": "MemberAccess",
498
+ "object": {
499
+ "type": "Identifier",
500
+ "name": "dateStr",
501
+ "_meta": {
502
+ "_extra": {
503
+ "start": 209,
504
+ "end": 216
505
+ }
506
+ },
507
+ "loc": {
508
+ "start": {
509
+ "line": 11,
510
+ "column": 15
511
+ },
512
+ "end": {
513
+ "line": 11,
514
+ "column": 22
515
+ },
516
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
517
+ }
518
+ },
519
+ "property": {
520
+ "type": "Identifier",
521
+ "name": "toString",
522
+ "_meta": {
523
+ "_extra": {
524
+ "start": 217,
525
+ "end": 225
526
+ }
527
+ },
528
+ "loc": {
529
+ "start": {
530
+ "line": 11,
531
+ "column": 23
532
+ },
533
+ "end": {
534
+ "line": 11,
535
+ "column": 31
536
+ },
537
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
538
+ }
539
+ },
540
+ "computed": false,
541
+ "_meta": {
542
+ "_extra": {
543
+ "start": 209,
544
+ "end": 225
545
+ }
546
+ },
547
+ "loc": {
548
+ "start": {
549
+ "line": 11,
550
+ "column": 15
551
+ },
552
+ "end": {
553
+ "line": 11,
554
+ "column": 31
555
+ },
556
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
557
+ }
558
+ },
559
+ "arguments": [],
560
+ "_meta": {
561
+ "_extra": {
562
+ "start": 209,
563
+ "end": 227
564
+ }
565
+ },
566
+ "loc": {
567
+ "start": {
568
+ "line": 11,
569
+ "column": 15
570
+ },
571
+ "end": {
572
+ "line": 11,
573
+ "column": 33
574
+ },
575
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
576
+ }
577
+ },
578
+ "operator": "=",
579
+ "cloned": false,
580
+ "_meta": {
581
+ "_extra": {
582
+ "start": 199,
583
+ "end": 227
584
+ }
585
+ },
586
+ "loc": {
587
+ "start": {
588
+ "line": 11,
589
+ "column": 5
590
+ },
591
+ "end": {
592
+ "line": 11,
593
+ "column": 33
594
+ },
595
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
596
+ }
597
+ },
598
+ "_meta": {
599
+ "_extra": {
600
+ "start": 199,
601
+ "end": 228,
602
+ "leadingComments": [
603
+ {
604
+ "type": "CommentLine",
605
+ "value": " 如果是纯数字先转换成字符串",
606
+ "start": 178,
607
+ "end": 194,
608
+ "loc": {
609
+ "start": {
610
+ "line": 10,
611
+ "column": 4,
612
+ "index": 178
613
+ },
614
+ "end": {
615
+ "line": 10,
616
+ "column": 20,
617
+ "index": 194
618
+ }
619
+ }
620
+ }
621
+ ]
622
+ }
623
+ },
624
+ "loc": {
625
+ "start": {
626
+ "line": 11,
627
+ "column": 5
628
+ },
629
+ "end": {
630
+ "line": 11,
631
+ "column": 34
632
+ },
633
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
634
+ }
635
+ },
636
+ {
637
+ "type": "VariableDeclaration",
638
+ "id": {
639
+ "type": "Identifier",
640
+ "name": "dateArr",
641
+ "_meta": {
642
+ "_extra": {
643
+ "start": 239,
644
+ "end": 246
645
+ }
646
+ },
647
+ "loc": {
648
+ "start": {
649
+ "line": 12,
650
+ "column": 11
651
+ },
652
+ "end": {
653
+ "line": 12,
654
+ "column": 18
655
+ },
656
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
657
+ }
658
+ },
659
+ "init": {
660
+ "type": "CallExpression",
661
+ "callee": {
662
+ "type": "MemberAccess",
663
+ "object": {
664
+ "type": "Identifier",
665
+ "name": "dateStr",
666
+ "_meta": {
667
+ "_extra": {
668
+ "start": 249,
669
+ "end": 256
670
+ }
671
+ },
672
+ "loc": {
673
+ "start": {
674
+ "line": 12,
675
+ "column": 21
676
+ },
677
+ "end": {
678
+ "line": 12,
679
+ "column": 28
680
+ },
681
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
682
+ }
683
+ },
684
+ "property": {
685
+ "type": "Identifier",
686
+ "name": "match",
687
+ "_meta": {
688
+ "_extra": {
689
+ "start": 257,
690
+ "end": 262
691
+ }
692
+ },
693
+ "loc": {
694
+ "start": {
695
+ "line": 12,
696
+ "column": 29
697
+ },
698
+ "end": {
699
+ "line": 12,
700
+ "column": 34
701
+ },
702
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
703
+ }
704
+ },
705
+ "computed": false,
706
+ "_meta": {
707
+ "_extra": {
708
+ "start": 249,
709
+ "end": 262
710
+ }
711
+ },
712
+ "loc": {
713
+ "start": {
714
+ "line": 12,
715
+ "column": 21
716
+ },
717
+ "end": {
718
+ "line": 12,
719
+ "column": 34
720
+ },
721
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
722
+ }
723
+ },
724
+ "arguments": [
725
+ {
726
+ "type": "Literal",
727
+ "value": "(\\d{4})(\\d{2})(\\d{2})",
728
+ "literalType": "string",
729
+ "_meta": {
730
+ "_extra": {
731
+ "start": 263,
732
+ "end": 286
733
+ }
734
+ },
735
+ "loc": {
736
+ "start": {
737
+ "line": 12,
738
+ "column": 35
739
+ },
740
+ "end": {
741
+ "line": 12,
742
+ "column": 58
743
+ },
744
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
745
+ }
746
+ }
747
+ ],
748
+ "_meta": {
749
+ "_extra": {
750
+ "start": 249,
751
+ "end": 287
752
+ }
753
+ },
754
+ "loc": {
755
+ "start": {
756
+ "line": 12,
757
+ "column": 21
758
+ },
759
+ "end": {
760
+ "line": 12,
761
+ "column": 59
762
+ },
763
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
764
+ }
765
+ },
766
+ "cloned": false,
767
+ "varType": {
768
+ "type": "DynamicType",
769
+ "id": null,
770
+ "_meta": {}
771
+ },
772
+ "_meta": {
773
+ "_extra": {
774
+ "start": 233,
775
+ "end": 288
776
+ }
777
+ },
778
+ "loc": {
779
+ "start": {
780
+ "line": 12,
781
+ "column": 11
782
+ },
783
+ "end": {
784
+ "line": 12,
785
+ "column": 59
786
+ },
787
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
788
+ }
789
+ },
790
+ {
791
+ "type": "ExpressionStatement",
792
+ "expression": {
793
+ "type": "AssignmentExpression",
794
+ "left": {
795
+ "type": "MemberAccess",
796
+ "object": {
797
+ "type": "Identifier",
798
+ "name": "dateObj",
799
+ "_meta": {
800
+ "_extra": {
801
+ "start": 298,
802
+ "end": 305
803
+ }
804
+ },
805
+ "loc": {
806
+ "start": {
807
+ "line": 14,
808
+ "column": 5
809
+ },
810
+ "end": {
811
+ "line": 14,
812
+ "column": 12
813
+ },
814
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
815
+ }
816
+ },
817
+ "property": {
818
+ "type": "Identifier",
819
+ "name": "year",
820
+ "_meta": {
821
+ "_extra": {
822
+ "start": 306,
823
+ "end": 310
824
+ }
825
+ },
826
+ "loc": {
827
+ "start": {
828
+ "line": 14,
829
+ "column": 13
830
+ },
831
+ "end": {
832
+ "line": 14,
833
+ "column": 17
834
+ },
835
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
836
+ }
837
+ },
838
+ "computed": false,
839
+ "_meta": {
840
+ "_extra": {
841
+ "start": 298,
842
+ "end": 310
843
+ }
844
+ },
845
+ "loc": {
846
+ "start": {
847
+ "line": 14,
848
+ "column": 5
849
+ },
850
+ "end": {
851
+ "line": 14,
852
+ "column": 17
853
+ },
854
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
855
+ }
856
+ },
857
+ "right": {
858
+ "type": "MemberAccess",
859
+ "object": {
860
+ "type": "Identifier",
861
+ "name": "dateArr",
862
+ "_meta": {
863
+ "_extra": {
864
+ "start": 313,
865
+ "end": 320
866
+ }
867
+ },
868
+ "loc": {
869
+ "start": {
870
+ "line": 14,
871
+ "column": 20
872
+ },
873
+ "end": {
874
+ "line": 14,
875
+ "column": 27
876
+ },
877
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
878
+ }
879
+ },
880
+ "property": {
881
+ "type": "Literal",
882
+ "value": 1,
883
+ "literalType": "number",
884
+ "_meta": {
885
+ "_extra": {
886
+ "start": 321,
887
+ "end": 322
888
+ }
889
+ },
890
+ "loc": {
891
+ "start": {
892
+ "line": 14,
893
+ "column": 28
894
+ },
895
+ "end": {
896
+ "line": 14,
897
+ "column": 29
898
+ },
899
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
900
+ }
901
+ },
902
+ "computed": true,
903
+ "_meta": {
904
+ "_extra": {
905
+ "start": 313,
906
+ "end": 323
907
+ }
908
+ },
909
+ "loc": {
910
+ "start": {
911
+ "line": 14,
912
+ "column": 20
913
+ },
914
+ "end": {
915
+ "line": 14,
916
+ "column": 30
917
+ },
918
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
919
+ }
920
+ },
921
+ "operator": "=",
922
+ "cloned": false,
923
+ "_meta": {
924
+ "_extra": {
925
+ "start": 298,
926
+ "end": 323
927
+ }
928
+ },
929
+ "loc": {
930
+ "start": {
931
+ "line": 14,
932
+ "column": 5
933
+ },
934
+ "end": {
935
+ "line": 14,
936
+ "column": 30
937
+ },
938
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
939
+ }
940
+ },
941
+ "_meta": {
942
+ "_extra": {
943
+ "start": 298,
944
+ "end": 324
945
+ }
946
+ },
947
+ "loc": {
948
+ "start": {
949
+ "line": 14,
950
+ "column": 5
951
+ },
952
+ "end": {
953
+ "line": 14,
954
+ "column": 31
955
+ },
956
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
957
+ }
958
+ },
959
+ {
960
+ "type": "ExpressionStatement",
961
+ "expression": {
962
+ "type": "AssignmentExpression",
963
+ "left": {
964
+ "type": "MemberAccess",
965
+ "object": {
966
+ "type": "Identifier",
967
+ "name": "dateObj",
968
+ "_meta": {
969
+ "_extra": {
970
+ "start": 329,
971
+ "end": 336
972
+ }
973
+ },
974
+ "loc": {
975
+ "start": {
976
+ "line": 15,
977
+ "column": 5
978
+ },
979
+ "end": {
980
+ "line": 15,
981
+ "column": 12
982
+ },
983
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
984
+ }
985
+ },
986
+ "property": {
987
+ "type": "Identifier",
988
+ "name": "month",
989
+ "_meta": {
990
+ "_extra": {
991
+ "start": 337,
992
+ "end": 342
993
+ }
994
+ },
995
+ "loc": {
996
+ "start": {
997
+ "line": 15,
998
+ "column": 13
999
+ },
1000
+ "end": {
1001
+ "line": 15,
1002
+ "column": 18
1003
+ },
1004
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1005
+ }
1006
+ },
1007
+ "computed": false,
1008
+ "_meta": {
1009
+ "_extra": {
1010
+ "start": 329,
1011
+ "end": 342
1012
+ }
1013
+ },
1014
+ "loc": {
1015
+ "start": {
1016
+ "line": 15,
1017
+ "column": 5
1018
+ },
1019
+ "end": {
1020
+ "line": 15,
1021
+ "column": 18
1022
+ },
1023
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1024
+ }
1025
+ },
1026
+ "right": {
1027
+ "type": "MemberAccess",
1028
+ "object": {
1029
+ "type": "Identifier",
1030
+ "name": "dateArr",
1031
+ "_meta": {
1032
+ "_extra": {
1033
+ "start": 345,
1034
+ "end": 352
1035
+ }
1036
+ },
1037
+ "loc": {
1038
+ "start": {
1039
+ "line": 15,
1040
+ "column": 21
1041
+ },
1042
+ "end": {
1043
+ "line": 15,
1044
+ "column": 28
1045
+ },
1046
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1047
+ }
1048
+ },
1049
+ "property": {
1050
+ "type": "Literal",
1051
+ "value": 2,
1052
+ "literalType": "number",
1053
+ "_meta": {
1054
+ "_extra": {
1055
+ "start": 353,
1056
+ "end": 354
1057
+ }
1058
+ },
1059
+ "loc": {
1060
+ "start": {
1061
+ "line": 15,
1062
+ "column": 29
1063
+ },
1064
+ "end": {
1065
+ "line": 15,
1066
+ "column": 30
1067
+ },
1068
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1069
+ }
1070
+ },
1071
+ "computed": true,
1072
+ "_meta": {
1073
+ "_extra": {
1074
+ "start": 345,
1075
+ "end": 355
1076
+ }
1077
+ },
1078
+ "loc": {
1079
+ "start": {
1080
+ "line": 15,
1081
+ "column": 21
1082
+ },
1083
+ "end": {
1084
+ "line": 15,
1085
+ "column": 31
1086
+ },
1087
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1088
+ }
1089
+ },
1090
+ "operator": "=",
1091
+ "cloned": false,
1092
+ "_meta": {
1093
+ "_extra": {
1094
+ "start": 329,
1095
+ "end": 355
1096
+ }
1097
+ },
1098
+ "loc": {
1099
+ "start": {
1100
+ "line": 15,
1101
+ "column": 5
1102
+ },
1103
+ "end": {
1104
+ "line": 15,
1105
+ "column": 31
1106
+ },
1107
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1108
+ }
1109
+ },
1110
+ "_meta": {
1111
+ "_extra": {
1112
+ "start": 329,
1113
+ "end": 356
1114
+ }
1115
+ },
1116
+ "loc": {
1117
+ "start": {
1118
+ "line": 15,
1119
+ "column": 5
1120
+ },
1121
+ "end": {
1122
+ "line": 15,
1123
+ "column": 32
1124
+ },
1125
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1126
+ }
1127
+ },
1128
+ {
1129
+ "type": "ExpressionStatement",
1130
+ "expression": {
1131
+ "type": "AssignmentExpression",
1132
+ "left": {
1133
+ "type": "MemberAccess",
1134
+ "object": {
1135
+ "type": "Identifier",
1136
+ "name": "dateObj",
1137
+ "_meta": {
1138
+ "_extra": {
1139
+ "start": 361,
1140
+ "end": 368
1141
+ }
1142
+ },
1143
+ "loc": {
1144
+ "start": {
1145
+ "line": 16,
1146
+ "column": 5
1147
+ },
1148
+ "end": {
1149
+ "line": 16,
1150
+ "column": 12
1151
+ },
1152
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1153
+ }
1154
+ },
1155
+ "property": {
1156
+ "type": "Identifier",
1157
+ "name": "day",
1158
+ "_meta": {
1159
+ "_extra": {
1160
+ "start": 369,
1161
+ "end": 372
1162
+ }
1163
+ },
1164
+ "loc": {
1165
+ "start": {
1166
+ "line": 16,
1167
+ "column": 13
1168
+ },
1169
+ "end": {
1170
+ "line": 16,
1171
+ "column": 16
1172
+ },
1173
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1174
+ }
1175
+ },
1176
+ "computed": false,
1177
+ "_meta": {
1178
+ "_extra": {
1179
+ "start": 361,
1180
+ "end": 372
1181
+ }
1182
+ },
1183
+ "loc": {
1184
+ "start": {
1185
+ "line": 16,
1186
+ "column": 5
1187
+ },
1188
+ "end": {
1189
+ "line": 16,
1190
+ "column": 16
1191
+ },
1192
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1193
+ }
1194
+ },
1195
+ "right": {
1196
+ "type": "MemberAccess",
1197
+ "object": {
1198
+ "type": "Identifier",
1199
+ "name": "dateArr",
1200
+ "_meta": {
1201
+ "_extra": {
1202
+ "start": 375,
1203
+ "end": 382
1204
+ }
1205
+ },
1206
+ "loc": {
1207
+ "start": {
1208
+ "line": 16,
1209
+ "column": 19
1210
+ },
1211
+ "end": {
1212
+ "line": 16,
1213
+ "column": 26
1214
+ },
1215
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1216
+ }
1217
+ },
1218
+ "property": {
1219
+ "type": "Literal",
1220
+ "value": 3,
1221
+ "literalType": "number",
1222
+ "_meta": {
1223
+ "_extra": {
1224
+ "start": 383,
1225
+ "end": 384
1226
+ }
1227
+ },
1228
+ "loc": {
1229
+ "start": {
1230
+ "line": 16,
1231
+ "column": 27
1232
+ },
1233
+ "end": {
1234
+ "line": 16,
1235
+ "column": 28
1236
+ },
1237
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1238
+ }
1239
+ },
1240
+ "computed": true,
1241
+ "_meta": {
1242
+ "_extra": {
1243
+ "start": 375,
1244
+ "end": 385
1245
+ }
1246
+ },
1247
+ "loc": {
1248
+ "start": {
1249
+ "line": 16,
1250
+ "column": 19
1251
+ },
1252
+ "end": {
1253
+ "line": 16,
1254
+ "column": 29
1255
+ },
1256
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1257
+ }
1258
+ },
1259
+ "operator": "=",
1260
+ "cloned": false,
1261
+ "_meta": {
1262
+ "_extra": {
1263
+ "start": 361,
1264
+ "end": 385
1265
+ }
1266
+ },
1267
+ "loc": {
1268
+ "start": {
1269
+ "line": 16,
1270
+ "column": 5
1271
+ },
1272
+ "end": {
1273
+ "line": 16,
1274
+ "column": 29
1275
+ },
1276
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1277
+ }
1278
+ },
1279
+ "_meta": {
1280
+ "_extra": {
1281
+ "start": 361,
1282
+ "end": 386
1283
+ }
1284
+ },
1285
+ "loc": {
1286
+ "start": {
1287
+ "line": 16,
1288
+ "column": 5
1289
+ },
1290
+ "end": {
1291
+ "line": 16,
1292
+ "column": 30
1293
+ },
1294
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1295
+ }
1296
+ },
1297
+ {
1298
+ "type": "ReturnStatement",
1299
+ "argument": {
1300
+ "type": "Identifier",
1301
+ "name": "dateObj",
1302
+ "_meta": {
1303
+ "_extra": {
1304
+ "start": 403,
1305
+ "end": 410
1306
+ }
1307
+ },
1308
+ "loc": {
1309
+ "start": {
1310
+ "line": 18,
1311
+ "column": 12
1312
+ },
1313
+ "end": {
1314
+ "line": 18,
1315
+ "column": 19
1316
+ },
1317
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1318
+ }
1319
+ },
1320
+ "isYield": false,
1321
+ "_meta": {
1322
+ "_extra": {
1323
+ "start": 396,
1324
+ "end": 411
1325
+ }
1326
+ },
1327
+ "loc": {
1328
+ "start": {
1329
+ "line": 18,
1330
+ "column": 5
1331
+ },
1332
+ "end": {
1333
+ "line": 18,
1334
+ "column": 20
1335
+ },
1336
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1337
+ }
1338
+ }
1339
+ ],
1340
+ "id": null,
1341
+ "_meta": {
1342
+ "_extra": {
1343
+ "start": 55,
1344
+ "end": 413,
1345
+ "directives": []
1346
+ }
1347
+ },
1348
+ "loc": {
1349
+ "start": {
1350
+ "line": 3,
1351
+ "column": 41
1352
+ },
1353
+ "end": {
1354
+ "line": 19,
1355
+ "column": 2
1356
+ },
1357
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1358
+ }
1359
+ }
1360
+ ],
1361
+ "id": null,
1362
+ "_meta": {},
1363
+ "loc": {
1364
+ "start": {
1365
+ "line": 3,
1366
+ "column": 30
1367
+ },
1368
+ "end": {
1369
+ "line": 19,
1370
+ "column": 2
1371
+ },
1372
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1373
+ }
1374
+ },
1375
+ "modifiers": [],
1376
+ "_meta": {
1377
+ "_extra": {
1378
+ "start": 44,
1379
+ "end": 413
1380
+ }
1381
+ },
1382
+ "loc": {
1383
+ "start": {
1384
+ "line": 3,
1385
+ "column": 30
1386
+ },
1387
+ "end": {
1388
+ "line": 19,
1389
+ "column": 2
1390
+ },
1391
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1392
+ }
1393
+ },
1394
+ "cloned": false,
1395
+ "varType": {
1396
+ "type": "DynamicType",
1397
+ "id": null,
1398
+ "_meta": {}
1399
+ },
1400
+ "_meta": {
1401
+ "_extra": {
1402
+ "start": 22,
1403
+ "end": 414
1404
+ }
1405
+ },
1406
+ "loc": {
1407
+ "start": {
1408
+ "line": 3,
1409
+ "column": 14
1410
+ },
1411
+ "end": {
1412
+ "line": 19,
1413
+ "column": 2
1414
+ },
1415
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1416
+ }
1417
+ },
1418
+ {
1419
+ "type": "ExportStatement",
1420
+ "argument": {
1421
+ "type": "Identifier",
1422
+ "name": "transformDate",
1423
+ "_meta": {
1424
+ "_extra": {
1425
+ "start": 28,
1426
+ "end": 41
1427
+ }
1428
+ },
1429
+ "loc": {
1430
+ "start": {
1431
+ "line": 3,
1432
+ "column": 14
1433
+ },
1434
+ "end": {
1435
+ "line": 3,
1436
+ "column": 27
1437
+ },
1438
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1439
+ }
1440
+ },
1441
+ "alias": {
1442
+ "type": "Identifier",
1443
+ "name": "transformDate",
1444
+ "_meta": {
1445
+ "_extra": {
1446
+ "start": 28,
1447
+ "end": 41
1448
+ }
1449
+ },
1450
+ "loc": {
1451
+ "start": {
1452
+ "line": 3,
1453
+ "column": 14
1454
+ },
1455
+ "end": {
1456
+ "line": 3,
1457
+ "column": 27
1458
+ },
1459
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1460
+ }
1461
+ },
1462
+ "_meta": {},
1463
+ "loc": {
1464
+ "start": {
1465
+ "line": 3,
1466
+ "column": 1
1467
+ },
1468
+ "end": {
1469
+ "line": 19,
1470
+ "column": 3
1471
+ },
1472
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1473
+ }
1474
+ }
1475
+ ],
1476
+ "_meta": {
1477
+ "_extra": {
1478
+ "start": 15,
1479
+ "end": 414,
1480
+ "trailingComments": [
1481
+ {
1482
+ "type": "CommentBlock",
1483
+ "value": "*\n * 获取当前时间下一个月份,带年\n *\n * @return {Object} 时间对象\n ",
1484
+ "start": 416,
1485
+ "end": 469,
1486
+ "loc": {
1487
+ "start": {
1488
+ "line": 21,
1489
+ "column": 0,
1490
+ "index": 416
1491
+ },
1492
+ "end": {
1493
+ "line": 25,
1494
+ "column": 3,
1495
+ "index": 469
1496
+ }
1497
+ }
1498
+ }
1499
+ ]
1500
+ }
1501
+ },
1502
+ "loc": {
1503
+ "start": {
1504
+ "line": 3,
1505
+ "column": 1
1506
+ },
1507
+ "end": {
1508
+ "line": 19,
1509
+ "column": 3
1510
+ },
1511
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1512
+ }
1513
+ },
1514
+ {
1515
+ "type": "Sequence",
1516
+ "expressions": [
1517
+ {
1518
+ "type": "FunctionDefinition",
1519
+ "id": {
1520
+ "type": "Identifier",
1521
+ "name": "getCurrentNextMonth",
1522
+ "_meta": {
1523
+ "_extra": {
1524
+ "start": 486,
1525
+ "end": 505
1526
+ }
1527
+ },
1528
+ "loc": {
1529
+ "start": {
1530
+ "line": 26,
1531
+ "column": 17
1532
+ },
1533
+ "end": {
1534
+ "line": 26,
1535
+ "column": 36
1536
+ },
1537
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1538
+ }
1539
+ },
1540
+ "parameters": [],
1541
+ "returnType": {
1542
+ "type": "DynamicType",
1543
+ "id": null,
1544
+ "_meta": {},
1545
+ "loc": {
1546
+ "start": {
1547
+ "line": 26,
1548
+ "column": 8
1549
+ },
1550
+ "end": {
1551
+ "line": 35,
1552
+ "column": 2
1553
+ },
1554
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1555
+ }
1556
+ },
1557
+ "body": {
1558
+ "type": "ScopedStatement",
1559
+ "body": [
1560
+ {
1561
+ "type": "ScopedStatement",
1562
+ "body": [
1563
+ {
1564
+ "type": "VariableDeclaration",
1565
+ "id": {
1566
+ "type": "Identifier",
1567
+ "name": "now",
1568
+ "_meta": {
1569
+ "_extra": {
1570
+ "start": 520,
1571
+ "end": 523
1572
+ }
1573
+ },
1574
+ "loc": {
1575
+ "start": {
1576
+ "line": 27,
1577
+ "column": 11
1578
+ },
1579
+ "end": {
1580
+ "line": 27,
1581
+ "column": 14
1582
+ },
1583
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1584
+ }
1585
+ },
1586
+ "init": {
1587
+ "type": "NewExpression",
1588
+ "callee": {
1589
+ "type": "Identifier",
1590
+ "name": "Date",
1591
+ "_meta": {
1592
+ "_extra": {
1593
+ "start": 530,
1594
+ "end": 534
1595
+ }
1596
+ },
1597
+ "loc": {
1598
+ "start": {
1599
+ "line": 27,
1600
+ "column": 21
1601
+ },
1602
+ "end": {
1603
+ "line": 27,
1604
+ "column": 25
1605
+ },
1606
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1607
+ }
1608
+ },
1609
+ "arguments": [],
1610
+ "_meta": {
1611
+ "_extra": {
1612
+ "start": 526,
1613
+ "end": 536
1614
+ }
1615
+ },
1616
+ "loc": {
1617
+ "start": {
1618
+ "line": 27,
1619
+ "column": 17
1620
+ },
1621
+ "end": {
1622
+ "line": 27,
1623
+ "column": 27
1624
+ },
1625
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1626
+ }
1627
+ },
1628
+ "cloned": false,
1629
+ "varType": {
1630
+ "type": "DynamicType",
1631
+ "id": null,
1632
+ "_meta": {}
1633
+ },
1634
+ "_meta": {
1635
+ "_extra": {
1636
+ "start": 514,
1637
+ "end": 537
1638
+ }
1639
+ },
1640
+ "loc": {
1641
+ "start": {
1642
+ "line": 27,
1643
+ "column": 11
1644
+ },
1645
+ "end": {
1646
+ "line": 27,
1647
+ "column": 27
1648
+ },
1649
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1650
+ }
1651
+ },
1652
+ {
1653
+ "type": "ExpressionStatement",
1654
+ "expression": {
1655
+ "type": "CallExpression",
1656
+ "callee": {
1657
+ "type": "MemberAccess",
1658
+ "object": {
1659
+ "type": "Identifier",
1660
+ "name": "now",
1661
+ "_meta": {
1662
+ "_extra": {
1663
+ "start": 547,
1664
+ "end": 550
1665
+ }
1666
+ },
1667
+ "loc": {
1668
+ "start": {
1669
+ "line": 29,
1670
+ "column": 5
1671
+ },
1672
+ "end": {
1673
+ "line": 29,
1674
+ "column": 8
1675
+ },
1676
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1677
+ }
1678
+ },
1679
+ "property": {
1680
+ "type": "Identifier",
1681
+ "name": "setMonth",
1682
+ "_meta": {
1683
+ "_extra": {
1684
+ "start": 551,
1685
+ "end": 559
1686
+ }
1687
+ },
1688
+ "loc": {
1689
+ "start": {
1690
+ "line": 29,
1691
+ "column": 9
1692
+ },
1693
+ "end": {
1694
+ "line": 29,
1695
+ "column": 17
1696
+ },
1697
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1698
+ }
1699
+ },
1700
+ "computed": false,
1701
+ "_meta": {
1702
+ "_extra": {
1703
+ "start": 547,
1704
+ "end": 559
1705
+ }
1706
+ },
1707
+ "loc": {
1708
+ "start": {
1709
+ "line": 29,
1710
+ "column": 5
1711
+ },
1712
+ "end": {
1713
+ "line": 29,
1714
+ "column": 17
1715
+ },
1716
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1717
+ }
1718
+ },
1719
+ "arguments": [
1720
+ {
1721
+ "type": "BinaryExpression",
1722
+ "operator": "+",
1723
+ "left": {
1724
+ "type": "CallExpression",
1725
+ "callee": {
1726
+ "type": "MemberAccess",
1727
+ "object": {
1728
+ "type": "Identifier",
1729
+ "name": "now",
1730
+ "_meta": {
1731
+ "_extra": {
1732
+ "start": 560,
1733
+ "end": 563
1734
+ }
1735
+ },
1736
+ "loc": {
1737
+ "start": {
1738
+ "line": 29,
1739
+ "column": 18
1740
+ },
1741
+ "end": {
1742
+ "line": 29,
1743
+ "column": 21
1744
+ },
1745
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1746
+ }
1747
+ },
1748
+ "property": {
1749
+ "type": "Identifier",
1750
+ "name": "getMonth",
1751
+ "_meta": {
1752
+ "_extra": {
1753
+ "start": 564,
1754
+ "end": 572
1755
+ }
1756
+ },
1757
+ "loc": {
1758
+ "start": {
1759
+ "line": 29,
1760
+ "column": 22
1761
+ },
1762
+ "end": {
1763
+ "line": 29,
1764
+ "column": 30
1765
+ },
1766
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1767
+ }
1768
+ },
1769
+ "computed": false,
1770
+ "_meta": {
1771
+ "_extra": {
1772
+ "start": 560,
1773
+ "end": 572
1774
+ }
1775
+ },
1776
+ "loc": {
1777
+ "start": {
1778
+ "line": 29,
1779
+ "column": 18
1780
+ },
1781
+ "end": {
1782
+ "line": 29,
1783
+ "column": 30
1784
+ },
1785
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1786
+ }
1787
+ },
1788
+ "arguments": [],
1789
+ "_meta": {
1790
+ "_extra": {
1791
+ "start": 560,
1792
+ "end": 574
1793
+ }
1794
+ },
1795
+ "loc": {
1796
+ "start": {
1797
+ "line": 29,
1798
+ "column": 18
1799
+ },
1800
+ "end": {
1801
+ "line": 29,
1802
+ "column": 32
1803
+ },
1804
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1805
+ }
1806
+ },
1807
+ "right": {
1808
+ "type": "Literal",
1809
+ "value": 1,
1810
+ "literalType": "number",
1811
+ "_meta": {
1812
+ "_extra": {
1813
+ "start": 577,
1814
+ "end": 578
1815
+ }
1816
+ },
1817
+ "loc": {
1818
+ "start": {
1819
+ "line": 29,
1820
+ "column": 35
1821
+ },
1822
+ "end": {
1823
+ "line": 29,
1824
+ "column": 36
1825
+ },
1826
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1827
+ }
1828
+ },
1829
+ "_meta": {
1830
+ "_extra": {
1831
+ "start": 560,
1832
+ "end": 578
1833
+ }
1834
+ },
1835
+ "loc": {
1836
+ "start": {
1837
+ "line": 29,
1838
+ "column": 18
1839
+ },
1840
+ "end": {
1841
+ "line": 29,
1842
+ "column": 36
1843
+ },
1844
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1845
+ }
1846
+ },
1847
+ {
1848
+ "type": "Literal",
1849
+ "value": 1,
1850
+ "literalType": "number",
1851
+ "_meta": {
1852
+ "_extra": {
1853
+ "start": 580,
1854
+ "end": 581
1855
+ }
1856
+ },
1857
+ "loc": {
1858
+ "start": {
1859
+ "line": 29,
1860
+ "column": 38
1861
+ },
1862
+ "end": {
1863
+ "line": 29,
1864
+ "column": 39
1865
+ },
1866
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1867
+ }
1868
+ }
1869
+ ],
1870
+ "_meta": {
1871
+ "_extra": {
1872
+ "start": 547,
1873
+ "end": 582
1874
+ }
1875
+ },
1876
+ "loc": {
1877
+ "start": {
1878
+ "line": 29,
1879
+ "column": 5
1880
+ },
1881
+ "end": {
1882
+ "line": 29,
1883
+ "column": 40
1884
+ },
1885
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1886
+ }
1887
+ },
1888
+ "_meta": {
1889
+ "_extra": {
1890
+ "start": 547,
1891
+ "end": 583,
1892
+ "trailingComments": [
1893
+ {
1894
+ "type": "CommentLine",
1895
+ "value": " 强制指定为每个月的1号,防止3月31日调用变成5月1日",
1896
+ "start": 584,
1897
+ "end": 614,
1898
+ "loc": {
1899
+ "start": {
1900
+ "line": 29,
1901
+ "column": 41,
1902
+ "index": 584
1903
+ },
1904
+ "end": {
1905
+ "line": 29,
1906
+ "column": 71,
1907
+ "index": 614
1908
+ }
1909
+ }
1910
+ }
1911
+ ]
1912
+ }
1913
+ },
1914
+ "loc": {
1915
+ "start": {
1916
+ "line": 29,
1917
+ "column": 5
1918
+ },
1919
+ "end": {
1920
+ "line": 29,
1921
+ "column": 41
1922
+ },
1923
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1924
+ }
1925
+ },
1926
+ {
1927
+ "type": "ReturnStatement",
1928
+ "argument": {
1929
+ "type": "ObjectExpression",
1930
+ "properties": [
1931
+ {
1932
+ "type": "ObjectProperty",
1933
+ "key": {
1934
+ "type": "Identifier",
1935
+ "name": "year",
1936
+ "_meta": {
1937
+ "_extra": {
1938
+ "start": 641,
1939
+ "end": 645
1940
+ }
1941
+ },
1942
+ "loc": {
1943
+ "start": {
1944
+ "line": 32,
1945
+ "column": 9
1946
+ },
1947
+ "end": {
1948
+ "line": 32,
1949
+ "column": 13
1950
+ },
1951
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1952
+ }
1953
+ },
1954
+ "value": {
1955
+ "type": "CallExpression",
1956
+ "callee": {
1957
+ "type": "MemberAccess",
1958
+ "object": {
1959
+ "type": "Identifier",
1960
+ "name": "now",
1961
+ "_meta": {
1962
+ "_extra": {
1963
+ "start": 647,
1964
+ "end": 650
1965
+ }
1966
+ },
1967
+ "loc": {
1968
+ "start": {
1969
+ "line": 32,
1970
+ "column": 15
1971
+ },
1972
+ "end": {
1973
+ "line": 32,
1974
+ "column": 18
1975
+ },
1976
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1977
+ }
1978
+ },
1979
+ "property": {
1980
+ "type": "Identifier",
1981
+ "name": "getFullYear",
1982
+ "_meta": {
1983
+ "_extra": {
1984
+ "start": 651,
1985
+ "end": 662
1986
+ }
1987
+ },
1988
+ "loc": {
1989
+ "start": {
1990
+ "line": 32,
1991
+ "column": 19
1992
+ },
1993
+ "end": {
1994
+ "line": 32,
1995
+ "column": 30
1996
+ },
1997
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
1998
+ }
1999
+ },
2000
+ "computed": false,
2001
+ "_meta": {
2002
+ "_extra": {
2003
+ "start": 647,
2004
+ "end": 662
2005
+ }
2006
+ },
2007
+ "loc": {
2008
+ "start": {
2009
+ "line": 32,
2010
+ "column": 15
2011
+ },
2012
+ "end": {
2013
+ "line": 32,
2014
+ "column": 30
2015
+ },
2016
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2017
+ }
2018
+ },
2019
+ "arguments": [],
2020
+ "_meta": {
2021
+ "_extra": {
2022
+ "start": 647,
2023
+ "end": 664
2024
+ }
2025
+ },
2026
+ "loc": {
2027
+ "start": {
2028
+ "line": 32,
2029
+ "column": 15
2030
+ },
2031
+ "end": {
2032
+ "line": 32,
2033
+ "column": 32
2034
+ },
2035
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2036
+ }
2037
+ },
2038
+ "_meta": {
2039
+ "_extra": {
2040
+ "start": 641,
2041
+ "end": 664
2042
+ }
2043
+ },
2044
+ "loc": {
2045
+ "start": {
2046
+ "line": 32,
2047
+ "column": 9
2048
+ },
2049
+ "end": {
2050
+ "line": 32,
2051
+ "column": 32
2052
+ },
2053
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2054
+ }
2055
+ },
2056
+ {
2057
+ "type": "ObjectProperty",
2058
+ "key": {
2059
+ "type": "Identifier",
2060
+ "name": "month",
2061
+ "_meta": {
2062
+ "_extra": {
2063
+ "start": 674,
2064
+ "end": 679
2065
+ }
2066
+ },
2067
+ "loc": {
2068
+ "start": {
2069
+ "line": 33,
2070
+ "column": 9
2071
+ },
2072
+ "end": {
2073
+ "line": 33,
2074
+ "column": 14
2075
+ },
2076
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2077
+ }
2078
+ },
2079
+ "value": {
2080
+ "type": "BinaryExpression",
2081
+ "operator": "+",
2082
+ "left": {
2083
+ "type": "CallExpression",
2084
+ "callee": {
2085
+ "type": "MemberAccess",
2086
+ "object": {
2087
+ "type": "Identifier",
2088
+ "name": "now",
2089
+ "_meta": {
2090
+ "_extra": {
2091
+ "start": 681,
2092
+ "end": 684
2093
+ }
2094
+ },
2095
+ "loc": {
2096
+ "start": {
2097
+ "line": 33,
2098
+ "column": 16
2099
+ },
2100
+ "end": {
2101
+ "line": 33,
2102
+ "column": 19
2103
+ },
2104
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2105
+ }
2106
+ },
2107
+ "property": {
2108
+ "type": "Identifier",
2109
+ "name": "getMonth",
2110
+ "_meta": {
2111
+ "_extra": {
2112
+ "start": 685,
2113
+ "end": 693
2114
+ }
2115
+ },
2116
+ "loc": {
2117
+ "start": {
2118
+ "line": 33,
2119
+ "column": 20
2120
+ },
2121
+ "end": {
2122
+ "line": 33,
2123
+ "column": 28
2124
+ },
2125
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2126
+ }
2127
+ },
2128
+ "computed": false,
2129
+ "_meta": {
2130
+ "_extra": {
2131
+ "start": 681,
2132
+ "end": 693
2133
+ }
2134
+ },
2135
+ "loc": {
2136
+ "start": {
2137
+ "line": 33,
2138
+ "column": 16
2139
+ },
2140
+ "end": {
2141
+ "line": 33,
2142
+ "column": 28
2143
+ },
2144
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2145
+ }
2146
+ },
2147
+ "arguments": [],
2148
+ "_meta": {
2149
+ "_extra": {
2150
+ "start": 681,
2151
+ "end": 695
2152
+ }
2153
+ },
2154
+ "loc": {
2155
+ "start": {
2156
+ "line": 33,
2157
+ "column": 16
2158
+ },
2159
+ "end": {
2160
+ "line": 33,
2161
+ "column": 30
2162
+ },
2163
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2164
+ }
2165
+ },
2166
+ "right": {
2167
+ "type": "Literal",
2168
+ "value": 1,
2169
+ "literalType": "number",
2170
+ "_meta": {
2171
+ "_extra": {
2172
+ "start": 698,
2173
+ "end": 699
2174
+ }
2175
+ },
2176
+ "loc": {
2177
+ "start": {
2178
+ "line": 33,
2179
+ "column": 33
2180
+ },
2181
+ "end": {
2182
+ "line": 33,
2183
+ "column": 34
2184
+ },
2185
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2186
+ }
2187
+ },
2188
+ "_meta": {
2189
+ "_extra": {
2190
+ "start": 681,
2191
+ "end": 699
2192
+ }
2193
+ },
2194
+ "loc": {
2195
+ "start": {
2196
+ "line": 33,
2197
+ "column": 16
2198
+ },
2199
+ "end": {
2200
+ "line": 33,
2201
+ "column": 34
2202
+ },
2203
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2204
+ }
2205
+ },
2206
+ "_meta": {
2207
+ "_extra": {
2208
+ "start": 674,
2209
+ "end": 699
2210
+ }
2211
+ },
2212
+ "loc": {
2213
+ "start": {
2214
+ "line": 33,
2215
+ "column": 9
2216
+ },
2217
+ "end": {
2218
+ "line": 33,
2219
+ "column": 34
2220
+ },
2221
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2222
+ }
2223
+ }
2224
+ ],
2225
+ "id": null,
2226
+ "_meta": {
2227
+ "_extra": {
2228
+ "start": 631,
2229
+ "end": 706
2230
+ }
2231
+ },
2232
+ "loc": {
2233
+ "start": {
2234
+ "line": 31,
2235
+ "column": 12
2236
+ },
2237
+ "end": {
2238
+ "line": 34,
2239
+ "column": 6
2240
+ },
2241
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2242
+ }
2243
+ },
2244
+ "isYield": false,
2245
+ "_meta": {
2246
+ "_extra": {
2247
+ "start": 624,
2248
+ "end": 707,
2249
+ "leadingComments": [
2250
+ {
2251
+ "type": "CommentLine",
2252
+ "value": " 强制指定为每个月的1号,防止3月31日调用变成5月1日",
2253
+ "start": 584,
2254
+ "end": 614,
2255
+ "loc": {
2256
+ "start": {
2257
+ "line": 29,
2258
+ "column": 41,
2259
+ "index": 584
2260
+ },
2261
+ "end": {
2262
+ "line": 29,
2263
+ "column": 71,
2264
+ "index": 614
2265
+ }
2266
+ }
2267
+ }
2268
+ ]
2269
+ }
2270
+ },
2271
+ "loc": {
2272
+ "start": {
2273
+ "line": 31,
2274
+ "column": 5
2275
+ },
2276
+ "end": {
2277
+ "line": 34,
2278
+ "column": 7
2279
+ },
2280
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2281
+ }
2282
+ }
2283
+ ],
2284
+ "id": null,
2285
+ "_meta": {
2286
+ "_extra": {
2287
+ "start": 508,
2288
+ "end": 709,
2289
+ "directives": []
2290
+ }
2291
+ },
2292
+ "loc": {
2293
+ "start": {
2294
+ "line": 26,
2295
+ "column": 39
2296
+ },
2297
+ "end": {
2298
+ "line": 35,
2299
+ "column": 2
2300
+ },
2301
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2302
+ }
2303
+ }
2304
+ ],
2305
+ "id": null,
2306
+ "_meta": {},
2307
+ "loc": {
2308
+ "start": {
2309
+ "line": 26,
2310
+ "column": 8
2311
+ },
2312
+ "end": {
2313
+ "line": 35,
2314
+ "column": 2
2315
+ },
2316
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2317
+ }
2318
+ },
2319
+ "modifiers": [],
2320
+ "_meta": {
2321
+ "_extra": {
2322
+ "start": 477,
2323
+ "end": 709
2324
+ }
2325
+ },
2326
+ "loc": {
2327
+ "start": {
2328
+ "line": 26,
2329
+ "column": 8
2330
+ },
2331
+ "end": {
2332
+ "line": 35,
2333
+ "column": 2
2334
+ },
2335
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2336
+ }
2337
+ },
2338
+ {
2339
+ "type": "ExportStatement",
2340
+ "argument": {
2341
+ "type": "FunctionDefinition",
2342
+ "id": {
2343
+ "type": "Identifier",
2344
+ "name": "getCurrentNextMonth",
2345
+ "_meta": {
2346
+ "_extra": {
2347
+ "start": 486,
2348
+ "end": 505
2349
+ }
2350
+ },
2351
+ "loc": {
2352
+ "start": {
2353
+ "line": 26,
2354
+ "column": 17
2355
+ },
2356
+ "end": {
2357
+ "line": 26,
2358
+ "column": 36
2359
+ },
2360
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2361
+ }
2362
+ },
2363
+ "parameters": [],
2364
+ "returnType": {
2365
+ "type": "DynamicType",
2366
+ "id": null,
2367
+ "_meta": {},
2368
+ "loc": {
2369
+ "start": {
2370
+ "line": 26,
2371
+ "column": 8
2372
+ },
2373
+ "end": {
2374
+ "line": 35,
2375
+ "column": 2
2376
+ },
2377
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2378
+ }
2379
+ },
2380
+ "body": {
2381
+ "type": "ScopedStatement",
2382
+ "body": [
2383
+ {
2384
+ "type": "ScopedStatement",
2385
+ "body": [
2386
+ {
2387
+ "type": "VariableDeclaration",
2388
+ "id": {
2389
+ "type": "Identifier",
2390
+ "name": "now",
2391
+ "_meta": {
2392
+ "_extra": {
2393
+ "start": 520,
2394
+ "end": 523
2395
+ }
2396
+ },
2397
+ "loc": {
2398
+ "start": {
2399
+ "line": 27,
2400
+ "column": 11
2401
+ },
2402
+ "end": {
2403
+ "line": 27,
2404
+ "column": 14
2405
+ },
2406
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2407
+ }
2408
+ },
2409
+ "init": {
2410
+ "type": "NewExpression",
2411
+ "callee": {
2412
+ "type": "Identifier",
2413
+ "name": "Date",
2414
+ "_meta": {
2415
+ "_extra": {
2416
+ "start": 530,
2417
+ "end": 534
2418
+ }
2419
+ },
2420
+ "loc": {
2421
+ "start": {
2422
+ "line": 27,
2423
+ "column": 21
2424
+ },
2425
+ "end": {
2426
+ "line": 27,
2427
+ "column": 25
2428
+ },
2429
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2430
+ }
2431
+ },
2432
+ "arguments": [],
2433
+ "_meta": {
2434
+ "_extra": {
2435
+ "start": 526,
2436
+ "end": 536
2437
+ }
2438
+ },
2439
+ "loc": {
2440
+ "start": {
2441
+ "line": 27,
2442
+ "column": 17
2443
+ },
2444
+ "end": {
2445
+ "line": 27,
2446
+ "column": 27
2447
+ },
2448
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2449
+ }
2450
+ },
2451
+ "cloned": false,
2452
+ "varType": {
2453
+ "type": "DynamicType",
2454
+ "id": null,
2455
+ "_meta": {}
2456
+ },
2457
+ "_meta": {
2458
+ "_extra": {
2459
+ "start": 514,
2460
+ "end": 537
2461
+ }
2462
+ },
2463
+ "loc": {
2464
+ "start": {
2465
+ "line": 27,
2466
+ "column": 11
2467
+ },
2468
+ "end": {
2469
+ "line": 27,
2470
+ "column": 27
2471
+ },
2472
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2473
+ }
2474
+ },
2475
+ {
2476
+ "type": "ExpressionStatement",
2477
+ "expression": {
2478
+ "type": "CallExpression",
2479
+ "callee": {
2480
+ "type": "MemberAccess",
2481
+ "object": {
2482
+ "type": "Identifier",
2483
+ "name": "now",
2484
+ "_meta": {
2485
+ "_extra": {
2486
+ "start": 547,
2487
+ "end": 550
2488
+ }
2489
+ },
2490
+ "loc": {
2491
+ "start": {
2492
+ "line": 29,
2493
+ "column": 5
2494
+ },
2495
+ "end": {
2496
+ "line": 29,
2497
+ "column": 8
2498
+ },
2499
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2500
+ }
2501
+ },
2502
+ "property": {
2503
+ "type": "Identifier",
2504
+ "name": "setMonth",
2505
+ "_meta": {
2506
+ "_extra": {
2507
+ "start": 551,
2508
+ "end": 559
2509
+ }
2510
+ },
2511
+ "loc": {
2512
+ "start": {
2513
+ "line": 29,
2514
+ "column": 9
2515
+ },
2516
+ "end": {
2517
+ "line": 29,
2518
+ "column": 17
2519
+ },
2520
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2521
+ }
2522
+ },
2523
+ "computed": false,
2524
+ "_meta": {
2525
+ "_extra": {
2526
+ "start": 547,
2527
+ "end": 559
2528
+ }
2529
+ },
2530
+ "loc": {
2531
+ "start": {
2532
+ "line": 29,
2533
+ "column": 5
2534
+ },
2535
+ "end": {
2536
+ "line": 29,
2537
+ "column": 17
2538
+ },
2539
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2540
+ }
2541
+ },
2542
+ "arguments": [
2543
+ {
2544
+ "type": "BinaryExpression",
2545
+ "operator": "+",
2546
+ "left": {
2547
+ "type": "CallExpression",
2548
+ "callee": {
2549
+ "type": "MemberAccess",
2550
+ "object": {
2551
+ "type": "Identifier",
2552
+ "name": "now",
2553
+ "_meta": {
2554
+ "_extra": {
2555
+ "start": 560,
2556
+ "end": 563
2557
+ }
2558
+ },
2559
+ "loc": {
2560
+ "start": {
2561
+ "line": 29,
2562
+ "column": 18
2563
+ },
2564
+ "end": {
2565
+ "line": 29,
2566
+ "column": 21
2567
+ },
2568
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2569
+ }
2570
+ },
2571
+ "property": {
2572
+ "type": "Identifier",
2573
+ "name": "getMonth",
2574
+ "_meta": {
2575
+ "_extra": {
2576
+ "start": 564,
2577
+ "end": 572
2578
+ }
2579
+ },
2580
+ "loc": {
2581
+ "start": {
2582
+ "line": 29,
2583
+ "column": 22
2584
+ },
2585
+ "end": {
2586
+ "line": 29,
2587
+ "column": 30
2588
+ },
2589
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2590
+ }
2591
+ },
2592
+ "computed": false,
2593
+ "_meta": {
2594
+ "_extra": {
2595
+ "start": 560,
2596
+ "end": 572
2597
+ }
2598
+ },
2599
+ "loc": {
2600
+ "start": {
2601
+ "line": 29,
2602
+ "column": 18
2603
+ },
2604
+ "end": {
2605
+ "line": 29,
2606
+ "column": 30
2607
+ },
2608
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2609
+ }
2610
+ },
2611
+ "arguments": [],
2612
+ "_meta": {
2613
+ "_extra": {
2614
+ "start": 560,
2615
+ "end": 574
2616
+ }
2617
+ },
2618
+ "loc": {
2619
+ "start": {
2620
+ "line": 29,
2621
+ "column": 18
2622
+ },
2623
+ "end": {
2624
+ "line": 29,
2625
+ "column": 32
2626
+ },
2627
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2628
+ }
2629
+ },
2630
+ "right": {
2631
+ "type": "Literal",
2632
+ "value": 1,
2633
+ "literalType": "number",
2634
+ "_meta": {
2635
+ "_extra": {
2636
+ "start": 577,
2637
+ "end": 578
2638
+ }
2639
+ },
2640
+ "loc": {
2641
+ "start": {
2642
+ "line": 29,
2643
+ "column": 35
2644
+ },
2645
+ "end": {
2646
+ "line": 29,
2647
+ "column": 36
2648
+ },
2649
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2650
+ }
2651
+ },
2652
+ "_meta": {
2653
+ "_extra": {
2654
+ "start": 560,
2655
+ "end": 578
2656
+ }
2657
+ },
2658
+ "loc": {
2659
+ "start": {
2660
+ "line": 29,
2661
+ "column": 18
2662
+ },
2663
+ "end": {
2664
+ "line": 29,
2665
+ "column": 36
2666
+ },
2667
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2668
+ }
2669
+ },
2670
+ {
2671
+ "type": "Literal",
2672
+ "value": 1,
2673
+ "literalType": "number",
2674
+ "_meta": {
2675
+ "_extra": {
2676
+ "start": 580,
2677
+ "end": 581
2678
+ }
2679
+ },
2680
+ "loc": {
2681
+ "start": {
2682
+ "line": 29,
2683
+ "column": 38
2684
+ },
2685
+ "end": {
2686
+ "line": 29,
2687
+ "column": 39
2688
+ },
2689
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2690
+ }
2691
+ }
2692
+ ],
2693
+ "_meta": {
2694
+ "_extra": {
2695
+ "start": 547,
2696
+ "end": 582
2697
+ }
2698
+ },
2699
+ "loc": {
2700
+ "start": {
2701
+ "line": 29,
2702
+ "column": 5
2703
+ },
2704
+ "end": {
2705
+ "line": 29,
2706
+ "column": 40
2707
+ },
2708
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2709
+ }
2710
+ },
2711
+ "_meta": {
2712
+ "_extra": {
2713
+ "start": 547,
2714
+ "end": 583,
2715
+ "trailingComments": [
2716
+ {
2717
+ "type": "CommentLine",
2718
+ "value": " 强制指定为每个月的1号,防止3月31日调用变成5月1日",
2719
+ "start": 584,
2720
+ "end": 614,
2721
+ "loc": {
2722
+ "start": {
2723
+ "line": 29,
2724
+ "column": 41,
2725
+ "index": 584
2726
+ },
2727
+ "end": {
2728
+ "line": 29,
2729
+ "column": 71,
2730
+ "index": 614
2731
+ }
2732
+ }
2733
+ }
2734
+ ]
2735
+ }
2736
+ },
2737
+ "loc": {
2738
+ "start": {
2739
+ "line": 29,
2740
+ "column": 5
2741
+ },
2742
+ "end": {
2743
+ "line": 29,
2744
+ "column": 41
2745
+ },
2746
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2747
+ }
2748
+ },
2749
+ {
2750
+ "type": "ReturnStatement",
2751
+ "argument": {
2752
+ "type": "ObjectExpression",
2753
+ "properties": [
2754
+ {
2755
+ "type": "ObjectProperty",
2756
+ "key": {
2757
+ "type": "Identifier",
2758
+ "name": "year",
2759
+ "_meta": {
2760
+ "_extra": {
2761
+ "start": 641,
2762
+ "end": 645
2763
+ }
2764
+ },
2765
+ "loc": {
2766
+ "start": {
2767
+ "line": 32,
2768
+ "column": 9
2769
+ },
2770
+ "end": {
2771
+ "line": 32,
2772
+ "column": 13
2773
+ },
2774
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2775
+ }
2776
+ },
2777
+ "value": {
2778
+ "type": "CallExpression",
2779
+ "callee": {
2780
+ "type": "MemberAccess",
2781
+ "object": {
2782
+ "type": "Identifier",
2783
+ "name": "now",
2784
+ "_meta": {
2785
+ "_extra": {
2786
+ "start": 647,
2787
+ "end": 650
2788
+ }
2789
+ },
2790
+ "loc": {
2791
+ "start": {
2792
+ "line": 32,
2793
+ "column": 15
2794
+ },
2795
+ "end": {
2796
+ "line": 32,
2797
+ "column": 18
2798
+ },
2799
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2800
+ }
2801
+ },
2802
+ "property": {
2803
+ "type": "Identifier",
2804
+ "name": "getFullYear",
2805
+ "_meta": {
2806
+ "_extra": {
2807
+ "start": 651,
2808
+ "end": 662
2809
+ }
2810
+ },
2811
+ "loc": {
2812
+ "start": {
2813
+ "line": 32,
2814
+ "column": 19
2815
+ },
2816
+ "end": {
2817
+ "line": 32,
2818
+ "column": 30
2819
+ },
2820
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2821
+ }
2822
+ },
2823
+ "computed": false,
2824
+ "_meta": {
2825
+ "_extra": {
2826
+ "start": 647,
2827
+ "end": 662
2828
+ }
2829
+ },
2830
+ "loc": {
2831
+ "start": {
2832
+ "line": 32,
2833
+ "column": 15
2834
+ },
2835
+ "end": {
2836
+ "line": 32,
2837
+ "column": 30
2838
+ },
2839
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2840
+ }
2841
+ },
2842
+ "arguments": [],
2843
+ "_meta": {
2844
+ "_extra": {
2845
+ "start": 647,
2846
+ "end": 664
2847
+ }
2848
+ },
2849
+ "loc": {
2850
+ "start": {
2851
+ "line": 32,
2852
+ "column": 15
2853
+ },
2854
+ "end": {
2855
+ "line": 32,
2856
+ "column": 32
2857
+ },
2858
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2859
+ }
2860
+ },
2861
+ "_meta": {
2862
+ "_extra": {
2863
+ "start": 641,
2864
+ "end": 664
2865
+ }
2866
+ },
2867
+ "loc": {
2868
+ "start": {
2869
+ "line": 32,
2870
+ "column": 9
2871
+ },
2872
+ "end": {
2873
+ "line": 32,
2874
+ "column": 32
2875
+ },
2876
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2877
+ }
2878
+ },
2879
+ {
2880
+ "type": "ObjectProperty",
2881
+ "key": {
2882
+ "type": "Identifier",
2883
+ "name": "month",
2884
+ "_meta": {
2885
+ "_extra": {
2886
+ "start": 674,
2887
+ "end": 679
2888
+ }
2889
+ },
2890
+ "loc": {
2891
+ "start": {
2892
+ "line": 33,
2893
+ "column": 9
2894
+ },
2895
+ "end": {
2896
+ "line": 33,
2897
+ "column": 14
2898
+ },
2899
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2900
+ }
2901
+ },
2902
+ "value": {
2903
+ "type": "BinaryExpression",
2904
+ "operator": "+",
2905
+ "left": {
2906
+ "type": "CallExpression",
2907
+ "callee": {
2908
+ "type": "MemberAccess",
2909
+ "object": {
2910
+ "type": "Identifier",
2911
+ "name": "now",
2912
+ "_meta": {
2913
+ "_extra": {
2914
+ "start": 681,
2915
+ "end": 684
2916
+ }
2917
+ },
2918
+ "loc": {
2919
+ "start": {
2920
+ "line": 33,
2921
+ "column": 16
2922
+ },
2923
+ "end": {
2924
+ "line": 33,
2925
+ "column": 19
2926
+ },
2927
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2928
+ }
2929
+ },
2930
+ "property": {
2931
+ "type": "Identifier",
2932
+ "name": "getMonth",
2933
+ "_meta": {
2934
+ "_extra": {
2935
+ "start": 685,
2936
+ "end": 693
2937
+ }
2938
+ },
2939
+ "loc": {
2940
+ "start": {
2941
+ "line": 33,
2942
+ "column": 20
2943
+ },
2944
+ "end": {
2945
+ "line": 33,
2946
+ "column": 28
2947
+ },
2948
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2949
+ }
2950
+ },
2951
+ "computed": false,
2952
+ "_meta": {
2953
+ "_extra": {
2954
+ "start": 681,
2955
+ "end": 693
2956
+ }
2957
+ },
2958
+ "loc": {
2959
+ "start": {
2960
+ "line": 33,
2961
+ "column": 16
2962
+ },
2963
+ "end": {
2964
+ "line": 33,
2965
+ "column": 28
2966
+ },
2967
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2968
+ }
2969
+ },
2970
+ "arguments": [],
2971
+ "_meta": {
2972
+ "_extra": {
2973
+ "start": 681,
2974
+ "end": 695
2975
+ }
2976
+ },
2977
+ "loc": {
2978
+ "start": {
2979
+ "line": 33,
2980
+ "column": 16
2981
+ },
2982
+ "end": {
2983
+ "line": 33,
2984
+ "column": 30
2985
+ },
2986
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
2987
+ }
2988
+ },
2989
+ "right": {
2990
+ "type": "Literal",
2991
+ "value": 1,
2992
+ "literalType": "number",
2993
+ "_meta": {
2994
+ "_extra": {
2995
+ "start": 698,
2996
+ "end": 699
2997
+ }
2998
+ },
2999
+ "loc": {
3000
+ "start": {
3001
+ "line": 33,
3002
+ "column": 33
3003
+ },
3004
+ "end": {
3005
+ "line": 33,
3006
+ "column": 34
3007
+ },
3008
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3009
+ }
3010
+ },
3011
+ "_meta": {
3012
+ "_extra": {
3013
+ "start": 681,
3014
+ "end": 699
3015
+ }
3016
+ },
3017
+ "loc": {
3018
+ "start": {
3019
+ "line": 33,
3020
+ "column": 16
3021
+ },
3022
+ "end": {
3023
+ "line": 33,
3024
+ "column": 34
3025
+ },
3026
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3027
+ }
3028
+ },
3029
+ "_meta": {
3030
+ "_extra": {
3031
+ "start": 674,
3032
+ "end": 699
3033
+ }
3034
+ },
3035
+ "loc": {
3036
+ "start": {
3037
+ "line": 33,
3038
+ "column": 9
3039
+ },
3040
+ "end": {
3041
+ "line": 33,
3042
+ "column": 34
3043
+ },
3044
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3045
+ }
3046
+ }
3047
+ ],
3048
+ "id": null,
3049
+ "_meta": {
3050
+ "_extra": {
3051
+ "start": 631,
3052
+ "end": 706
3053
+ }
3054
+ },
3055
+ "loc": {
3056
+ "start": {
3057
+ "line": 31,
3058
+ "column": 12
3059
+ },
3060
+ "end": {
3061
+ "line": 34,
3062
+ "column": 6
3063
+ },
3064
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3065
+ }
3066
+ },
3067
+ "isYield": false,
3068
+ "_meta": {
3069
+ "_extra": {
3070
+ "start": 624,
3071
+ "end": 707,
3072
+ "leadingComments": [
3073
+ {
3074
+ "type": "CommentLine",
3075
+ "value": " 强制指定为每个月的1号,防止3月31日调用变成5月1日",
3076
+ "start": 584,
3077
+ "end": 614,
3078
+ "loc": {
3079
+ "start": {
3080
+ "line": 29,
3081
+ "column": 41,
3082
+ "index": 584
3083
+ },
3084
+ "end": {
3085
+ "line": 29,
3086
+ "column": 71,
3087
+ "index": 614
3088
+ }
3089
+ }
3090
+ }
3091
+ ]
3092
+ }
3093
+ },
3094
+ "loc": {
3095
+ "start": {
3096
+ "line": 31,
3097
+ "column": 5
3098
+ },
3099
+ "end": {
3100
+ "line": 34,
3101
+ "column": 7
3102
+ },
3103
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3104
+ }
3105
+ }
3106
+ ],
3107
+ "id": null,
3108
+ "_meta": {
3109
+ "_extra": {
3110
+ "start": 508,
3111
+ "end": 709,
3112
+ "directives": []
3113
+ }
3114
+ },
3115
+ "loc": {
3116
+ "start": {
3117
+ "line": 26,
3118
+ "column": 39
3119
+ },
3120
+ "end": {
3121
+ "line": 35,
3122
+ "column": 2
3123
+ },
3124
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3125
+ }
3126
+ }
3127
+ ],
3128
+ "id": null,
3129
+ "_meta": {},
3130
+ "loc": {
3131
+ "start": {
3132
+ "line": 26,
3133
+ "column": 8
3134
+ },
3135
+ "end": {
3136
+ "line": 35,
3137
+ "column": 2
3138
+ },
3139
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3140
+ }
3141
+ },
3142
+ "modifiers": [],
3143
+ "_meta": {
3144
+ "_extra": {
3145
+ "start": 477,
3146
+ "end": 709
3147
+ }
3148
+ },
3149
+ "loc": {
3150
+ "start": {
3151
+ "line": 26,
3152
+ "column": 8
3153
+ },
3154
+ "end": {
3155
+ "line": 35,
3156
+ "column": 2
3157
+ },
3158
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3159
+ }
3160
+ },
3161
+ "alias": {
3162
+ "type": "Identifier",
3163
+ "name": "getCurrentNextMonth",
3164
+ "_meta": {
3165
+ "_extra": {
3166
+ "start": 486,
3167
+ "end": 505
3168
+ }
3169
+ },
3170
+ "loc": {
3171
+ "start": {
3172
+ "line": 26,
3173
+ "column": 17
3174
+ },
3175
+ "end": {
3176
+ "line": 26,
3177
+ "column": 36
3178
+ },
3179
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3180
+ }
3181
+ },
3182
+ "_meta": {},
3183
+ "loc": {
3184
+ "start": {
3185
+ "line": 26,
3186
+ "column": 1
3187
+ },
3188
+ "end": {
3189
+ "line": 35,
3190
+ "column": 2
3191
+ },
3192
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3193
+ }
3194
+ }
3195
+ ],
3196
+ "_meta": {
3197
+ "_extra": {
3198
+ "start": 470,
3199
+ "end": 709,
3200
+ "leadingComments": [
3201
+ {
3202
+ "type": "CommentBlock",
3203
+ "value": "*\n * 获取当前时间下一个月份,带年\n *\n * @return {Object} 时间对象\n ",
3204
+ "start": 416,
3205
+ "end": 469,
3206
+ "loc": {
3207
+ "start": {
3208
+ "line": 21,
3209
+ "column": 0,
3210
+ "index": 416
3211
+ },
3212
+ "end": {
3213
+ "line": 25,
3214
+ "column": 3,
3215
+ "index": 469
3216
+ }
3217
+ }
3218
+ }
3219
+ ]
3220
+ }
3221
+ },
3222
+ "loc": {
3223
+ "start": {
3224
+ "line": 26,
3225
+ "column": 1
3226
+ },
3227
+ "end": {
3228
+ "line": 35,
3229
+ "column": 2
3230
+ },
3231
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3232
+ }
3233
+ }
3234
+ ],
3235
+ "language": "javascript",
3236
+ "languageVersion": null,
3237
+ "uri": "",
3238
+ "version": "0.1.63",
3239
+ "_meta": {
3240
+ "_extra": {
3241
+ "end": 710,
3242
+ "directives": [
3243
+ {
3244
+ "type": "Directive",
3245
+ "start": 0,
3246
+ "end": 13,
3247
+ "loc": {
3248
+ "start": {
3249
+ "line": 1,
3250
+ "column": 0,
3251
+ "index": 0
3252
+ },
3253
+ "end": {
3254
+ "line": 1,
3255
+ "column": 13,
3256
+ "index": 13
3257
+ }
3258
+ },
3259
+ "value": {
3260
+ "type": "DirectiveLiteral",
3261
+ "start": 0,
3262
+ "end": 12,
3263
+ "loc": {
3264
+ "start": {
3265
+ "line": 1,
3266
+ "column": 0,
3267
+ "index": 0
3268
+ },
3269
+ "end": {
3270
+ "line": 1,
3271
+ "column": 12,
3272
+ "index": 12
3273
+ }
3274
+ },
3275
+ "extra": {
3276
+ "rawValue": "use strict",
3277
+ "raw": "'use strict'",
3278
+ "expressionValue": "use strict"
3279
+ },
3280
+ "value": "use strict"
3281
+ }
3282
+ }
3283
+ ]
3284
+ }
3285
+ },
3286
+ "loc": {
3287
+ "start": {
3288
+ "line": 1,
3289
+ "column": 1
3290
+ },
3291
+ "end": {
3292
+ "line": 36,
3293
+ "column": 1
3294
+ },
3295
+ "sourcefile": "/Users/jiufo/yasaaaaa/uastparser_js/tests/benchmark/base/export2.js"
3296
+ }
3297
+ }