mirror of
https://github.com/hanzoai/eslint.git
synced 2026-10-30 19:38:10 +00:00
* Update: support logical assignment in code path analysis (refs #13569) * Fix minor formatting issues
15 lines
519 B
JavaScript
15 lines
519 B
JavaScript
/*expected
|
|
initial->s1_1->final;
|
|
*/
|
|
a &= b;
|
|
|
|
/*DOT
|
|
digraph {
|
|
node[shape=box,style="rounded,filled",fillcolor=white];
|
|
initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
|
|
final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
|
|
s1_1[label="Program:enter\nExpressionStatement:enter\nAssignmentExpression:enter\nIdentifier (a)\nIdentifier (b)\nAssignmentExpression:exit\nExpressionStatement:exit\nProgram:exit"];
|
|
initial->s1_1->final;
|
|
}
|
|
*/
|