@ant-yasa/uast-parser-java-js 0.1.84 → 0.2.6
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.
- package/dist/package.json +1 -1
- package/dist/src/frontend/java/ASTBuilder.d.ts +1 -1
- package/dist/src/frontend/java/ASTBuilder.js +4 -3
- package/dist/src/frontend/java/ASTBuilder.js.map +1 -1
- package/dist/src/frontend/java/testBuilder.d.ts +128 -128
- package/dist/src/frontend/javascript/parser.js +4 -2
- package/dist/src/frontend/javascript/parser.js.map +1 -1
- package/package.json +2 -2
- package/tests/benchmark/base/class.js.json +83 -85
- package/tests/benchmark/base/class_test.js.json +17 -19
- package/tests/benchmark/base/comment.js.json +63 -65
- package/tests/benchmark/base/empty.js.json +10 -10
- package/tests/benchmark/base/export.js.json +296 -296
- package/tests/benchmark/base/export1.js.json +13 -13
- package/tests/benchmark/base/export2.js.json +147 -147
- package/tests/benchmark/base/expressions.js.json +76 -76
- package/tests/benchmark/base/for.js.json +35 -35
- package/tests/benchmark/base/function.js.json +72 -72
- package/tests/benchmark/base/import.js.json +22 -22
- package/tests/benchmark/base/literal.js.json +55 -55
- package/tests/benchmark/base/param.js.json +19 -19
- package/tests/benchmark/base/parseerror.js.json +10 -10
- package/tests/benchmark/base/patternlike.js.json +194 -194
- package/tests/benchmark/base/react.js.json +9 -9
- package/tests/benchmark/base/switch.js.json +36 -36
- package/tests/benchmark/base/temp.js.json +928 -930
- package/tests/benchmark/base/tmp.js.json +713 -716
- package/tests/benchmark/base/vardecl.js.json +23 -23
- package/tests/index.ts +10 -9
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"line": 1,
|
|
22
22
|
"column": 9
|
|
23
23
|
},
|
|
24
|
-
"sourcefile": "
|
|
24
|
+
"sourcefile": "class_test.js"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"body": [
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"line": 2,
|
|
69
69
|
"column": 18
|
|
70
70
|
},
|
|
71
|
-
"sourcefile": "
|
|
71
|
+
"sourcefile": "class_test.js"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
"init": null,
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"line": 2,
|
|
89
89
|
"column": 18
|
|
90
90
|
},
|
|
91
|
-
"sourcefile": "
|
|
91
|
+
"sourcefile": "class_test.js"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
],
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"line": 4,
|
|
106
106
|
"column": 6
|
|
107
107
|
},
|
|
108
|
-
"sourcefile": "
|
|
108
|
+
"sourcefile": "class_test.js"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
"body": {
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"line": 3,
|
|
138
138
|
"column": 13
|
|
139
139
|
},
|
|
140
|
-
"sourcefile": "
|
|
140
|
+
"sourcefile": "class_test.js"
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
143
|
"property": {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"line": 3,
|
|
159
159
|
"column": 15
|
|
160
160
|
},
|
|
161
|
-
"sourcefile": "
|
|
161
|
+
"sourcefile": "class_test.js"
|
|
162
162
|
}
|
|
163
163
|
},
|
|
164
164
|
"computed": false,
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"line": 3,
|
|
178
178
|
"column": 15
|
|
179
179
|
},
|
|
180
|
-
"sourcefile": "
|
|
180
|
+
"sourcefile": "class_test.js"
|
|
181
181
|
}
|
|
182
182
|
},
|
|
183
183
|
"right": {
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"line": 3,
|
|
199
199
|
"column": 19
|
|
200
200
|
},
|
|
201
|
-
"sourcefile": "
|
|
201
|
+
"sourcefile": "class_test.js"
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
204
|
"operator": "=",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"line": 3,
|
|
219
219
|
"column": 19
|
|
220
220
|
},
|
|
221
|
-
"sourcefile": "
|
|
221
|
+
"sourcefile": "class_test.js"
|
|
222
222
|
}
|
|
223
223
|
},
|
|
224
224
|
"_meta": {
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"line": 3,
|
|
237
237
|
"column": 20
|
|
238
238
|
},
|
|
239
|
-
"sourcefile": "
|
|
239
|
+
"sourcefile": "class_test.js"
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
],
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
"line": 4,
|
|
258
258
|
"column": 6
|
|
259
259
|
},
|
|
260
|
-
"sourcefile": "
|
|
260
|
+
"sourcefile": "class_test.js"
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
],
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"line": 4,
|
|
273
273
|
"column": 6
|
|
274
274
|
},
|
|
275
|
-
"sourcefile": "
|
|
275
|
+
"sourcefile": "class_test.js"
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
278
|
"modifiers": [],
|
|
@@ -348,13 +348,11 @@
|
|
|
348
348
|
"line": 4,
|
|
349
349
|
"column": 6
|
|
350
350
|
},
|
|
351
|
-
"sourcefile": "
|
|
351
|
+
"sourcefile": "class_test.js"
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
],
|
|
355
|
-
"supers": [
|
|
356
|
-
null
|
|
357
|
-
],
|
|
355
|
+
"supers": [],
|
|
358
356
|
"_meta": {
|
|
359
357
|
"_extra": {
|
|
360
358
|
"end": 118,
|
|
@@ -407,14 +405,14 @@
|
|
|
407
405
|
"line": 9,
|
|
408
406
|
"column": 2
|
|
409
407
|
},
|
|
410
|
-
"sourcefile": "
|
|
408
|
+
"sourcefile": "class_test.js"
|
|
411
409
|
}
|
|
412
410
|
}
|
|
413
411
|
],
|
|
414
412
|
"language": "javascript",
|
|
415
413
|
"languageVersion": null,
|
|
416
414
|
"uri": "",
|
|
417
|
-
"version": "0.
|
|
415
|
+
"version": "0.0.0",
|
|
418
416
|
"_meta": {
|
|
419
417
|
"_extra": {
|
|
420
418
|
"end": 183,
|
|
@@ -430,6 +428,6 @@
|
|
|
430
428
|
"line": 14,
|
|
431
429
|
"column": 1
|
|
432
430
|
},
|
|
433
|
-
"sourcefile": "
|
|
431
|
+
"sourcefile": "class_test.js"
|
|
434
432
|
}
|
|
435
433
|
}
|