digraph complex_kt { graph [nodesep=3] node [shape=box penwidth=2] edge [penwidth=2] subgraph cluster_0 { color=red 0 [label="Enter file complex.kt" style="filled" fillcolor=red]; 1 [label="Exit file complex.kt" style="filled" fillcolor=red]; } 0 -> {1} [color=green]; subgraph cluster_1 { color=red 2 [label="Enter class AutoCloseable" style="filled" fillcolor=red]; 3 [label="Exit class AutoCloseable" style="filled" fillcolor=red]; } 2 -> {3} [color=green]; subgraph cluster_2 { color=red 4 [label="Enter function close" style="filled" fillcolor=red]; 5 [label="Exit function close" style="filled" fillcolor=red]; } 4 -> {5}; subgraph cluster_3 { color=red 6 [label="Enter function closeFinally" style="filled" fillcolor=red]; subgraph cluster_4 { color=blue 7 [label="Enter block"]; subgraph cluster_5 { color=blue 8 [label="Enter when"]; subgraph cluster_6 { color=blue 9 [label="Enter when branch condition "]; 10 [label="Access variable this@R|/closeFinally|"]; 11 [label="Const: Null(null)"]; 12 [label="Equality operator =="]; 13 [label="Exit when branch condition"]; } subgraph cluster_7 { color=blue 14 [label="Enter when branch condition "]; 15 [label="Access variable R|/cause|"]; 16 [label="Const: Null(null)"]; 17 [label="Equality operator =="]; 18 [label="Exit when branch condition"]; } subgraph cluster_8 { color=blue 19 [label="Enter when branch condition else"]; 20 [label="Exit when branch condition"]; } 21 [label="Enter when branch result"]; subgraph cluster_9 { color=blue 22 [label="Enter block"]; subgraph cluster_10 { color=blue 23 [label="Try expression enter"]; subgraph cluster_11 { color=blue 24 [label="Try main block enter"]; subgraph cluster_12 { color=blue 25 [label="Enter block"]; subgraph cluster_13 { color=blue 26 [label="Function call arguments enter"]; 27 [label="Function call arguments exit"]; } 28 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()" style="filled" fillcolor=yellow]; 29 [label="Exit block"]; } 30 [label="Try main block exit"]; } subgraph cluster_14 { color=blue 31 [label="Catch enter"]; 32 [label="Variable declaration: closeException: R|kotlin/Throwable|"]; subgraph cluster_15 { color=blue 33 [label="Enter block"]; subgraph cluster_16 { color=blue 34 [label="Function call arguments enter"]; 35 [label="Access variable R|/cause|"]; 36 [label="Smart cast: R|/cause|"]; 37 [label="Access variable R|/closeException|"]; 38 [label="Function call arguments exit"]; } 39 [label="Function call: R|/cause|.R|kotlin/Throwable.addSuppressed|(...)" style="filled" fillcolor=yellow]; 40 [label="Exit block"]; } 41 [label="Catch exit"]; } 42 [label="Try expression exit"]; } 43 [label="Exit block"]; } 44 [label="Exit when branch result"]; 45 [label="Enter when branch result"]; subgraph cluster_17 { color=blue 46 [label="Enter block"]; subgraph cluster_18 { color=blue 47 [label="Function call arguments enter"]; 48 [label="Function call arguments exit"]; } 49 [label="Function call: this@R|/closeFinally|.R|/AutoCloseable.close|()" style="filled" fillcolor=yellow]; 50 [label="Exit block"]; } 51 [label="Exit when branch result"]; 52 [label="Enter when branch result"]; subgraph cluster_19 { color=blue 53 [label="Enter block"]; 54 [label="Exit block"]; } 55 [label="Exit when branch result"]; 56 [label="Exit when"]; } 57 [label="Jump: ^closeFinally when () { ==(this@R|/closeFinally|, Null(null)) -> { } ==(R|/cause|, Null(null)) -> { this@R|/closeFinally|.R|/AutoCloseable.close|() } else -> { try { this@R|/closeFinally|.R|/AutoCloseable.close|() } catch (closeException: R|kotlin/Throwable|) { R|/cause|.R|kotlin/Throwable.addSuppressed|(R|/closeException|) } } } "]; 58 [label="Stub" style="filled" fillcolor=gray]; 59 [label="Exit block" style="filled" fillcolor=gray]; } 60 [label="Exit function closeFinally" style="filled" fillcolor=red]; } 6 -> {7}; 7 -> {8}; 8 -> {9}; 9 -> {10}; 10 -> {11}; 11 -> {12}; 12 -> {13}; 13 -> {14 52}; 14 -> {15}; 15 -> {16}; 16 -> {17}; 17 -> {18}; 18 -> {19 45}; 19 -> {20}; 20 -> {21}; 21 -> {22}; 22 -> {23}; 23 -> {24 31}; 24 -> {25}; 25 -> {26}; 26 -> {27}; 27 -> {28}; 28 -> {29}; 29 -> {30}; 30 -> {31 42}; 31 -> {32}; 32 -> {33}; 33 -> {34}; 34 -> {35}; 35 -> {36}; 36 -> {37}; 37 -> {38}; 38 -> {39}; 39 -> {40}; 40 -> {41}; 41 -> {42}; 42 -> {43}; 43 -> {44}; 44 -> {56}; 45 -> {46}; 46 -> {47}; 47 -> {48}; 48 -> {49}; 49 -> {50}; 50 -> {51}; 51 -> {56}; 52 -> {53}; 53 -> {54}; 54 -> {55}; 55 -> {56}; 56 -> {57}; 57 -> {60}; 57 -> {58} [style=dotted]; 58 -> {59} [style=dotted]; 59 -> {60} [style=dotted]; subgraph cluster_20 { color=red 61 [label="Enter function firstIsInstanceOrNull" style="filled" fillcolor=red]; subgraph cluster_21 { color=blue 62 [label="Enter block"]; subgraph cluster_22 { color=blue 63 [label="Enter block"]; subgraph cluster_23 { color=blue 64 [label="Function call arguments enter"]; 65 [label="Access variable this@R|/firstIsInstanceOrNull|"]; 66 [label="Function call arguments exit"]; } 67 [label="Function call: this@R|/firstIsInstanceOrNull|.R|SubstitutionOverride|>|()" style="filled" fillcolor=yellow]; 68 [label="Variable declaration: lval : R|kotlin/collections/Iterator|"]; subgraph cluster_24 { color=blue 69 [label="Enter while loop"]; subgraph cluster_25 { color=blue 70 [label="Enter loop condition"]; subgraph cluster_26 { color=blue 71 [label="Function call arguments enter"]; 72 [label="Access variable R|/|"]; 73 [label="Function call arguments exit"]; } 74 [label="Function call: R|/|.R|SubstitutionOverride|()" style="filled" fillcolor=yellow]; 75 [label="Exit loop condition"]; } subgraph cluster_27 { color=blue 76 [label="Enter loop block"]; subgraph cluster_28 { color=blue 77 [label="Enter block"]; subgraph cluster_29 { color=blue 78 [label="Function call arguments enter"]; 79 [label="Access variable R|/|"]; 80 [label="Function call arguments exit"]; } 81 [label="Function call: R|/|.R|SubstitutionOverride|()" style="filled" fillcolor=yellow]; 82 [label="Variable declaration: lval element: R|kotlin/Any?|"]; subgraph cluster_30 { color=blue 83 [label="Enter block"]; subgraph cluster_31 { color=blue 84 [label="Enter when"]; subgraph cluster_32 { color=blue 85 [label="Enter when branch condition "]; 86 [label="Access variable R|/element|"]; 87 [label="Type operator: (R|/element| is R|T|)"]; 88 [label="Exit when branch condition"]; } 89 [label="Synthetic else branch"]; 90 [label="Enter when branch result"]; subgraph cluster_33 { color=blue 91 [label="Enter block"]; 92 [label="Access variable R|/element|"]; 93 [label="Smart cast: R|/element|"]; 94 [label="Jump: ^firstIsInstanceOrNull R|/element|"]; 95 [label="Stub" style="filled" fillcolor=gray]; 96 [label="Exit block" style="filled" fillcolor=gray]; } 97 [label="Exit when branch result" style="filled" fillcolor=gray]; 98 [label="Exit when"]; } 99 [label="Exit block"]; } 100 [label="Exit block"]; } 101 [label="Exit loop block"]; } 102 [label="Exit while loop"]; } 103 [label="Exit block"]; } 104 [label="Const: Null(null)"]; 105 [label="Jump: ^firstIsInstanceOrNull Null(null)"]; 106 [label="Stub" style="filled" fillcolor=gray]; 107 [label="Exit block" style="filled" fillcolor=gray]; } 108 [label="Exit function firstIsInstanceOrNull" style="filled" fillcolor=red]; } 61 -> {62}; 62 -> {63}; 63 -> {64}; 64 -> {65}; 65 -> {66}; 66 -> {67}; 67 -> {68}; 68 -> {69}; 69 -> {70}; 70 -> {71}; 71 -> {72}; 72 -> {73}; 73 -> {74}; 74 -> {75}; 75 -> {76 102}; 76 -> {77}; 77 -> {78}; 78 -> {79}; 79 -> {80}; 80 -> {81}; 81 -> {82}; 82 -> {83}; 83 -> {84}; 84 -> {85}; 85 -> {86}; 86 -> {87}; 87 -> {88}; 88 -> {89 90}; 89 -> {98}; 90 -> {91}; 91 -> {92}; 92 -> {93}; 93 -> {94}; 94 -> {108}; 94 -> {95} [style=dotted]; 95 -> {96} [style=dotted]; 96 -> {97} [style=dotted]; 97 -> {98} [style=dotted]; 98 -> {99}; 99 -> {100}; 100 -> {101}; 101 -> {70} [color=green style=dashed]; 102 -> {103}; 103 -> {104}; 104 -> {105}; 105 -> {108}; 105 -> {106} [style=dotted]; 106 -> {107} [style=dotted]; 107 -> {108} [style=dotted]; }