]> git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/fixtures/code-path-analysis/do-while--continue-always.js
first commit
[pve-eslint.git] / eslint / tests / fixtures / code-path-analysis / do-while--continue-always.js
1 /*expected
2 initial->s1_1->s1_2->s1_3->s1_4->s1_2->s1_4->s1_5->final;
3 */
4 do {
5 foo();
6 continue;
7 } while (a)
8
9 /*DOT
10 digraph {
11 node[shape=box,style="rounded,filled",fillcolor=white];
12 initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
13 final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
14 s1_1[label="Program\nDoWhileStatement"];
15 s1_2[label="BlockStatement\nExpressionStatement\nCallExpression\nIdentifier (foo)\nContinueStatement"];
16 s1_3[style="rounded,dashed,filled",fillcolor="#FF9800",label="<<unreachable>>\nBlockStatement:exit"];
17 s1_4[label="Identifier (a)"];
18 s1_5[label="DoWhileStatement:exit\nProgram:exit"];
19 initial->s1_1->s1_2->s1_3->s1_4->s1_2->s1_4->s1_5->final;
20 }
21 */