Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/smartcasts/lambdas/lambdaInWhenBranch.dot
T

266 lines
8.9 KiB
Plaintext
Vendored

digraph lambdaInWhenBranch_kt {
graph [nodesep=3]
node [shape=box penwidth=2]
edge [penwidth=2]
subgraph cluster_0 {
color=red
0 [label="Enter class Sealed" style="filled" fillcolor=red];
1 [label="Exit class Sealed" style="filled" fillcolor=red];
}
subgraph cluster_1 {
color=blue
2 [label="Enter function <init>" style="filled" fillcolor=red];
3 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
4 [label="Exit function <init>" style="filled" fillcolor=red];
}
0 -> {1} [color=green];
1 -> {2} [color=green];
1 -> {2} [style=dashed];
2 -> {3};
3 -> {4};
subgraph cluster_2 {
color=red
5 [label="Enter class SubClass1" style="filled" fillcolor=red];
6 [label="Part of class initialization"];
subgraph cluster_3 {
color=blue
7 [label="Enter property" style="filled" fillcolor=red];
8 [label="Access variable R|<local>/t|"];
9 [label="Exit property" style="filled" fillcolor=red];
}
10 [label="Exit class SubClass1" style="filled" fillcolor=red];
}
subgraph cluster_4 {
color=blue
11 [label="Enter function copy" style="filled" fillcolor=red];
12 [label="Enter default value of t"];
subgraph cluster_5 {
color=blue
13 [label="Enter default value of t" style="filled" fillcolor=red];
14 [label="Access variable R|/SubClass1.t|"];
15 [label="Exit default value of t" style="filled" fillcolor=red];
}
16 [label="Exit default value of t"];
17 [label="Exit function copy" style="filled" fillcolor=red];
}
subgraph cluster_6 {
color=blue
18 [label="Enter function component1" style="filled" fillcolor=red];
19 [label="Exit function component1" style="filled" fillcolor=red];
}
subgraph cluster_7 {
color=blue
20 [label="Enter function <init>" style="filled" fillcolor=red];
21 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
22 [label="Exit function <init>" style="filled" fillcolor=red];
}
5 -> {6} [color=green];
6 -> {7} [color=green];
6 -> {10} [style=dotted];
6 -> {7} [style=dashed];
7 -> {8};
8 -> {9};
9 -> {10} [color=green];
10 -> {11 18 20} [color=green];
10 -> {11 18 20} [style=dashed];
11 -> {12};
12 -> {13 16};
12 -> {13} [style=dashed];
13 -> {14};
14 -> {15};
15 -> {16};
16 -> {17};
18 -> {19};
20 -> {21};
21 -> {22};
subgraph cluster_8 {
color=red
23 [label="Enter class SubClass2" style="filled" fillcolor=red];
24 [label="Exit class SubClass2" style="filled" fillcolor=red];
}
subgraph cluster_9 {
color=blue
25 [label="Enter function copy" style="filled" fillcolor=red];
26 [label="Exit function copy" style="filled" fillcolor=red];
}
subgraph cluster_10 {
color=blue
27 [label="Enter function <init>" style="filled" fillcolor=red];
28 [label="Delegated constructor call: super<R|Sealed|>()" style="filled" fillcolor=yellow];
29 [label="Exit function <init>" style="filled" fillcolor=red];
}
23 -> {24} [color=green];
24 -> {25 27} [color=green];
24 -> {25 27} [style=dashed];
25 -> {26};
27 -> {28};
28 -> {29};
subgraph cluster_11 {
color=red
30 [label="Enter function foo" style="filled" fillcolor=red];
subgraph cluster_12 {
color=blue
31 [label="Enter block"];
subgraph cluster_13 {
color=blue
32 [label="Enter when"];
33 [label="Access variable R|<local>/p|"];
subgraph cluster_14 {
color=blue
34 [label="Enter when branch condition "];
35 [label="Exit $subj"];
36 [label="Type operator: ($subj$ is R|SubClass1|)"];
37 [label="Exit when branch condition"];
}
subgraph cluster_15 {
color=blue
38 [label="Enter when branch condition "];
39 [label="Exit $subj"];
40 [label="Type operator: ($subj$ is R|SubClass2|)"];
41 [label="Exit when branch condition"];
}
42 [label="Enter when branch result"];
subgraph cluster_16 {
color=blue
43 [label="Enter block"];
44 [label="Const: String()"];
45 [label="Exit block"];
}
46 [label="Exit when branch result"];
47 [label="Enter when branch result"];
subgraph cluster_17 {
color=blue
48 [label="Enter block"];
49 [label="Const: String()"];
50 [label="Postponed enter to lambda"];
subgraph cluster_18 {
color=blue
51 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
subgraph cluster_19 {
color=blue
52 [label="Enter block"];
53 [label="Access variable R|<local>/it|"];
54 [label="Exit block"];
}
55 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
}
56 [label="Postponed exit from lambda"];
57 [label="Function call: String().R|kotlin/let|<R|kotlin/String|, R|kotlin/String|>(...)" style="filled" fillcolor=yellow];
58 [label="Exit block"];
}
59 [label="Exit when branch result"];
60 [label="Exit when"];
}
61 [label="Access variable R|<local>/p|"];
62 [label="Access variable <Unresolved name: t>#"];
subgraph cluster_20 {
color=blue
63 [label="Enter when"];
64 [label="Access variable R|<local>/p|"];
subgraph cluster_21 {
color=blue
65 [label="Enter when branch condition "];
66 [label="Exit $subj"];
67 [label="Type operator: ($subj$ is R|SubClass1|)"];
68 [label="Exit when branch condition"];
}
subgraph cluster_22 {
color=blue
69 [label="Enter when branch condition "];
70 [label="Exit $subj"];
71 [label="Type operator: ($subj$ is R|SubClass2|)"];
72 [label="Exit when branch condition"];
}
73 [label="Enter when branch result"];
subgraph cluster_23 {
color=blue
74 [label="Enter block"];
75 [label="Const: String(2)"];
76 [label="Exit block"];
}
77 [label="Exit when branch result"];
78 [label="Enter when branch result"];
subgraph cluster_24 {
color=blue
79 [label="Enter block"];
80 [label="Access variable R|<local>/p|"];
81 [label="Smart cast: R|<local>/p|"];
82 [label="Access variable R|/SubClass1.t|"];
83 [label="Exit block"];
}
84 [label="Exit when branch result"];
85 [label="Exit when"];
}
86 [label="Access variable R|kotlin/String.length|"];
87 [label="Exit block"];
}
88 [label="Exit function foo" style="filled" fillcolor=red];
}
30 -> {31};
31 -> {32};
32 -> {33};
33 -> {34};
34 -> {35};
35 -> {36};
36 -> {37};
37 -> {38 47};
38 -> {39};
39 -> {40};
40 -> {41};
41 -> {42};
42 -> {43};
43 -> {44};
44 -> {45};
45 -> {46};
46 -> {60};
47 -> {48};
48 -> {49};
49 -> {50};
50 -> {51 57};
50 -> {56} [style=dotted];
50 -> {51} [style=dashed];
51 -> {52};
52 -> {53};
53 -> {54};
54 -> {55};
55 -> {56};
56 -> {57} [color=green];
56 -> {60} [color=red];
57 -> {58};
58 -> {59};
59 -> {60};
60 -> {61};
61 -> {62};
62 -> {63};
63 -> {64};
64 -> {65};
65 -> {66};
66 -> {67};
67 -> {68};
68 -> {69 78};
69 -> {70};
70 -> {71};
71 -> {72};
72 -> {73};
73 -> {74};
74 -> {75};
75 -> {76};
76 -> {77};
77 -> {85};
78 -> {79};
79 -> {80};
80 -> {81};
81 -> {82};
82 -> {83};
83 -> {84};
84 -> {85};
85 -> {86};
86 -> {87};
87 -> {88};
}