Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/smartcasts/casts.dot
T
2023-12-08 14:32:22 +00:00

515 lines
18 KiB
Plaintext
Vendored

digraph casts_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter file casts.kt" style="filled" fillcolor=red];
1 [label="Exit file casts.kt" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
subgraph cluster_1 {
color=red
2 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
3 [label="Enter block"];
4 [label="Access variable R|<local>/x|"];
5 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
6 [label="Access variable R|<local>/x|"];
7 [label="Smart cast: R|<local>/x|"];
8 [label="Access variable R|kotlin/String.length|"];
9 [label="Exit block"];
}
10 [label="Exit function test_1" style="filled" fillcolor=red];
}
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {6};
6 -> {7};
7 -> {8};
8 -> {9};
9 -> {10};
subgraph cluster_3 {
color=red
11 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_4 {
color=blue
12 [label="Enter block"];
subgraph cluster_5 {
color=blue
13 [label="Enter when"];
subgraph cluster_6 {
color=blue
14 [label="Enter when branch condition "];
15 [label="Access variable R|<local>/x|"];
16 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
17 [label="Exit when branch condition"];
}
18 [label="Synthetic else branch"];
19 [label="Enter when branch result"];
subgraph cluster_7 {
color=blue
20 [label="Enter block"];
subgraph cluster_8 {
color=blue
21 [label="Function call arguments enter"];
22 [label="Access variable R|<local>/x|"];
23 [label="Smart cast: R|<local>/x|"];
24 [label="Function call arguments exit"];
}
25 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
26 [label="Exit block"];
}
27 [label="Exit when branch result"];
28 [label="Exit when"];
}
subgraph cluster_9 {
color=blue
29 [label="Function call arguments enter"];
30 [label="Access variable R|<local>/x|"];
31 [label="Smart cast: R|<local>/x|"];
32 [label="Function call arguments exit"];
}
33 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
34 [label="Exit block"];
}
35 [label="Exit function test_2" style="filled" fillcolor=red];
}
11 -> {12};
12 -> {13};
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18 19};
18 -> {28};
19 -> {20};
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};
33 -> {34};
34 -> {35};
subgraph cluster_10 {
color=red
36 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_11 {
color=blue
37 [label="Enter block"];
subgraph cluster_12 {
color=blue
38 [label="Enter when"];
subgraph cluster_13 {
color=blue
39 [label="Enter when branch condition "];
subgraph cluster_14 {
color=blue
40 [label="Enter &&"];
41 [label="Access variable R|<local>/b|"];
42 [label="Exit left part of &&"];
43 [label="Enter right part of &&"];
44 [label="Access variable R|<local>/x|"];
45 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
46 [label="Exit &&"];
}
47 [label="Exit when branch condition"];
}
48 [label="Synthetic else branch"];
49 [label="Enter when branch result"];
subgraph cluster_15 {
color=blue
50 [label="Enter block"];
subgraph cluster_16 {
color=blue
51 [label="Function call arguments enter"];
52 [label="Access variable R|<local>/x|"];
53 [label="Smart cast: R|<local>/x|"];
54 [label="Function call arguments exit"];
}
55 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
56 [label="Exit block"];
}
57 [label="Exit when branch result"];
58 [label="Exit when"];
}
subgraph cluster_17 {
color=blue
59 [label="Function call arguments enter"];
60 [label="Access variable R|<local>/x|"];
61 [label="Function call arguments exit"];
}
62 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_18 {
color=blue
63 [label="Enter when"];
subgraph cluster_19 {
color=blue
64 [label="Enter when branch condition "];
subgraph cluster_20 {
color=blue
65 [label="Enter &&"];
66 [label="Access variable R|<local>/b|"];
67 [label="Exit left part of &&"];
68 [label="Enter right part of &&"];
69 [label="Access variable R|<local>/x|"];
70 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
71 [label="Const: Boolean(true)"];
72 [label="Equality operator =="];
73 [label="Exit &&"];
}
74 [label="Exit when branch condition"];
}
75 [label="Synthetic else branch"];
76 [label="Enter when branch result"];
subgraph cluster_21 {
color=blue
77 [label="Enter block"];
subgraph cluster_22 {
color=blue
78 [label="Function call arguments enter"];
79 [label="Access variable R|<local>/x|"];
80 [label="Smart cast: R|<local>/x|"];
81 [label="Function call arguments exit"];
}
82 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
83 [label="Exit block"];
}
84 [label="Exit when branch result"];
85 [label="Exit when"];
}
subgraph cluster_23 {
color=blue
86 [label="Function call arguments enter"];
87 [label="Access variable R|<local>/x|"];
88 [label="Function call arguments exit"];
}
89 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_24 {
color=blue
90 [label="Enter when"];
subgraph cluster_25 {
color=blue
91 [label="Enter when branch condition "];
subgraph cluster_26 {
color=blue
92 [label="Enter ||"];
93 [label="Access variable R|<local>/b|"];
94 [label="Exit left part of ||"];
95 [label="Enter right part of ||"];
96 [label="Access variable R|<local>/x|"];
97 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
98 [label="Exit ||"];
}
99 [label="Exit when branch condition"];
}
100 [label="Synthetic else branch"];
101 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
102 [label="Enter block"];
subgraph cluster_28 {
color=blue
103 [label="Function call arguments enter"];
104 [label="Access variable R|<local>/x|"];
105 [label="Function call arguments exit"];
}
106 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
109 [label="Exit when"];
}
subgraph cluster_29 {
color=blue
110 [label="Function call arguments enter"];
111 [label="Access variable R|<local>/x|"];
112 [label="Function call arguments exit"];
}
113 [label="Function call: R|<local>/x|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
114 [label="Exit block"];
}
115 [label="Exit function test_3" style="filled" fillcolor=red];
}
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43 46};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48 49};
48 -> {58};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57};
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68 73};
68 -> {69};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75 76};
75 -> {85};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
88 -> {89};
89 -> {90};
90 -> {91};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95 98};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100 101};
100 -> {109};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {111};
111 -> {112};
112 -> {113};
113 -> {114};
114 -> {115};
subgraph cluster_30 {
color=red
116 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_31 {
color=blue
117 [label="Enter block"];
subgraph cluster_32 {
color=blue
118 [label="Enter when"];
subgraph cluster_33 {
color=blue
119 [label="Enter when branch condition "];
120 [label="Access variable R|<local>/b|"];
121 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
122 [label="Const: Null(null)"];
123 [label="Equality operator !="];
124 [label="Exit when branch condition"];
}
subgraph cluster_34 {
color=blue
125 [label="Enter when branch condition else"];
126 [label="Exit when branch condition"];
}
127 [label="Enter when branch result"];
subgraph cluster_35 {
color=blue
128 [label="Enter block"];
subgraph cluster_36 {
color=blue
129 [label="Function call arguments enter"];
130 [label="Access variable R|<local>/b|"];
131 [label="Function call arguments exit"];
}
132 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
133 [label="Exit block"];
}
134 [label="Exit when branch result"];
135 [label="Enter when branch result"];
subgraph cluster_37 {
color=blue
136 [label="Enter block"];
subgraph cluster_38 {
color=blue
137 [label="Function call arguments enter"];
138 [label="Access variable R|<local>/b|"];
139 [label="Smart cast: R|<local>/b|"];
140 [label="Function call arguments exit"];
}
141 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
142 [label="Exit block"];
}
143 [label="Exit when branch result"];
144 [label="Exit when"];
}
subgraph cluster_39 {
color=blue
145 [label="Function call arguments enter"];
146 [label="Access variable R|<local>/b|"];
147 [label="Function call arguments exit"];
}
148 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
subgraph cluster_40 {
color=blue
149 [label="Enter when"];
subgraph cluster_41 {
color=blue
150 [label="Enter when branch condition "];
151 [label="Access variable R|<local>/b|"];
152 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
153 [label="Const: Null(null)"];
154 [label="Equality operator =="];
155 [label="Exit when branch condition"];
}
subgraph cluster_42 {
color=blue
156 [label="Enter when branch condition else"];
157 [label="Exit when branch condition"];
}
158 [label="Enter when branch result"];
subgraph cluster_43 {
color=blue
159 [label="Enter block"];
subgraph cluster_44 {
color=blue
160 [label="Function call arguments enter"];
161 [label="Access variable R|<local>/b|"];
162 [label="Smart cast: R|<local>/b|"];
163 [label="Function call arguments exit"];
}
164 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()" style="filled" fillcolor=yellow];
165 [label="Exit block"];
}
166 [label="Exit when branch result"];
167 [label="Enter when branch result"];
subgraph cluster_45 {
color=blue
168 [label="Enter block"];
subgraph cluster_46 {
color=blue
169 [label="Function call arguments enter"];
170 [label="Access variable R|<local>/b|"];
171 [label="Function call arguments exit"];
}
172 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
173 [label="Exit block"];
}
174 [label="Exit when branch result"];
175 [label="Exit when"];
}
subgraph cluster_47 {
color=blue
176 [label="Function call arguments enter"];
177 [label="Access variable R|<local>/b|"];
178 [label="Function call arguments exit"];
}
179 [label="Function call: R|<local>/b|.<Unresolved name: not>#()" style="filled" fillcolor=yellow];
180 [label="Exit block"];
}
181 [label="Exit function test_4" style="filled" fillcolor=red];
}
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125 135};
125 -> {126};
126 -> {127};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {144};
135 -> {136};
136 -> {137};
137 -> {138};
138 -> {139};
139 -> {140};
140 -> {141};
141 -> {142};
142 -> {143};
143 -> {144};
144 -> {145};
145 -> {146};
146 -> {147};
147 -> {148};
148 -> {149};
149 -> {150};
150 -> {151};
151 -> {152};
152 -> {153};
153 -> {154};
154 -> {155};
155 -> {156 167};
156 -> {157};
157 -> {158};
158 -> {159};
159 -> {160};
160 -> {161};
161 -> {162};
162 -> {163};
163 -> {164};
164 -> {165};
165 -> {166};
166 -> {175};
167 -> {168};
168 -> {169};
169 -> {170};
170 -> {171};
171 -> {172};
172 -> {173};
173 -> {174};
174 -> {175};
175 -> {176};
176 -> {177};
177 -> {178};
178 -> {179};
179 -> {180};
180 -> {181};
}