@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
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"line": 1,
|
|
25
25
|
"column": 15
|
|
26
26
|
},
|
|
27
|
-
"sourcefile": "
|
|
27
|
+
"sourcefile": "export1.js"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"init": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"line": 1,
|
|
46
46
|
"column": 29
|
|
47
47
|
},
|
|
48
|
-
"sourcefile": "
|
|
48
|
+
"sourcefile": "export1.js"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"cloned": false,
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"line": 1,
|
|
70
70
|
"column": 29
|
|
71
71
|
},
|
|
72
|
-
"sourcefile": "
|
|
72
|
+
"sourcefile": "export1.js"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
{
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"line": 1,
|
|
93
93
|
"column": 15
|
|
94
94
|
},
|
|
95
|
-
"sourcefile": "
|
|
95
|
+
"sourcefile": "export1.js"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"alias": {
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"line": 1,
|
|
114
114
|
"column": 15
|
|
115
115
|
},
|
|
116
|
-
"sourcefile": "
|
|
116
|
+
"sourcefile": "export1.js"
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
"_meta": {},
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"line": 1,
|
|
127
127
|
"column": 30
|
|
128
128
|
},
|
|
129
|
-
"sourcefile": "
|
|
129
|
+
"sourcefile": "export1.js"
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
],
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"line": 1,
|
|
145
145
|
"column": 30
|
|
146
146
|
},
|
|
147
|
-
"sourcefile": "
|
|
147
|
+
"sourcefile": "export1.js"
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
{
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"line": 2,
|
|
171
171
|
"column": 12
|
|
172
172
|
},
|
|
173
|
-
"sourcefile": "
|
|
173
|
+
"sourcefile": "export1.js"
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
176
|
"alias": {
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"line": 2,
|
|
192
192
|
"column": 17
|
|
193
193
|
},
|
|
194
|
-
"sourcefile": "
|
|
194
|
+
"sourcefile": "export1.js"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
"_meta": {},
|
|
@@ -204,7 +204,7 @@
|
|
|
204
204
|
"line": 2,
|
|
205
205
|
"column": 18
|
|
206
206
|
},
|
|
207
|
-
"sourcefile": "
|
|
207
|
+
"sourcefile": "export1.js"
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
],
|
|
@@ -223,14 +223,14 @@
|
|
|
223
223
|
"line": 2,
|
|
224
224
|
"column": 18
|
|
225
225
|
},
|
|
226
|
-
"sourcefile": "
|
|
226
|
+
"sourcefile": "export1.js"
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
],
|
|
230
230
|
"language": "javascript",
|
|
231
231
|
"languageVersion": null,
|
|
232
232
|
"uri": "",
|
|
233
|
-
"version": "0.
|
|
233
|
+
"version": "0.0.0",
|
|
234
234
|
"_meta": {
|
|
235
235
|
"_extra": {
|
|
236
236
|
"end": 48,
|
|
@@ -246,6 +246,6 @@
|
|
|
246
246
|
"line": 3,
|
|
247
247
|
"column": 1
|
|
248
248
|
},
|
|
249
|
-
"sourcefile": "
|
|
249
|
+
"sourcefile": "export1.js"
|
|
250
250
|
}
|
|
251
251
|
}
|