Skip to content

Commit 61d4648

Browse files
committed
update expected output of trap test
1 parent eb5dfe8 commit 61d4648

File tree

1 file changed

+69
-73
lines changed

1 file changed

+69
-73
lines changed

javascript/extractor/tests/ts/output/trap/tsx.tsx.trap

Lines changed: 69 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -301,94 +301,90 @@ hasLocation(#20099,#20100)
301301
enclosingStmt(#20099,#20077)
302302
exprContainers(#20099,#20001)
303303
#20101=*
304-
exprs(#20101,79,#20099,0,"this")
304+
exprs(#20101,6,#20099,0,"this")
305305
hasLocation(#20101,#20039)
306306
enclosingStmt(#20101,#20077)
307307
exprContainers(#20101,#20001)
308-
literals("this","this",#20101)
309-
#20102=@"var;{this};{#20000}"
310-
variables(#20102,"this",#20000)
311-
bind(#20101,#20102)
308+
#20102=*
309+
exprs(#20102,0,#20099,1,"props")
310+
hasLocation(#20102,#20043)
311+
enclosingStmt(#20102,#20077)
312+
exprContainers(#20102,#20001)
313+
literals("props","props",#20102)
312314
#20103=*
313-
exprs(#20103,0,#20099,1,"props")
314-
hasLocation(#20103,#20043)
315+
exprs(#20103,0,#20097,1,"icon")
316+
hasLocation(#20103,#20047)
315317
enclosingStmt(#20103,#20077)
316318
exprContainers(#20103,#20001)
317-
literals("props","props",#20103)
319+
literals("icon","icon",#20103)
318320
#20104=*
319-
exprs(#20104,0,#20097,1,"icon")
320-
hasLocation(#20104,#20047)
321+
exprs(#20104,4,#20079,-4,"")
322+
#20105=@"loc,{#10000},3,3,3,2"
323+
locations_default(#20105,#10000,3,3,3,2)
324+
hasLocation(#20104,#20105)
321325
enclosingStmt(#20104,#20077)
322326
exprContainers(#20104,#20001)
323-
literals("icon","icon",#20104)
324-
#20105=*
325-
exprs(#20105,4,#20079,-4,"")
326-
#20106=@"loc,{#10000},3,3,3,2"
327-
locations_default(#20106,#10000,3,3,3,2)
328-
hasLocation(#20105,#20106)
329-
enclosingStmt(#20105,#20077)
330-
exprContainers(#20105,#20001)
331327
literals("
332-
","",#20105)
333-
#20107=*
334-
regexpterm(#20107,14,#20105,0,"
328+
","",#20104)
329+
#20106=*
330+
regexpterm(#20106,14,#20104,0,"
335331
")
336-
#20108=@"loc,{#10000},3,4,3,6"
337-
locations_default(#20108,#10000,3,4,3,6)
338-
hasLocation(#20107,#20108)
339-
regexpConstValue(#20107,"
332+
#20107=@"loc,{#10000},3,4,3,6"
333+
locations_default(#20107,#10000,3,4,3,6)
334+
hasLocation(#20106,#20107)
335+
regexpConstValue(#20106,"
340336
")
341-
#20109=*
342-
exprs(#20109,89,#20079,-5,"<name-with-dashes/>")
343-
#20110=@"loc,{#10000},3,3,3,21"
344-
locations_default(#20110,#10000,3,3,3,21)
345-
hasLocation(#20109,#20110)
346-
enclosingStmt(#20109,#20077)
347-
exprContainers(#20109,#20001)
348-
#20111=*
349-
exprs(#20111,0,#20109,-1,"name-with-dashes")
350-
#20112=@"loc,{#10000},3,4,3,19"
351-
locations_default(#20112,#10000,3,4,3,19)
352-
hasLocation(#20111,#20112)
353-
enclosingStmt(#20111,#20077)
354-
exprContainers(#20111,#20001)
355-
literals("name-with-dashes","name-with-dashes",#20111)
356-
#20113=*
357-
exprs(#20113,4,#20079,-6,"")
358-
#20114=@"loc,{#10000},4,1,4,0"
359-
locations_default(#20114,#10000,4,1,4,0)
360-
hasLocation(#20113,#20114)
361-
enclosingStmt(#20113,#20077)
362-
exprContainers(#20113,#20001)
337+
#20108=*
338+
exprs(#20108,89,#20079,-5,"<name-with-dashes/>")
339+
#20109=@"loc,{#10000},3,3,3,21"
340+
locations_default(#20109,#10000,3,3,3,21)
341+
hasLocation(#20108,#20109)
342+
enclosingStmt(#20108,#20077)
343+
exprContainers(#20108,#20001)
344+
#20110=*
345+
exprs(#20110,0,#20108,-1,"name-with-dashes")
346+
#20111=@"loc,{#10000},3,4,3,19"
347+
locations_default(#20111,#10000,3,4,3,19)
348+
hasLocation(#20110,#20111)
349+
enclosingStmt(#20110,#20077)
350+
exprContainers(#20110,#20001)
351+
literals("name-with-dashes","name-with-dashes",#20110)
352+
#20112=*
353+
exprs(#20112,4,#20079,-6,"")
354+
#20113=@"loc,{#10000},4,1,4,0"
355+
locations_default(#20113,#10000,4,1,4,0)
356+
hasLocation(#20112,#20113)
357+
enclosingStmt(#20112,#20077)
358+
exprContainers(#20112,#20001)
363359
literals("
364-
","",#20113)
365-
#20115=*
366-
regexpterm(#20115,14,#20113,0,"
360+
","",#20112)
361+
#20114=*
362+
regexpterm(#20114,14,#20112,0,"
367363
")
368-
#20116=@"loc,{#10000},4,2,4,2"
369-
locations_default(#20116,#10000,4,2,4,2)
370-
hasLocation(#20115,#20116)
371-
regexpConstValue(#20115,"
364+
#20115=@"loc,{#10000},4,2,4,2"
365+
locations_default(#20115,#10000,4,2,4,2)
366+
hasLocation(#20114,#20115)
367+
regexpConstValue(#20114,"
372368
")
373-
#20117=*
374-
entry_cfg_node(#20117,#20001)
375-
#20118=@"loc,{#10000},1,1,1,0"
376-
locations_default(#20118,#10000,1,1,1,0)
377-
hasLocation(#20117,#20118)
378-
#20119=*
379-
exit_cfg_node(#20119,#20001)
380-
hasLocation(#20119,#20075)
369+
#20116=*
370+
entry_cfg_node(#20116,#20001)
371+
#20117=@"loc,{#10000},1,1,1,0"
372+
locations_default(#20117,#10000,1,1,1,0)
373+
hasLocation(#20116,#20117)
374+
#20118=*
375+
exit_cfg_node(#20118,#20001)
376+
hasLocation(#20118,#20075)
381377
successor(#20077,#20080)
382-
successor(#20113,#20079)
383-
successor(#20111,#20109)
384-
successor(#20109,#20113)
385-
successor(#20105,#20111)
386-
successor(#20104,#20097)
387-
successor(#20103,#20099)
388-
successor(#20101,#20103)
389-
successor(#20099,#20104)
378+
successor(#20112,#20079)
379+
successor(#20110,#20108)
380+
successor(#20108,#20112)
381+
successor(#20104,#20110)
382+
successor(#20103,#20097)
383+
successor(#20102,#20099)
384+
successor(#20101,#20102)
385+
successor(#20099,#20103)
390386
successor(#20097,#20095)
391-
successor(#20095,#20105)
387+
successor(#20095,#20104)
392388
successor(#20091,#20101)
393389
successor(#20089,#20086)
394390
successor(#20088,#20089)
@@ -397,7 +393,7 @@ successor(#20084,#20081)
397393
successor(#20083,#20084)
398394
successor(#20081,#20088)
399395
successor(#20080,#20083)
400-
successor(#20079,#20119)
401-
successor(#20117,#20077)
396+
successor(#20079,#20118)
397+
successor(#20116,#20077)
402398
numlines(#10000,4,4,0)
403399
filetype(#10000,"typescript")

0 commit comments

Comments
 (0)