Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/cfg/defaultArguments.dot
T

89 lines
2.8 KiB
Plaintext
Vendored

digraph defaultArguments_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_1 {
color=blue
1 [label="Enter block"];
2 [label="Const: Int(1)"];
3 [label="Jump: ^foo Int(1)"];
4 [label="Stub" style="filled" fillcolor=gray];
5 [label="Exit block" style="filled" fillcolor=gray];
}
6 [label="Exit function foo" style="filled" fillcolor=red];
}
0 -> {1};
1 -> {2};
2 -> {3};
3 -> {6};
3 -> {4} [style=dotted];
4 -> {5} [style=dotted];
5 -> {6} [style=dotted];
subgraph cluster_2 {
color=red
7 [label="Enter function test" style="filled" fillcolor=red];
subgraph cluster_3 {
color=blue
16 [label="Enter default value of z" style="filled" fillcolor=red];
17 [label="Postponed enter to lambda"];
subgraph cluster_4 {
color=blue
22 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_5 {
color=blue
23 [label="Enter block"];
24 [label="Function call: R|/foo|()"];
25 [label="Exit block"];
}
26 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
18 [label="Call arguments union" style="filled" fillcolor=yellow];
19 [label="Postponed exit from lambda"];
20 [label="Function call: R|kotlin/run|<R|kotlin/Int|>(...)"];
21 [label="Exit default value of z" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
12 [label="Enter default value of y" style="filled" fillcolor=red];
13 [label="Access variable R|<local>/x|"];
14 [label="Type operator: (R|<local>/x| as R|kotlin/String|)"];
15 [label="Exit default value of y" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
8 [label="Enter block"];
9 [label="Function call: R|/foo|()"];
10 [label="Exit block"];
}
11 [label="Exit function test" style="filled" fillcolor=red];
}
7 -> {12 16 8};
8 -> {9};
9 -> {10};
10 -> {11};
12 -> {13};
12 -> {12} [style=dashed];
13 -> {14};
14 -> {15};
16 -> {17};
16 -> {16} [style=dashed];
17 -> {22};
17 -> {19} [color=red];
17 -> {22} [style=dashed];
18 -> {20} [color=red];
19 -> {20} [color=green];
20 -> {21};
22 -> {23};
23 -> {24};
24 -> {25};
25 -> {26};
26 -> {18} [color=red];
26 -> {19} [color=green];
}