Files
2023-12-08 14:32:22 +00:00

595 lines
21 KiB
Plaintext
Vendored

digraph loops_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter file loops.kt" style="filled" fillcolor=red];
1 [label="Exit file loops.kt" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter function testWhile" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
subgraph cluster_3 {
color=blue
4 [label="Enter while loop"];
subgraph cluster_4 {
color=blue
5 [label="Enter loop condition"];
6 [label="Access variable R|<local>/b|"];
7 [label="Exit loop condition"];
}
subgraph cluster_5 {
color=blue
8 [label="Enter loop block"];
subgraph cluster_6 {
color=blue
9 [label="Enter block"];
10 [label="Access variable R|<local>/x|"];
11 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
12 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
13 [label="Exit block"];
}
14 [label="Exit loop block"];
}
15 [label="Exit while loop"];
}
16 [label="Access variable R|<local>/x|"];
17 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
18 [label="Exit block"];
}
19 [label="Exit function testWhile" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8 15};
8 -> {9};
9 -> {10};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {5} [color=green style=dashed];
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
subgraph cluster_7 {
color=red
20 [label="Enter function testDoWhile" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
21 [label="Enter block"];
subgraph cluster_9 {
color=blue
22 [label="Enter do-while loop"];
subgraph cluster_10 {
color=blue
23 [label="Enter loop block"];
subgraph cluster_11 {
color=blue
24 [label="Enter block"];
25 [label="Access variable R|<local>/x|"];
26 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
27 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
28 [label="Exit block"];
}
29 [label="Exit loop block"];
}
subgraph cluster_12 {
color=blue
30 [label="Enter loop condition"];
31 [label="Access variable R|<local>/b|"];
32 [label="Exit loop condition"];
}
33 [label="Exit do-while loop"];
}
34 [label="Access variable R|<local>/x|"];
35 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
36 [label="Exit block"];
}
37 [label="Exit function testDoWhile" style="filled" fillcolor=red];
}
20 -> {21};
21 -> {22};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {31};
31 -> {32};
32 -> {33};
32 -> {23} [color=green style=dashed];
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
subgraph cluster_13 {
color=red
38 [label="Enter function testFor" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
39 [label="Enter block"];
subgraph cluster_15 {
color=blue
40 [label="Enter block"];
subgraph cluster_16 {
color=blue
41 [label="Function call arguments enter"];
subgraph cluster_17 {
color=blue
42 [label="Function call arguments enter"];
43 [label="Const: Int(0)"];
44 [label="Const: Int(5)"];
45 [label="Function call arguments exit"];
}
46 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...)" style="filled" fillcolor=yellow];
47 [label="Function call arguments exit"];
}
48 [label="Function call: Int(0).R|kotlin/Int.rangeTo|(...).R|kotlin/ranges/IntProgression.iterator|()" style="filled" fillcolor=yellow];
49 [label="Variable declaration: lval <iterator>: R|kotlin/collections/IntIterator|"];
subgraph cluster_18 {
color=blue
50 [label="Enter while loop"];
subgraph cluster_19 {
color=blue
51 [label="Enter loop condition"];
subgraph cluster_20 {
color=blue
52 [label="Function call arguments enter"];
53 [label="Access variable R|<local>/<iterator>|"];
54 [label="Function call arguments exit"];
}
55 [label="Function call: R|<local>/<iterator>|.R|SubstitutionOverride<kotlin/collections/IntIterator.hasNext: R|kotlin/Boolean|>|()" style="filled" fillcolor=yellow];
56 [label="Exit loop condition"];
}
subgraph cluster_21 {
color=blue
57 [label="Enter loop block"];
subgraph cluster_22 {
color=blue
58 [label="Enter block"];
subgraph cluster_23 {
color=blue
59 [label="Function call arguments enter"];
60 [label="Access variable R|<local>/<iterator>|"];
61 [label="Function call arguments exit"];
}
62 [label="Function call: R|<local>/<iterator>|.R|kotlin/collections/IntIterator.next|()" style="filled" fillcolor=yellow];
63 [label="Variable declaration: lval i: R|kotlin/Int|"];
subgraph cluster_24 {
color=blue
64 [label="Enter block"];
65 [label="Access variable R|<local>/x|"];
66 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
67 [label="Variable declaration: lval y: R|kotlin/Boolean|"];
68 [label="Exit block"];
}
69 [label="Exit block"];
}
70 [label="Exit loop block"];
}
71 [label="Exit while loop"];
}
72 [label="Exit block"];
}
73 [label="Access variable R|<local>/x|"];
74 [label="Type operator: (R|<local>/x| is R|kotlin/String|)"];
75 [label="Exit block"];
}
76 [label="Exit function testFor" style="filled" fillcolor=red];
}
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57 71};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69};
69 -> {70};
70 -> {51} [color=green style=dashed];
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
subgraph cluster_25 {
color=red
77 [label="Enter function testWhileTrue" style="filled" fillcolor=red];
subgraph cluster_26 {
color=blue
78 [label="Enter block"];
subgraph cluster_27 {
color=blue
79 [label="Enter while loop"];
subgraph cluster_28 {
color=blue
80 [label="Enter loop condition"];
81 [label="Const: Boolean(true)"];
82 [label="Exit loop condition"];
}
subgraph cluster_29 {
color=blue
83 [label="Enter loop block"];
subgraph cluster_30 {
color=blue
84 [label="Enter block"];
85 [label="Const: Int(1)"];
86 [label="Exit block"];
}
87 [label="Exit loop block"];
}
88 [label="Exit while loop" style="filled" fillcolor=gray];
}
89 [label="Const: Int(1)" style="filled" fillcolor=gray];
90 [label="Exit block" style="filled" fillcolor=gray];
}
91 [label="Exit function testWhileTrue" style="filled" fillcolor=gray];
}
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
82 -> {88} [style=dotted];
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {80} [color=green style=dashed];
88 -> {89} [style=dotted];
89 -> {90} [style=dotted];
90 -> {91} [style=dotted];
subgraph cluster_31 {
color=red
92 [label="Enter function testWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_32 {
color=blue
93 [label="Enter block"];
subgraph cluster_33 {
color=blue
94 [label="Enter while loop"];
subgraph cluster_34 {
color=blue
95 [label="Enter loop condition"];
96 [label="Const: Boolean(true)"];
97 [label="Exit loop condition"];
}
subgraph cluster_35 {
color=blue
98 [label="Enter loop block"];
subgraph cluster_36 {
color=blue
99 [label="Enter block"];
subgraph cluster_37 {
color=blue
100 [label="Enter when"];
subgraph cluster_38 {
color=blue
101 [label="Enter when branch condition "];
102 [label="Access variable R|<local>/b|"];
103 [label="Exit when branch condition"];
}
104 [label="Synthetic else branch"];
105 [label="Enter when branch result"];
subgraph cluster_39 {
color=blue
106 [label="Enter block"];
107 [label="Jump: break@@@[Boolean(true)] "];
108 [label="Stub" style="filled" fillcolor=gray];
109 [label="Exit block" style="filled" fillcolor=gray];
}
110 [label="Exit when branch result" style="filled" fillcolor=gray];
111 [label="Exit when"];
}
112 [label="Exit block"];
}
113 [label="Exit loop block"];
}
114 [label="Exit while loop"];
}
115 [label="Const: Int(1)"];
116 [label="Exit block"];
}
117 [label="Exit function testWhileTrueWithBreak" style="filled" fillcolor=red];
}
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97};
97 -> {98};
97 -> {114} [style=dotted];
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {103};
103 -> {104 105};
104 -> {111};
105 -> {106};
106 -> {107};
107 -> {114};
107 -> {108} [style=dotted];
108 -> {109} [style=dotted];
109 -> {110} [style=dotted];
110 -> {111} [style=dotted];
111 -> {112};
112 -> {113};
113 -> {95} [color=green style=dashed];
114 -> {115};
115 -> {116};
116 -> {117};
subgraph cluster_40 {
color=red
118 [label="Enter function testWhileFalse" style="filled" fillcolor=red];
subgraph cluster_41 {
color=blue
119 [label="Enter block"];
subgraph cluster_42 {
color=blue
120 [label="Enter while loop"];
subgraph cluster_43 {
color=blue
121 [label="Enter loop condition"];
122 [label="Const: Boolean(false)"];
123 [label="Exit loop condition"];
}
subgraph cluster_44 {
color=blue
124 [label="Enter loop block" style="filled" fillcolor=gray];
subgraph cluster_45 {
color=blue
125 [label="Enter block" style="filled" fillcolor=gray];
126 [label="Const: Int(1)" style="filled" fillcolor=gray];
127 [label="Exit block" style="filled" fillcolor=gray];
}
128 [label="Exit loop block" style="filled" fillcolor=gray];
}
129 [label="Exit while loop"];
}
130 [label="Const: Int(1)"];
131 [label="Exit block"];
}
132 [label="Exit function testWhileFalse" style="filled" fillcolor=red];
}
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {129};
123 -> {124} [style=dotted];
124 -> {125} [style=dotted];
125 -> {126} [style=dotted];
126 -> {127} [style=dotted];
127 -> {128} [style=dotted];
128 -> {121} [color=green style=dotted];
129 -> {130};
130 -> {131};
131 -> {132};
subgraph cluster_46 {
color=red
133 [label="Enter function testDoWhileTrue" style="filled" fillcolor=red];
subgraph cluster_47 {
color=blue
134 [label="Enter block"];
subgraph cluster_48 {
color=blue
135 [label="Enter do-while loop"];
subgraph cluster_49 {
color=blue
136 [label="Enter loop block"];
subgraph cluster_50 {
color=blue
137 [label="Enter block"];
138 [label="Const: Int(1)"];
139 [label="Exit block"];
}
140 [label="Exit loop block"];
}
subgraph cluster_51 {
color=blue
141 [label="Enter loop condition"];
142 [label="Const: Boolean(true)"];
143 [label="Exit loop condition"];
}
144 [label="Exit do-while loop" style="filled" fillcolor=gray];
}
145 [label="Const: Int(1)" style="filled" fillcolor=gray];
146 [label="Exit block" style="filled" fillcolor=gray];
}
147 [label="Exit function testDoWhileTrue" style="filled" fillcolor=gray];
}
133 -> {134};
134 -> {135};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {136} [color=green style=dashed];
143 -> {144} [style=dotted];
144 -> {145} [style=dotted];
145 -> {146} [style=dotted];
146 -> {147} [style=dotted];
subgraph cluster_52 {
color=red
148 [label="Enter function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
subgraph cluster_53 {
color=blue
149 [label="Enter block"];
subgraph cluster_54 {
color=blue
150 [label="Enter do-while loop"];
subgraph cluster_55 {
color=blue
151 [label="Enter loop block"];
subgraph cluster_56 {
color=blue
152 [label="Enter block"];
subgraph cluster_57 {
color=blue
153 [label="Enter when"];
subgraph cluster_58 {
color=blue
154 [label="Enter when branch condition "];
155 [label="Access variable R|<local>/b|"];
156 [label="Exit when branch condition"];
}
157 [label="Synthetic else branch"];
158 [label="Enter when branch result"];
subgraph cluster_59 {
color=blue
159 [label="Enter block"];
160 [label="Jump: break@@@[Boolean(true)] "];
161 [label="Stub" style="filled" fillcolor=gray];
162 [label="Exit block" style="filled" fillcolor=gray];
}
163 [label="Exit when branch result" style="filled" fillcolor=gray];
164 [label="Exit when"];
}
165 [label="Exit block"];
}
166 [label="Exit loop block"];
}
subgraph cluster_60 {
color=blue
167 [label="Enter loop condition"];
168 [label="Const: Boolean(true)"];
169 [label="Exit loop condition"];
}
170 [label="Exit do-while loop"];
}
171 [label="Const: Int(1)"];
172 [label="Exit block"];
}
173 [label="Exit function testDoWhileTrueWithBreak" style="filled" fillcolor=red];
}
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156};
156 -> {157 158};
157 -> {164};
158 -> {159};
159 -> {160};
160 -> {170};
160 -> {161} [style=dotted];
161 -> {162} [style=dotted];
162 -> {163} [style=dotted];
163 -> {164} [style=dotted];
164 -> {165};
165 -> {166};
166 -> {167};
167 -> {168};
168 -> {169};
169 -> {151} [color=green style=dashed];
169 -> {170} [style=dotted];
170 -> {171};
171 -> {172};
172 -> {173};
subgraph cluster_61 {
color=red
174 [label="Enter function testDoWhileFalse" style="filled" fillcolor=red];
subgraph cluster_62 {
color=blue
175 [label="Enter block"];
subgraph cluster_63 {
color=blue
176 [label="Enter do-while loop"];
subgraph cluster_64 {
color=blue
177 [label="Enter loop block"];
subgraph cluster_65 {
color=blue
178 [label="Enter block"];
179 [label="Const: Int(1)"];
180 [label="Exit block"];
}
181 [label="Exit loop block"];
}
subgraph cluster_66 {
color=blue
182 [label="Enter loop condition"];
183 [label="Const: Boolean(false)"];
184 [label="Exit loop condition"];
}
185 [label="Exit do-while loop"];
}
186 [label="Const: Int(1)"];
187 [label="Exit block"];
}
188 [label="Exit function testDoWhileFalse" style="filled" fillcolor=red];
}
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
181 -> {182};
182 -> {183};
183 -> {184};
184 -> {185};
184 -> {177} [color=green style=dotted];
185 -> {186};
186 -> {187};
187 -> {188};
}