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

301 lines
9.3 KiB
Plaintext
Vendored

digraph safeCallAndEqualityToBool_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function check" style="filled" fillcolor=red];
2 [label="Const: Boolean(true)"];
3 [label="Jump: ^check Boolean(true)"];
4 [label="Stub" style="filled" fillcolor=gray];
1 [label="Exit function check" style="filled" fillcolor=red];
}
0 -> {2};
2 -> {3};
3 -> {1};
3 -> {4} [style=dotted];
4 -> {1} [style=dotted];
subgraph cluster_1 {
color=red
5 [label="Enter function test_1" style="filled" fillcolor=red];
subgraph cluster_2 {
color=blue
7 [label="Enter when"];
subgraph cluster_3 {
color=blue
9 [label="Enter when branch condition "];
10 [label="Access variable R|<local>/s|"];
11 [label="Enter safe call"];
13 [label="Function call: R|<local>/s|?.R|/check|()"];
12 [label="Exit safe call"];
14 [label="Const: Boolean(true)"];
15 [label="Operator =="];
16 [label="Exit when branch condition"];
}
subgraph cluster_4 {
color=blue
23 [label="Enter when branch condition else"];
24 [label="Exit when branch condition"];
}
25 [label="Enter when branch result"];
subgraph cluster_5 {
color=blue
26 [label="Enter block"];
27 [label="Access variable R|<local>/s|"];
28 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
29 [label="Exit block"];
}
30 [label="Exit when branch result"];
17 [label="Enter when branch result"];
subgraph cluster_6 {
color=blue
18 [label="Enter block"];
19 [label="Access variable R|<local>/s|"];
20 [label="Access variable R|kotlin/String.length|"];
21 [label="Exit block"];
}
22 [label="Exit when branch result"];
8 [label="Exit when"];
}
6 [label="Exit function test_1" style="filled" fillcolor=red];
}
5 -> {7};
7 -> {9};
8 -> {6};
9 -> {10};
10 -> {11 12};
11 -> {13};
12 -> {14};
13 -> {12};
14 -> {15};
15 -> {16};
16 -> {17 23};
17 -> {18};
18 -> {19};
19 -> {20};
20 -> {21};
21 -> {22};
22 -> {8};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {27};
27 -> {28};
28 -> {29};
29 -> {30};
30 -> {8};
subgraph cluster_7 {
color=red
31 [label="Enter function test_2" style="filled" fillcolor=red];
subgraph cluster_8 {
color=blue
33 [label="Enter when"];
subgraph cluster_9 {
color=blue
35 [label="Enter when branch condition "];
36 [label="Access variable R|<local>/s|"];
37 [label="Enter safe call"];
39 [label="Function call: R|<local>/s|?.R|/check|()"];
38 [label="Exit safe call"];
40 [label="Const: Boolean(false)"];
41 [label="Operator =="];
42 [label="Exit when branch condition"];
}
subgraph cluster_10 {
color=blue
49 [label="Enter when branch condition else"];
50 [label="Exit when branch condition"];
}
51 [label="Enter when branch result"];
subgraph cluster_11 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/s|"];
54 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
55 [label="Exit block"];
}
56 [label="Exit when branch result"];
43 [label="Enter when branch result"];
subgraph cluster_12 {
color=blue
44 [label="Enter block"];
45 [label="Access variable R|<local>/s|"];
46 [label="Access variable R|kotlin/String.length|"];
47 [label="Exit block"];
}
48 [label="Exit when branch result"];
34 [label="Exit when"];
}
32 [label="Exit function test_2" style="filled" fillcolor=red];
}
31 -> {33};
33 -> {35};
34 -> {32};
35 -> {36};
36 -> {37 38};
37 -> {39};
38 -> {40};
39 -> {38};
40 -> {41};
41 -> {42};
42 -> {43 49};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {47};
47 -> {48};
48 -> {34};
49 -> {50};
50 -> {51};
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {34};
subgraph cluster_13 {
color=red
57 [label="Enter function test_3" style="filled" fillcolor=red];
subgraph cluster_14 {
color=blue
59 [label="Enter when"];
subgraph cluster_15 {
color=blue
61 [label="Enter when branch condition "];
62 [label="Access variable R|<local>/s|"];
63 [label="Enter safe call"];
65 [label="Function call: R|<local>/s|?.R|/check|()"];
64 [label="Exit safe call"];
66 [label="Const: Boolean(true)"];
67 [label="Operator !="];
68 [label="Exit when branch condition"];
}
subgraph cluster_16 {
color=blue
75 [label="Enter when branch condition else"];
76 [label="Exit when branch condition"];
}
77 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
78 [label="Enter block"];
79 [label="Access variable R|<local>/s|"];
80 [label="Access variable R|kotlin/String.length|"];
81 [label="Exit block"];
}
82 [label="Exit when branch result"];
69 [label="Enter when branch result"];
subgraph cluster_18 {
color=blue
70 [label="Enter block"];
71 [label="Access variable R|<local>/s|"];
72 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
73 [label="Exit block"];
}
74 [label="Exit when branch result"];
60 [label="Exit when"];
}
58 [label="Exit function test_3" style="filled" fillcolor=red];
}
57 -> {59};
59 -> {61};
60 -> {58};
61 -> {62};
62 -> {63 64};
63 -> {65};
64 -> {66};
65 -> {64};
66 -> {67};
67 -> {68};
68 -> {69 75};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {60};
75 -> {76};
76 -> {77};
77 -> {78};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {60};
subgraph cluster_19 {
color=red
83 [label="Enter function test_4" style="filled" fillcolor=red];
subgraph cluster_20 {
color=blue
85 [label="Enter when"];
subgraph cluster_21 {
color=blue
87 [label="Enter when branch condition "];
88 [label="Access variable R|<local>/s|"];
89 [label="Enter safe call"];
91 [label="Function call: R|<local>/s|?.R|/check|()"];
90 [label="Exit safe call"];
92 [label="Const: Boolean(false)"];
93 [label="Operator !="];
94 [label="Exit when branch condition"];
}
subgraph cluster_22 {
color=blue
101 [label="Enter when branch condition else"];
102 [label="Exit when branch condition"];
}
103 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
104 [label="Enter block"];
105 [label="Access variable R|<local>/s|"];
106 [label="Access variable R|kotlin/String.length|"];
107 [label="Exit block"];
}
108 [label="Exit when branch result"];
95 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
96 [label="Enter block"];
97 [label="Access variable R|<local>/s|"];
98 [label="Access variable <Inapplicable(WRONG_RECEIVER): [kotlin/String.length]>#"];
99 [label="Exit block"];
}
100 [label="Exit when branch result"];
86 [label="Exit when"];
}
84 [label="Exit function test_4" style="filled" fillcolor=red];
}
83 -> {85};
85 -> {87};
86 -> {84};
87 -> {88};
88 -> {89 90};
89 -> {91};
90 -> {92};
91 -> {90};
92 -> {93};
93 -> {94};
94 -> {95 101};
95 -> {96};
96 -> {97};
97 -> {98};
98 -> {99};
99 -> {100};
100 -> {86};
101 -> {102};
102 -> {103};
103 -> {104};
104 -> {105};
105 -> {106};
106 -> {107};
107 -> {108};
108 -> {86};
}