FIR CFA: put primary constructor before other class members
This commit is contained in:
+47
-48
@@ -22,57 +22,57 @@ digraph initBlockAndInPlaceLambda_kt {
|
||||
4 [label="Enter class C" style="filled" fillcolor=red];
|
||||
subgraph cluster_3 {
|
||||
color=blue
|
||||
5 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
6 [label="Enter block"];
|
||||
7 [label="Access variable R|<local>/a|"];
|
||||
8 [label="Access variable R|/A.b|"];
|
||||
9 [label="Enter safe call"];
|
||||
10 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
11 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
12 [label="Enter block"];
|
||||
13 [label="Access variable R|<local>/a|"];
|
||||
14 [label="Access variable R|<local>/it|"];
|
||||
15 [label="Function call: R|/C.C|(...)" style="filled" fillcolor=yellow];
|
||||
16 [label="Exit block"];
|
||||
}
|
||||
17 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
18 [label="Postponed exit from lambda"];
|
||||
19 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)" style="filled" fillcolor=yellow];
|
||||
20 [label="Exit safe call"];
|
||||
21 [label="Variable declaration: lval c: R|C?|"];
|
||||
22 [label="Exit block"];
|
||||
}
|
||||
23 [label="Exit init block" style="filled" fillcolor=red];
|
||||
5 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
6 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
7 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
}
|
||||
24 [label="Exit class C" style="filled" fillcolor=red];
|
||||
}
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
25 [label="Enter function <init>" style="filled" fillcolor=red];
|
||||
26 [label="Delegated constructor call: super<R|kotlin/Any|>()" style="filled" fillcolor=yellow];
|
||||
27 [label="Exit function <init>" style="filled" fillcolor=red];
|
||||
subgraph cluster_4 {
|
||||
color=blue
|
||||
8 [label="Enter init block" style="filled" fillcolor=red];
|
||||
subgraph cluster_5 {
|
||||
color=blue
|
||||
9 [label="Enter block"];
|
||||
10 [label="Access variable R|<local>/a|"];
|
||||
11 [label="Access variable R|/A.b|"];
|
||||
12 [label="Enter safe call"];
|
||||
13 [label="Postponed enter to lambda"];
|
||||
subgraph cluster_6 {
|
||||
color=blue
|
||||
14 [label="Enter function anonymousFunction" style="filled" fillcolor=red];
|
||||
subgraph cluster_7 {
|
||||
color=blue
|
||||
15 [label="Enter block"];
|
||||
16 [label="Access variable R|<local>/a|"];
|
||||
17 [label="Access variable R|<local>/it|"];
|
||||
18 [label="Function call: R|/C.C|(...)" style="filled" fillcolor=yellow];
|
||||
19 [label="Exit block"];
|
||||
}
|
||||
20 [label="Exit function anonymousFunction" style="filled" fillcolor=red];
|
||||
}
|
||||
21 [label="Postponed exit from lambda"];
|
||||
22 [label="Function call: $subj$.R|kotlin/let|<R|B|, R|C|>(...)" style="filled" fillcolor=yellow];
|
||||
23 [label="Exit safe call"];
|
||||
24 [label="Variable declaration: lval c: R|C?|"];
|
||||
25 [label="Exit block"];
|
||||
}
|
||||
26 [label="Exit init block" style="filled" fillcolor=red];
|
||||
}
|
||||
27 [label="Exit class C" style="filled" fillcolor=red];
|
||||
}
|
||||
4 -> {5} [color=green];
|
||||
4 -> {24} [style=dotted];
|
||||
4 -> {5} [style=dashed];
|
||||
4 -> {27} [style=dotted];
|
||||
4 -> {5 8} [style=dashed];
|
||||
5 -> {6};
|
||||
6 -> {7};
|
||||
7 -> {8};
|
||||
8 -> {9 20};
|
||||
7 -> {8} [color=green];
|
||||
8 -> {9};
|
||||
9 -> {10};
|
||||
10 -> {11 19};
|
||||
10 -> {18} [style=dotted];
|
||||
10 -> {11} [style=dashed];
|
||||
11 -> {12};
|
||||
10 -> {11};
|
||||
11 -> {12 23};
|
||||
12 -> {13};
|
||||
13 -> {14};
|
||||
13 -> {14 22};
|
||||
13 -> {21} [style=dotted];
|
||||
13 -> {14} [style=dashed];
|
||||
14 -> {15};
|
||||
15 -> {16};
|
||||
16 -> {17};
|
||||
@@ -82,10 +82,9 @@ digraph initBlockAndInPlaceLambda_kt {
|
||||
20 -> {21};
|
||||
21 -> {22};
|
||||
22 -> {23};
|
||||
23 -> {24} [color=green];
|
||||
24 -> {25} [color=green];
|
||||
24 -> {25} [style=dashed];
|
||||
23 -> {24};
|
||||
24 -> {25};
|
||||
25 -> {26};
|
||||
26 -> {27};
|
||||
26 -> {27} [color=green];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user