Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/contracts/fromLibrary/conditionalEffects.dot
T

340 lines
11 KiB
Plaintext
Vendored

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