Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/smartcasts/casts.dot
T
2020-04-03 10:08:23 +03:00

368 lines
12 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 function test_1" style="filled" fillcolor=red];
2 [label="Access variable R|<local>/x|"];
3 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
4 [label="Access variable R|<local>/x|"];
5 [label="Access variable R|kotlin/String.length|"];
1 [label="Exit function test_1" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {3};
3 -> {4};
4 -> {5};
5 -> {1};
subgraph cluster_1 {
color=red
6 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
8 [label="Enter when"];
subgraph cluster_3 {
color=blue
10 [label="Enter when branch condition "];
11 [label="Access variable R|<local>/x|"];
12 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
13 [label="Exit when branch condition"];
}
20 [label="Synthetic else branch"];
14 [label="Enter when branch result"];
subgraph cluster_4 {
color=blue
15 [label="Enter block"];
16 [label="Access variable R|<local>/x|"];
17 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
18 [label="Exit block"];
}
19 [label="Exit when branch result"];
9 [label="Exit when"];
}
21 [label="Access variable R|<local>/x|"];
22 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
7 [label="Exit function test_2" style="filled" fillcolor=red];
}
6 -> {8};
8 -> {10};
9 -> {21};
10 -> {11};
11 -> {12};
12 -> {13};
13 -> {14 20};
14 -> {15};
15 -> {16};
16 -> {17};
17 -> {18};
18 -> {19};
19 -> {9};
20 -> {9};
21 -> {22};
22 -> {7};
subgraph cluster_5 {
color=red
23 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_6 {
color=blue
25 [label="Enter when"];
subgraph cluster_7 {
color=blue
27 [label="Enter when branch condition "];
subgraph cluster_8 {
color=blue
29 [label="Enter &&"];
30 [label="Access variable R|<local>/b|"];
31 [label="Exit left part of &&"];
32 [label="Enter right part of &&"];
33 [label="Access variable R|<local>/x|"];
34 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
28 [label="Exit &&"];
}
35 [label="Exit when branch condition"];
}
42 [label="Synthetic else branch"];
36 [label="Enter when branch result"];
subgraph cluster_9 {
color=blue
37 [label="Enter block"];
38 [label="Access variable R|<local>/x|"];
39 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
40 [label="Exit block"];
}
41 [label="Exit when branch result"];
26 [label="Exit when"];
}
43 [label="Access variable R|<local>/x|"];
44 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_10 {
color=blue
45 [label="Enter when"];
subgraph cluster_11 {
color=blue
47 [label="Enter when branch condition "];
subgraph cluster_12 {
color=blue
49 [label="Enter &&"];
50 [label="Access variable R|<local>/b|"];
51 [label="Exit left part of &&"];
52 [label="Enter right part of &&"];
53 [label="Access variable R|<local>/x|"];
54 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
55 [label="Const: Boolean(true)"];
56 [label="Operator =="];
48 [label="Exit &&"];
}
57 [label="Exit when branch condition"];
}
64 [label="Synthetic else branch"];
58 [label="Enter when branch result"];
subgraph cluster_13 {
color=blue
59 [label="Enter block"];
60 [label="Access variable R|<local>/x|"];
61 [label="Function call: R|<local>/x|.R|kotlin/Boolean.not|()"];
62 [label="Exit block"];
}
63 [label="Exit when branch result"];
46 [label="Exit when"];
}
65 [label="Access variable R|<local>/x|"];
66 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
subgraph cluster_14 {
color=blue
67 [label="Enter when"];
subgraph cluster_15 {
color=blue
69 [label="Enter when branch condition "];
subgraph cluster_16 {
color=blue
71 [label="Enter ||"];
72 [label="Access variable R|<local>/b|"];
73 [label="Exit left part of ||"];
74 [label="Enter right part of ||"];
75 [label="Access variable R|<local>/x|"];
76 [label="Type operator: (R|<local>/x| as R|kotlin/Boolean|)"];
70 [label="Exit ||"];
}
77 [label="Exit when branch condition"];
}
84 [label="Synthetic else branch"];
78 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/x|"];
81 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
82 [label="Exit block"];
}
83 [label="Exit when branch result"];
68 [label="Exit when"];
}
85 [label="Access variable R|<local>/x|"];
86 [label="Function call: R|<local>/x|.<Unresolved name: not>#()"];
24 [label="Exit function test_3" style="filled" fillcolor=red];
}
23 -> {25};
25 -> {27};
26 -> {43};
27 -> {29};
28 -> {35};
29 -> {30};
30 -> {31};
31 -> {28 32};
32 -> {33};
33 -> {34};
34 -> {28};
35 -> {36 42};
36 -> {37};
37 -> {38};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {26};
42 -> {26};
43 -> {44};
44 -> {45};
45 -> {47};
46 -> {65};
47 -> {49};
48 -> {57};
49 -> {50};
50 -> {51};
51 -> {48 52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {48};
57 -> {58 64};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {46};
64 -> {46};
65 -> {66};
66 -> {67};
67 -> {69};
68 -> {85};
69 -> {71};
70 -> {77};
71 -> {72};
72 -> {73};
73 -> {70 74};
74 -> {75};
75 -> {76};
76 -> {70};
77 -> {78 84};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {68};
84 -> {68};
85 -> {86};
86 -> {24};
subgraph cluster_18 {
color=red
87 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
89 [label="Enter when"];
subgraph cluster_20 {
color=blue
91 [label="Enter when branch condition "];
92 [label="Access variable R|<local>/b|"];
93 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
94 [label="Const: Null(null)"];
95 [label="Operator !="];
96 [label="Exit when branch condition"];
}
subgraph cluster_21 {
color=blue
103 [label="Enter when branch condition else"];
104 [label="Exit when branch condition"];
}
105 [label="Enter when branch result"];
subgraph cluster_22 {
color=blue
106 [label="Enter block"];
107 [label="Access variable R|<local>/b|"];
108 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
109 [label="Exit block"];
}
110 [label="Exit when branch result"];
97 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
98 [label="Enter block"];
99 [label="Access variable R|<local>/b|"];
100 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
101 [label="Exit block"];
}
102 [label="Exit when branch result"];
90 [label="Exit when"];
}
111 [label="Access variable R|<local>/b|"];
112 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
subgraph cluster_24 {
color=blue
113 [label="Enter when"];
subgraph cluster_25 {
color=blue
115 [label="Enter when branch condition "];
116 [label="Access variable R|<local>/b|"];
117 [label="Type operator: (R|<local>/b| as? R|kotlin/Boolean|)"];
118 [label="Const: Null(null)"];
119 [label="Operator =="];
120 [label="Exit when branch condition"];
}
subgraph cluster_26 {
color=blue
127 [label="Enter when branch condition else"];
128 [label="Exit when branch condition"];
}
129 [label="Enter when branch result"];
subgraph cluster_27 {
color=blue
130 [label="Enter block"];
131 [label="Access variable R|<local>/b|"];
132 [label="Function call: R|<local>/b|.R|kotlin/Boolean.not|()"];
133 [label="Exit block"];
}
134 [label="Exit when branch result"];
121 [label="Enter when branch result"];
subgraph cluster_28 {
color=blue
122 [label="Enter block"];
123 [label="Access variable R|<local>/b|"];
124 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
125 [label="Exit block"];
}
126 [label="Exit when branch result"];
114 [label="Exit when"];
}
135 [label="Access variable R|<local>/b|"];
136 [label="Function call: R|<local>/b|.<Unresolved name: not>#()"];
88 [label="Exit function test_4" style="filled" fillcolor=red];
}
87 -> {89};
89 -> {91};
90 -> {111};
91 -> {92};
92 -> {93};
93 -> {94};
94 -> {95};
95 -> {96};
96 -> {97 103};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {101};
101 -> {102};
102 -> {90};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {109};
109 -> {110};
110 -> {90};
111 -> {112};
112 -> {113};
113 -> {115};
114 -> {135};
115 -> {116};
116 -> {117};
117 -> {118};
118 -> {119};
119 -> {120};
120 -> {121 127};
121 -> {122};
122 -> {123};
123 -> {124};
124 -> {125};
125 -> {126};
126 -> {114};
127 -> {128};
128 -> {129};
129 -> {130};
130 -> {131};
131 -> {132};
132 -> {133};
133 -> {134};
134 -> {114};
135 -> {136};
136 -> {88};
}