digraph inplaceLambdaInControlFlowExpressions_kt { graph [nodesep=3] node [shape=box penwidth=2] edge [penwidth=2] subgraph cluster_0 { color=red 0 [label="Enter function materialize" style="filled" fillcolor=red]; subgraph cluster_1 { color=blue 1 [label="Enter block"]; 2 [label="Const: Null(null)"]; 3 [label="Check not null: Null(null)!!"]; 4 [label="Jump: ^materialize Null(null)!!"]; 5 [label="Stub" style="filled" fillcolor=gray]; 6 [label="Exit block" style="filled" fillcolor=gray]; } 7 [label="Exit function materialize" style="filled" fillcolor=red]; } 0 -> {1}; 1 -> {2}; 2 -> {3}; 3 -> {4}; 4 -> {7}; 4 -> {5} [style=dotted]; 5 -> {6} [style=dotted]; 6 -> {7} [style=dotted]; subgraph cluster_2 { color=red 8 [label="Enter function test_1" style="filled" fillcolor=red]; subgraph cluster_3 { color=blue 9 [label="Enter block"]; subgraph cluster_4 { color=blue 10 [label="Enter when"]; subgraph cluster_5 { color=blue 11 [label="Enter when branch condition "]; 12 [label="Const: Boolean(true)"]; 13 [label="Exit when branch condition"]; } subgraph cluster_6 { color=blue 14 [label="Enter when branch condition else"]; 15 [label="Exit when branch condition"]; } 16 [label="Enter when branch result"]; subgraph cluster_7 { color=blue 17 [label="Enter block"]; 18 [label="Const: String()"]; 19 [label="Exit block"]; } 20 [label="Exit when branch result"]; 21 [label="Enter when branch result"]; subgraph cluster_8 { color=blue 22 [label="Enter block"]; 23 [label="Postponed enter to lambda"]; subgraph cluster_9 { color=blue 33 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; subgraph cluster_10 { color=blue 34 [label="Enter block"]; 35 [label="Function call: R|/materialize|()"]; 36 [label="Exit block"]; } 37 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; } 24 [label="Postponed exit from lambda"]; 25 [label="Function call: R|kotlin/run|(...)"]; 26 [label="Exit block"]; } 27 [label="Exit when branch result"]; 28 [label="Exit when"]; } 29 [label="Call arguments union" style="filled" fillcolor=yellow]; 30 [label="Variable declaration: lval x: R|kotlin/String|"]; 31 [label="Exit block"]; } 32 [label="Exit function test_1" style="filled" fillcolor=red]; } 8 -> {9}; 9 -> {10}; 10 -> {11}; 11 -> {12}; 12 -> {13}; 13 -> {21 14}; 14 -> {15}; 15 -> {16}; 16 -> {17}; 17 -> {18}; 18 -> {19}; 19 -> {20}; 20 -> {28}; 21 -> {22}; 22 -> {23}; 23 -> {33}; 23 -> {24} [color=red]; 24 -> {25}; 25 -> {26}; 26 -> {27}; 27 -> {28}; 28 -> {29}; 29 -> {30}; 30 -> {31}; 31 -> {32}; 33 -> {34}; 34 -> {35}; 35 -> {36}; 36 -> {37}; 37 -> {29} [color=red]; 37 -> {24} [color=green]; subgraph cluster_11 { color=red 38 [label="Enter function test_2" style="filled" fillcolor=red]; subgraph cluster_12 { color=blue 39 [label="Enter block"]; subgraph cluster_13 { color=blue 40 [label="Try expression enter"]; subgraph cluster_14 { color=blue 41 [label="Try main block enter"]; subgraph cluster_15 { color=blue 42 [label="Enter block"]; 43 [label="Postponed enter to lambda"]; subgraph cluster_16 { color=blue 58 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; subgraph cluster_17 { color=blue 59 [label="Enter block"]; 60 [label="Function call: R|/materialize|()"]; 61 [label="Exit block"]; } 62 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; } 44 [label="Postponed exit from lambda"]; 45 [label="Function call: R|kotlin/run|(...)"]; 46 [label="Exit block"]; } 47 [label="Try main block exit"]; } subgraph cluster_18 { color=blue 48 [label="Catch enter"]; subgraph cluster_19 { color=blue 49 [label="Enter block"]; 50 [label="Const: String()"]; 51 [label="Exit block"]; } 52 [label="Catch exit"]; } 53 [label="Try expression exit"]; } 54 [label="Call arguments union" style="filled" fillcolor=yellow]; 55 [label="Variable declaration: lval x: R|kotlin/String|"]; 56 [label="Exit block"]; } 57 [label="Exit function test_2" style="filled" fillcolor=red]; } 38 -> {39}; 39 -> {40}; 40 -> {41}; 41 -> {57 48 42}; 42 -> {43}; 43 -> {58}; 43 -> {44} [color=red]; 44 -> {45}; 45 -> {46}; 46 -> {47}; 47 -> {53}; 48 -> {57 49}; 49 -> {50}; 50 -> {51}; 51 -> {52}; 52 -> {53}; 53 -> {54}; 54 -> {55}; 55 -> {56}; 56 -> {57}; 58 -> {59}; 59 -> {60}; 60 -> {61}; 61 -> {62}; 62 -> {54} [color=red]; 62 -> {44} [color=green]; subgraph cluster_20 { color=red 63 [label="Enter function test_3" style="filled" fillcolor=red]; subgraph cluster_21 { color=blue 64 [label="Enter block"]; 65 [label="Postponed enter to lambda"]; subgraph cluster_22 { color=blue 73 [label="Enter function anonymousFunction" style="filled" fillcolor=red]; subgraph cluster_23 { color=blue 74 [label="Enter block"]; 75 [label="Function call: R|/materialize|()"]; 76 [label="Exit block"]; } 77 [label="Exit function anonymousFunction" style="filled" fillcolor=red]; } 66 [label="Postponed exit from lambda"]; 67 [label="Function call: R|kotlin/run|(...)"]; 68 [label="Check not null: R|kotlin/run|(...)!!"]; 69 [label="Call arguments union" style="filled" fillcolor=yellow]; 70 [label="Variable declaration: lval x: R|kotlin/String|"]; 71 [label="Exit block"]; } 72 [label="Exit function test_3" style="filled" fillcolor=red]; } 63 -> {64}; 64 -> {65}; 65 -> {73}; 65 -> {66} [color=red]; 66 -> {67}; 67 -> {68}; 68 -> {69}; 69 -> {70}; 70 -> {71}; 71 -> {72}; 73 -> {74}; 74 -> {75}; 75 -> {76}; 76 -> {77}; 77 -> {69} [color=red]; 77 -> {66} [color=green]; }