]> git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/fixtures/code-path-analysis/assignment--nested-or-1.js
import 7.12.1 upstream release
[pve-eslint.git] / eslint / tests / fixtures / code-path-analysis / assignment--nested-or-1.js
1 /*expected
2 initial->s1_1->s1_2->s1_3->s1_4;
3 s1_1->s1_3;
4 s1_2->s1_4->final;
5 */
6 (a ||= b) && c;
7
8 /*DOT
9 digraph {
10 node[shape=box,style="rounded,filled",fillcolor=white];
11 initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
12 final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
13 s1_1[label="Program:enter\nExpressionStatement:enter\nLogicalExpression:enter\nAssignmentExpression:enter\nIdentifier (a)"];
14 s1_2[label="Identifier (b)\nAssignmentExpression:exit"];
15 s1_3[label="Identifier (c)"];
16 s1_4[label="LogicalExpression:exit\nExpressionStatement:exit\nProgram:exit"];
17 initial->s1_1->s1_2->s1_3->s1_4;
18 s1_1->s1_3;
19 s1_2->s1_4->final;
20 }
21 */