@ant-yasa/uast-parser-java-js 0.1.83 → 0.2.5
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
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"line": 1,
|
|
45
45
|
"column": 18
|
|
46
46
|
},
|
|
47
|
-
"sourcefile": "
|
|
47
|
+
"sourcefile": "param.js"
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"init": null,
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"line": 1,
|
|
65
65
|
"column": 18
|
|
66
66
|
},
|
|
67
|
-
"sourcefile": "
|
|
67
|
+
"sourcefile": "param.js"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
{
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"line": 1,
|
|
83
83
|
"column": 27
|
|
84
84
|
},
|
|
85
|
-
"sourcefile": "
|
|
85
|
+
"sourcefile": "param.js"
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
"init": null,
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"line": 1,
|
|
105
105
|
"column": 27
|
|
106
106
|
},
|
|
107
|
-
"sourcefile": "
|
|
107
|
+
"sourcefile": "param.js"
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
],
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"line": 4,
|
|
122
122
|
"column": 2
|
|
123
123
|
},
|
|
124
|
-
"sourcefile": "
|
|
124
|
+
"sourcefile": "param.js"
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
"body": {
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"line": 1,
|
|
148
148
|
"column": 27
|
|
149
149
|
},
|
|
150
|
-
"sourcefile": "
|
|
150
|
+
"sourcefile": "param.js"
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
"right": {
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"line": 1,
|
|
164
164
|
"column": 27
|
|
165
165
|
},
|
|
166
|
-
"sourcefile": "
|
|
166
|
+
"sourcefile": "param.js"
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
"operator": "=",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"line": 4,
|
|
179
179
|
"column": 2
|
|
180
180
|
},
|
|
181
|
-
"sourcefile": "
|
|
181
|
+
"sourcefile": "param.js"
|
|
182
182
|
}
|
|
183
183
|
},
|
|
184
184
|
{
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"line": 3,
|
|
207
207
|
"column": 17
|
|
208
208
|
},
|
|
209
|
-
"sourcefile": "
|
|
209
|
+
"sourcefile": "param.js"
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
212
|
"arguments": [
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
"line": 3,
|
|
231
231
|
"column": 22
|
|
232
232
|
},
|
|
233
|
-
"sourcefile": "
|
|
233
|
+
"sourcefile": "param.js"
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
236
|
"property": {
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"line": 3,
|
|
253
253
|
"column": 26
|
|
254
254
|
},
|
|
255
|
-
"sourcefile": "
|
|
255
|
+
"sourcefile": "param.js"
|
|
256
256
|
}
|
|
257
257
|
},
|
|
258
258
|
"computed": true,
|
|
@@ -271,7 +271,7 @@
|
|
|
271
271
|
"line": 3,
|
|
272
272
|
"column": 27
|
|
273
273
|
},
|
|
274
|
-
"sourcefile": "
|
|
274
|
+
"sourcefile": "param.js"
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
],
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
"line": 3,
|
|
291
291
|
"column": 28
|
|
292
292
|
},
|
|
293
|
-
"sourcefile": "
|
|
293
|
+
"sourcefile": "param.js"
|
|
294
294
|
}
|
|
295
295
|
},
|
|
296
296
|
"_meta": {
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
"line": 3,
|
|
329
329
|
"column": 29
|
|
330
330
|
},
|
|
331
|
-
"sourcefile": "
|
|
331
|
+
"sourcefile": "param.js"
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
],
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
"line": 4,
|
|
350
350
|
"column": 2
|
|
351
351
|
},
|
|
352
|
-
"sourcefile": "
|
|
352
|
+
"sourcefile": "param.js"
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
],
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
"line": 4,
|
|
365
365
|
"column": 2
|
|
366
366
|
},
|
|
367
|
-
"sourcefile": "
|
|
367
|
+
"sourcefile": "param.js"
|
|
368
368
|
}
|
|
369
369
|
},
|
|
370
370
|
"modifiers": [],
|
|
@@ -382,14 +382,14 @@
|
|
|
382
382
|
"line": 4,
|
|
383
383
|
"column": 2
|
|
384
384
|
},
|
|
385
|
-
"sourcefile": "
|
|
385
|
+
"sourcefile": "param.js"
|
|
386
386
|
}
|
|
387
387
|
}
|
|
388
388
|
],
|
|
389
389
|
"language": "javascript",
|
|
390
390
|
"languageVersion": null,
|
|
391
391
|
"uri": "",
|
|
392
|
-
"version": "0.
|
|
392
|
+
"version": "0.0.0",
|
|
393
393
|
"_meta": {
|
|
394
394
|
"_extra": {
|
|
395
395
|
"end": 86,
|
|
@@ -405,6 +405,6 @@
|
|
|
405
405
|
"line": 5,
|
|
406
406
|
"column": 1
|
|
407
407
|
},
|
|
408
|
-
"sourcefile": "
|
|
408
|
+
"sourcefile": "param.js"
|
|
409
409
|
}
|
|
410
410
|
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"line": 1,
|
|
27
27
|
"column": 14
|
|
28
28
|
},
|
|
29
|
-
"sourcefile": "
|
|
29
|
+
"sourcefile": "parseerror.js"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"arguments": [
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"line": 1,
|
|
49
49
|
"column": 30
|
|
50
50
|
},
|
|
51
|
-
"sourcefile": "
|
|
51
|
+
"sourcefile": "parseerror.js"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
],
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"line": 1,
|
|
67
67
|
"column": 31
|
|
68
68
|
},
|
|
69
|
-
"sourcefile": "
|
|
69
|
+
"sourcefile": "parseerror.js"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"property": {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"line": 1,
|
|
88
88
|
"column": 37
|
|
89
89
|
},
|
|
90
|
-
"sourcefile": "
|
|
90
|
+
"sourcefile": "parseerror.js"
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"computed": false,
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"line": 1,
|
|
106
106
|
"column": 37
|
|
107
107
|
},
|
|
108
|
-
"sourcefile": "
|
|
108
|
+
"sourcefile": "parseerror.js"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
"right": {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"line": 1,
|
|
128
128
|
"column": 41
|
|
129
129
|
},
|
|
130
|
-
"sourcefile": "
|
|
130
|
+
"sourcefile": "parseerror.js"
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
"operator": "=",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"line": 1,
|
|
147
147
|
"column": 41
|
|
148
148
|
},
|
|
149
|
-
"sourcefile": "
|
|
149
|
+
"sourcefile": "parseerror.js"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
"_meta": {
|
|
@@ -163,14 +163,14 @@
|
|
|
163
163
|
"line": 1,
|
|
164
164
|
"column": 42
|
|
165
165
|
},
|
|
166
|
-
"sourcefile": "
|
|
166
|
+
"sourcefile": "parseerror.js"
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
],
|
|
170
170
|
"language": "javascript",
|
|
171
171
|
"languageVersion": null,
|
|
172
172
|
"uri": "",
|
|
173
|
-
"version": "0.
|
|
173
|
+
"version": "0.0.0",
|
|
174
174
|
"_meta": {
|
|
175
175
|
"_extra": {
|
|
176
176
|
"end": 42,
|
|
@@ -186,6 +186,6 @@
|
|
|
186
186
|
"line": 2,
|
|
187
187
|
"column": 1
|
|
188
188
|
},
|
|
189
|
-
"sourcefile": "
|
|
189
|
+
"sourcefile": "parseerror.js"
|
|
190
190
|
}
|
|
191
191
|
}
|