]>
git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/fixtures/code-path-analysis/for--break-simple.js
2 initial->s1_1->s1_2->s1_3->s1_5->s1_6->s1_7->s1_4->s1_2->s1_8;
6 for (var i
= 0; i
< 10; ++i
) {
15 node[shape=box,style="rounded,filled",fillcolor=white];
16 initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
17 final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
18 s1_1[label="Program\nForStatement\nVariableDeclaration\nVariableDeclarator\nIdentifier (i)\nLiteral (0)"];
19 s1_2[label="BinaryExpression\nIdentifier (i)\nLiteral (10)"];
20 s1_3[label="BlockStatement\nIfStatement\nIdentifier (b)"];
21 s1_5[label="BlockStatement\nBreakStatement"];
22 s1_6[style="rounded,dashed,filled",fillcolor="#FF9800",label="<<unreachable>>\nBlockStatement:exit"];
23 s1_7[label="ExpressionStatement\nCallExpression\nIdentifier (foo)"];
24 s1_4[label="UpdateExpression\nIdentifier (i)"];
25 s1_8[label="ForStatement:exit\nProgram:exit"];
26 initial->s1_1->s1_2->s1_3->s1_5->s1_6->s1_7->s1_4->s1_2->s1_8;