Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 20fee96

Browse files
committed
re-generate fixtures \w for new StringLiteral handling
Signed-off-by: Alexander Bezzubov <[email protected]>
1 parent 11739a8 commit 20fee96

14 files changed

+32
-0
lines changed

fixtures/hello_world.java.native

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
},
9797
},
9898
escapedValue: "\"Hello world\"",
99+
unescapedValue: "Hello world",
99100
},
100101
],
101102
expression: { '@type': "QualifiedName",

fixtures/hello_world.java.uast

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
col: 35,
103103
},
104104
},
105+
unescapedValue: "Hello world",
105106
},
106107
],
107108
expression: { '@type': "QualifiedName",

fixtures/member_value_pair.java.native

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@
252252
},
253253
},
254254
escapedValue: "\"\"",
255+
unescapedValue: "",
255256
},
256257
},
257258
],

fixtures/member_value_pair.java.uast

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@
267267
col: 8,
268268
},
269269
},
270+
unescapedValue: "",
270271
},
271272
},
272273
],

fixtures/switch.java.native

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
},
155155
},
156156
escapedValue: "\"1\"",
157+
unescapedValue: "1",
157158
},
158159
],
159160
expression: { '@type': "QualifiedName",
@@ -303,6 +304,7 @@
303304
},
304305
},
305306
escapedValue: "\"1\"",
307+
unescapedValue: "1",
306308
},
307309
],
308310
expression: { '@type': "QualifiedName",
@@ -452,6 +454,7 @@
452454
},
453455
},
454456
escapedValue: "\"1\"",
457+
unescapedValue: "1",
455458
},
456459
],
457460
expression: { '@type': "QualifiedName",
@@ -587,6 +590,7 @@
587590
},
588591
},
589592
escapedValue: "\"default\"",
593+
unescapedValue: "default",
590594
},
591595
],
592596
expression: { '@type': "QualifiedName",

fixtures/switch.java.uast

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
col: 43,
149149
},
150150
},
151+
unescapedValue: "1",
151152
},
152153
],
153154
expression: { '@type': "QualifiedName",
@@ -309,6 +310,7 @@
309310
col: 43,
310311
},
311312
},
313+
unescapedValue: "1",
312314
},
313315
],
314316
expression: { '@type': "QualifiedName",
@@ -470,6 +472,7 @@
470472
col: 43,
471473
},
472474
},
475+
unescapedValue: "1",
473476
},
474477
],
475478
expression: { '@type': "QualifiedName",
@@ -631,6 +634,7 @@
631634
col: 50,
632635
},
633636
},
637+
unescapedValue: "default",
634638
},
635639
],
636640
expression: { '@type': "QualifiedName",

fixtures/u2_class_ann.java.native

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
},
102102
},
103103
escapedValue: "\"Data\"",
104+
unescapedValue: "Data",
104105
},
105106
},
106107
{ '@type': "NormalAnnotation",
@@ -174,6 +175,7 @@
174175
},
175176
},
176177
escapedValue: "\"foo\"",
178+
unescapedValue: "foo",
177179
},
178180
},
179181
{ '@type': "MemberValuePair",
@@ -218,6 +220,7 @@
218220
},
219221
},
220222
escapedValue: "\"bar\"",
223+
unescapedValue: "bar",
221224
},
222225
},
223226
],

fixtures/u2_class_ann.java.uast

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@
107107
col: 15,
108108
},
109109
},
110+
unescapedValue: "Data",
110111
},
111112
},
112113
{ '@type': "NormalAnnotation",
@@ -185,6 +186,7 @@
185186
col: 17,
186187
},
187188
},
189+
unescapedValue: "foo",
188190
},
189191
},
190192
{ '@type': "MemberValuePair",
@@ -232,6 +234,7 @@
232234
col: 31,
233235
},
234236
},
237+
unescapedValue: "bar",
235238
},
236239
},
237240
],

fixtures/u2_class_field_tag.java.native

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
},
148148
},
149149
escapedValue: "\"Data\"",
150+
unescapedValue: "Data",
150151
},
151152
},
152153
{ '@type': "NormalAnnotation",
@@ -220,6 +221,7 @@
220221
},
221222
},
222223
escapedValue: "\"foo\"",
224+
unescapedValue: "foo",
223225
},
224226
},
225227
{ '@type': "MemberValuePair",
@@ -264,6 +266,7 @@
264266
},
265267
},
266268
escapedValue: "\"bar\"",
269+
unescapedValue: "bar",
267270
},
268271
},
269272
],

fixtures/u2_class_field_tag.java.uast

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@
156156
col: 21,
157157
},
158158
},
159+
unescapedValue: "Data",
159160
},
160161
},
161162
{ '@type': "NormalAnnotation",
@@ -234,6 +235,7 @@
234235
col: 25,
235236
},
236237
},
238+
unescapedValue: "foo",
237239
},
238240
},
239241
{ '@type': "MemberValuePair",
@@ -281,6 +283,7 @@
281283
col: 39,
282284
},
283285
},
286+
unescapedValue: "bar",
284287
},
285288
},
286289
],

0 commit comments

Comments
 (0)