Skip to content

Commit e9500e8

Browse files
author
Max Schaefer
committed
JavaScript: Update trap tests.
1 parent 6013b91 commit e9500e8

File tree

220 files changed

+68639
-68639
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

220 files changed

+68639
-68639
lines changed

javascript/extractor/tests/cfg/output/trap/classexpr1.js.trap

Lines changed: 87 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -9,112 +9,112 @@ hasLocation(#10000,#10002)
99
#20000=@"global_scope"
1010
scopes(#20000,0)
1111
#20001=@"script;{#10000},1,1"
12-
toplevels(#20001,0)
13-
#20002=@"loc,{#10000},1,1,1,10"
14-
locations_default(#20002,#10000,1,1,1,10)
15-
hasLocation(#20001,#20002)
16-
#20003=*
17-
stmts(#20003,2,#20001,0,"!class {};")
18-
hasLocation(#20003,#20002)
19-
stmtContainers(#20003,#20001)
12+
#20002=*
13+
lines(#20002,#20001,"!class {};","")
14+
#20003=@"loc,{#10000},1,1,1,10"
15+
locations_default(#20003,#10000,1,1,1,10)
16+
hasLocation(#20002,#20003)
17+
numlines(#20001,1,1,0)
2018
#20004=*
21-
exprs(#20004,18,#20003,0,"!class {}")
22-
#20005=@"loc,{#10000},1,1,1,9"
23-
locations_default(#20005,#10000,1,1,1,9)
19+
tokeninfo(#20004,8,#20001,0,"!")
20+
#20005=@"loc,{#10000},1,1,1,1"
21+
locations_default(#20005,#10000,1,1,1,1)
2422
hasLocation(#20004,#20005)
25-
enclosingStmt(#20004,#20003)
26-
exprContainers(#20004,#20001)
2723
#20006=*
28-
exprs(#20006,80,#20004,0,"class {}")
29-
#20007=@"loc,{#10000},1,2,1,9"
30-
locations_default(#20007,#10000,1,2,1,9)
24+
tokeninfo(#20006,7,#20001,1,"class")
25+
#20007=@"loc,{#10000},1,2,1,6"
26+
locations_default(#20007,#10000,1,2,1,6)
3127
hasLocation(#20006,#20007)
32-
enclosingStmt(#20006,#20003)
33-
exprContainers(#20006,#20001)
3428
#20008=*
35-
properties(#20008,#20006,2,0,"constructor() {}")
36-
#20009=@"loc,{#10000},1,8,1,7"
37-
locations_default(#20009,#10000,1,8,1,7)
29+
tokeninfo(#20008,8,#20001,2,"{")
30+
#20009=@"loc,{#10000},1,8,1,8"
31+
locations_default(#20009,#10000,1,8,1,8)
3832
hasLocation(#20008,#20009)
3933
#20010=*
40-
exprs(#20010,0,#20008,0,"constructor")
41-
hasLocation(#20010,#20009)
42-
enclosingStmt(#20010,#20003)
43-
exprContainers(#20010,#20001)
44-
literals("constructor","constructor",#20010)
45-
#20011=*
46-
exprs(#20011,9,#20008,1,"() {}")
47-
hasLocation(#20011,#20009)
48-
enclosingStmt(#20011,#20003)
49-
exprContainers(#20011,#20001)
34+
tokeninfo(#20010,8,#20001,3,"}")
35+
#20011=@"loc,{#10000},1,9,1,9"
36+
locations_default(#20011,#10000,1,9,1,9)
37+
hasLocation(#20010,#20011)
5038
#20012=*
51-
scopes(#20012,1)
52-
scopenodes(#20011,#20012)
53-
scopenesting(#20012,#20000)
54-
#20013=@"var;{arguments};{#20012}"
55-
variables(#20013,"arguments",#20012)
56-
isArgumentsObject(#20013)
39+
tokeninfo(#20012,8,#20001,4,";")
40+
#20013=@"loc,{#10000},1,10,1,10"
41+
locations_default(#20013,#10000,1,10,1,10)
42+
hasLocation(#20012,#20013)
5743
#20014=*
58-
stmts(#20014,1,#20011,-2,"{}")
59-
hasLocation(#20014,#20009)
60-
stmtContainers(#20014,#20011)
61-
isMethod(#20008)
62-
#20015=*
63-
lines(#20015,#20001,"!class {};","")
64-
hasLocation(#20015,#20002)
65-
numlines(#20001,1,1,0)
44+
tokeninfo(#20014,0,#20001,5,"")
45+
#20015=@"loc,{#10000},1,11,1,10"
46+
locations_default(#20015,#10000,1,11,1,10)
47+
hasLocation(#20014,#20015)
48+
toplevels(#20001,0)
49+
hasLocation(#20001,#20003)
6650
#20016=*
67-
tokeninfo(#20016,8,#20001,0,"!")
68-
#20017=@"loc,{#10000},1,1,1,1"
69-
locations_default(#20017,#10000,1,1,1,1)
70-
hasLocation(#20016,#20017)
71-
#20018=*
72-
tokeninfo(#20018,7,#20001,1,"class")
73-
#20019=@"loc,{#10000},1,2,1,6"
74-
locations_default(#20019,#10000,1,2,1,6)
75-
hasLocation(#20018,#20019)
76-
#20020=*
77-
tokeninfo(#20020,8,#20001,2,"{")
78-
#20021=@"loc,{#10000},1,8,1,8"
79-
locations_default(#20021,#10000,1,8,1,8)
80-
hasLocation(#20020,#20021)
81-
#20022=*
82-
tokeninfo(#20022,8,#20001,3,"}")
83-
#20023=@"loc,{#10000},1,9,1,9"
84-
locations_default(#20023,#10000,1,9,1,9)
85-
hasLocation(#20022,#20023)
51+
stmts(#20016,2,#20001,0,"!class {};")
52+
hasLocation(#20016,#20003)
53+
stmtContainers(#20016,#20001)
54+
#20017=*
55+
exprs(#20017,18,#20016,0,"!class {}")
56+
#20018=@"loc,{#10000},1,1,1,9"
57+
locations_default(#20018,#10000,1,1,1,9)
58+
hasLocation(#20017,#20018)
59+
enclosingStmt(#20017,#20016)
60+
exprContainers(#20017,#20001)
61+
#20019=*
62+
exprs(#20019,80,#20017,0,"class {}")
63+
#20020=@"loc,{#10000},1,2,1,9"
64+
locations_default(#20020,#10000,1,2,1,9)
65+
hasLocation(#20019,#20020)
66+
enclosingStmt(#20019,#20016)
67+
exprContainers(#20019,#20001)
68+
#20021=*
69+
properties(#20021,#20019,2,0,"constructor() {}")
70+
#20022=@"loc,{#10000},1,8,1,7"
71+
locations_default(#20022,#10000,1,8,1,7)
72+
hasLocation(#20021,#20022)
73+
#20023=*
74+
exprs(#20023,0,#20021,0,"constructor")
75+
hasLocation(#20023,#20022)
76+
enclosingStmt(#20023,#20016)
77+
exprContainers(#20023,#20001)
78+
literals("constructor","constructor",#20023)
8679
#20024=*
87-
tokeninfo(#20024,8,#20001,4,";")
88-
#20025=@"loc,{#10000},1,10,1,10"
89-
locations_default(#20025,#10000,1,10,1,10)
90-
hasLocation(#20024,#20025)
91-
#20026=*
92-
tokeninfo(#20026,0,#20001,5,"")
93-
#20027=@"loc,{#10000},1,11,1,10"
94-
locations_default(#20027,#10000,1,11,1,10)
95-
hasLocation(#20026,#20027)
80+
exprs(#20024,9,#20021,1,"() {}")
81+
hasLocation(#20024,#20022)
82+
enclosingStmt(#20024,#20016)
83+
exprContainers(#20024,#20001)
84+
#20025=*
85+
scopes(#20025,1)
86+
scopenodes(#20024,#20025)
87+
scopenesting(#20025,#20000)
88+
#20026=@"var;{arguments};{#20025}"
89+
variables(#20026,"arguments",#20025)
90+
isArgumentsObject(#20026)
91+
#20027=*
92+
stmts(#20027,1,#20024,-2,"{}")
93+
hasLocation(#20027,#20022)
94+
stmtContainers(#20027,#20024)
95+
isMethod(#20021)
9696
#20028=*
9797
entry_cfg_node(#20028,#20001)
9898
#20029=@"loc,{#10000},1,1,1,0"
9999
locations_default(#20029,#10000,1,1,1,0)
100100
hasLocation(#20028,#20029)
101101
#20030=*
102102
exit_cfg_node(#20030,#20001)
103-
hasLocation(#20030,#20027)
104-
successor(#20003,#20010)
105-
successor(#20011,#20008)
103+
hasLocation(#20030,#20015)
104+
successor(#20016,#20023)
105+
successor(#20024,#20021)
106106
#20031=*
107-
entry_cfg_node(#20031,#20011)
108-
hasLocation(#20031,#20009)
107+
entry_cfg_node(#20031,#20024)
108+
hasLocation(#20031,#20022)
109109
#20032=*
110-
exit_cfg_node(#20032,#20011)
111-
hasLocation(#20032,#20009)
112-
successor(#20014,#20032)
113-
successor(#20031,#20014)
114-
successor(#20010,#20011)
115-
successor(#20008,#20006)
116-
successor(#20006,#20004)
117-
successor(#20004,#20030)
118-
successor(#20028,#20003)
110+
exit_cfg_node(#20032,#20024)
111+
hasLocation(#20032,#20022)
112+
successor(#20027,#20032)
113+
successor(#20031,#20027)
114+
successor(#20023,#20024)
115+
successor(#20021,#20019)
116+
successor(#20019,#20017)
117+
successor(#20017,#20030)
118+
successor(#20028,#20016)
119119
numlines(#10000,1,1,0)
120120
filetype(#10000,"javascript")

0 commit comments

Comments
 (0)