digraph implicitReceiverAsWhenSubject_kt { graph [nodesep=3] node [shape=box penwidth=2] edge [penwidth=2] subgraph cluster_0 { color=red 0 [label="Enter file implicitReceiverAsWhenSubject.kt" style="filled" fillcolor=red]; 1 [label="Exit file implicitReceiverAsWhenSubject.kt" style="filled" fillcolor=red]; } 0 -> {1} [color=green]; subgraph cluster_1 { color=red 2 [label="Enter function test_1" style="filled" fillcolor=red]; subgraph cluster_2 { color=blue 3 [label="Enter block"]; subgraph cluster_3 { color=blue 4 [label="Enter when"]; 5 [label="Access variable this@R|/test_1|"]; subgraph cluster_4 { color=blue 6 [label="Enter when branch condition "]; 7 [label="Exit $subj"]; 8 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"]; 9 [label="Exit when branch condition"]; } subgraph cluster_5 { color=blue 10 [label="Enter when branch condition "]; 11 [label="Exit $subj"]; 12 [label="Type operator: ($subj$ is R|kotlin/String|)"]; 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: Int(0)"]; 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="Access variable R|kotlin/String.length|"]; 24 [label="Exit block"]; } 25 [label="Exit when branch result"]; 26 [label="Enter when branch result"]; subgraph cluster_9 { color=blue 27 [label="Enter block"]; 28 [label="Access variable this@R|/test_1|"]; 29 [label="Smart cast: this@R|/test_1|"]; 30 [label="Access variable R|SubstitutionOverride|"]; 31 [label="Exit block"]; } 32 [label="Exit when branch result"]; 33 [label="Exit when"]; } 34 [label="Jump: ^test_1 when (this@R|/test_1|) { ($subj$ is R|kotlin/collections/List<*>|) -> { this@R|/test_1|.R|SubstitutionOverride| } ($subj$ is R|kotlin/String|) -> { this@R|/test_1|.R|kotlin/String.length| } else -> { Int(0) } } "]; 35 [label="Stub" style="filled" fillcolor=gray]; 36 [label="Exit block" style="filled" fillcolor=gray]; } 37 [label="Exit function test_1" style="filled" fillcolor=red]; } 2 -> {3}; 3 -> {4}; 4 -> {5}; 5 -> {6}; 6 -> {7}; 7 -> {8}; 8 -> {9}; 9 -> {10 26}; 10 -> {11}; 11 -> {12}; 12 -> {13}; 13 -> {14 21}; 14 -> {15}; 15 -> {16}; 16 -> {17}; 17 -> {18}; 18 -> {19}; 19 -> {20}; 20 -> {33}; 21 -> {22}; 22 -> {23}; 23 -> {24}; 24 -> {25}; 25 -> {33}; 26 -> {27}; 27 -> {28}; 28 -> {29}; 29 -> {30}; 30 -> {31}; 31 -> {32}; 32 -> {33}; 33 -> {34}; 34 -> {37}; 34 -> {35} [style=dotted]; 35 -> {36} [style=dotted]; 36 -> {37} [style=dotted]; subgraph cluster_10 { color=red 38 [label="Enter function test_2" style="filled" fillcolor=red]; subgraph cluster_11 { color=blue 39 [label="Enter block"]; subgraph cluster_12 { color=blue 40 [label="Enter when"]; 41 [label="Access variable this@R|/test_2|"]; 42 [label="Variable declaration: lval x: R|kotlin/Any|"]; subgraph cluster_13 { color=blue 43 [label="Enter when branch condition "]; 44 [label="Exit $subj"]; 45 [label="Type operator: ($subj$ is R|kotlin/collections/List<*>|)"]; 46 [label="Exit when branch condition"]; } subgraph cluster_14 { color=blue 47 [label="Enter when branch condition "]; 48 [label="Exit $subj"]; 49 [label="Type operator: ($subj$ is R|kotlin/String|)"]; 50 [label="Exit when branch condition"]; } subgraph cluster_15 { color=blue 51 [label="Enter when branch condition else"]; 52 [label="Exit when branch condition"]; } 53 [label="Enter when branch result"]; subgraph cluster_16 { color=blue 54 [label="Enter block"]; 55 [label="Const: Int(0)"]; 56 [label="Exit block"]; } 57 [label="Exit when branch result"]; 58 [label="Enter when branch result"]; subgraph cluster_17 { color=blue 59 [label="Enter block"]; 60 [label="Access variable R|/x|"]; 61 [label="Smart cast: R|/x|"]; 62 [label="Access variable R|kotlin/String.length|"]; 63 [label="Access variable R|kotlin/String.length|"]; 64 [label="Exit block"]; } 65 [label="Exit when branch result"]; 66 [label="Enter when branch result"]; subgraph cluster_18 { color=blue 67 [label="Enter block"]; 68 [label="Access variable R|/x|"]; 69 [label="Smart cast: R|/x|"]; 70 [label="Access variable R|SubstitutionOverride|"]; 71 [label="Access variable this@R|/test_2|"]; 72 [label="Smart cast: this@R|/test_2|"]; 73 [label="Access variable R|SubstitutionOverride|"]; 74 [label="Exit block"]; } 75 [label="Exit when branch result"]; 76 [label="Exit when"]; } 77 [label="Jump: ^test_2 when (lval x: R|kotlin/Any| = this@R|/test_2|) { ($subj$ is R|kotlin/collections/List<*>|) -> { R|/x|.R|SubstitutionOverride| this@R|/test_2|.R|SubstitutionOverride| } ($subj$ is R|kotlin/String|) -> { R|/x|.R|kotlin/String.length| this@R|/test_2|.R|kotlin/String.length| } else -> { Int(0) } } "]; 78 [label="Stub" style="filled" fillcolor=gray]; 79 [label="Exit block" style="filled" fillcolor=gray]; } 80 [label="Exit function test_2" style="filled" fillcolor=red]; } 38 -> {39}; 39 -> {40}; 40 -> {41}; 41 -> {42}; 42 -> {43}; 43 -> {44}; 44 -> {45}; 45 -> {46}; 46 -> {47 66}; 47 -> {48}; 48 -> {49}; 49 -> {50}; 50 -> {51 58}; 51 -> {52}; 52 -> {53}; 53 -> {54}; 54 -> {55}; 55 -> {56}; 56 -> {57}; 57 -> {76}; 58 -> {59}; 59 -> {60}; 60 -> {61}; 61 -> {62}; 62 -> {63}; 63 -> {64}; 64 -> {65}; 65 -> {76}; 66 -> {67}; 67 -> {68}; 68 -> {69}; 69 -> {70}; 70 -> {71}; 71 -> {72}; 72 -> {73}; 73 -> {74}; 74 -> {75}; 75 -> {76}; 76 -> {77}; 77 -> {80}; 77 -> {78} [style=dotted]; 78 -> {79} [style=dotted]; 79 -> {80} [style=dotted]; }