]>
git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/fixtures/code-path-analysis/class-static-blocks--between-fields.js
2 initial->s2_1->s2_2->s2_3;
6 initial->s3_1->s3_2->s3_3->s3_4;
11 initial->s4_1->s4_2->s4_3->s4_4->s4_5;
19 class Foo
{ bar
= a
|| b
; static { x
|| y
|| z
} baz
= p
|| q
|| r
|| s
; }
23 node[shape=box,style="rounded,filled",fillcolor=white];
24 initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
25 final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
26 s2_1[label="LogicalExpression:enter\nIdentifier (a)"];
27 s2_2[label="Identifier (b)"];
28 s2_3[label="LogicalExpression:exit"];
29 initial->s2_1->s2_2->s2_3;
33 node[shape=box,style="rounded,filled",fillcolor=white];
34 initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
35 final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
36 s3_1[label="StaticBlock:enter\nExpressionStatement:enter\nLogicalExpression:enter\nLogicalExpression:enter\nIdentifier (x)"];
37 s3_2[label="Identifier (y)\nLogicalExpression:exit"];
38 s3_3[label="Identifier (z)"];
39 s3_4[label="LogicalExpression:exit\nExpressionStatement:exit\nStaticBlock:exit"];
40 initial->s3_1->s3_2->s3_3->s3_4;
45 node[shape=box,style="rounded,filled",fillcolor=white];
46 initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
47 final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
48 s4_1[label="LogicalExpression:enter\nLogicalExpression:enter\nLogicalExpression:enter\nIdentifier (p)"];
49 s4_2[label="Identifier (q)\nLogicalExpression:exit"];
50 s4_3[label="Identifier (r)\nLogicalExpression:exit"];
51 s4_4[label="Identifier (s)"];
52 s4_5[label="LogicalExpression:exit"];
53 initial->s4_1->s4_2->s4_3->s4_4->s4_5;
59 node[shape=box,style="rounded,filled",fillcolor=white];
60 initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25];
61 final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25];
62 s1_1[label="Program:enter\nClassDeclaration:enter\nIdentifier (Foo)\nClassBody:enter\nPropertyDefinition:enter\nIdentifier (bar)\nLogicalExpression\nPropertyDefinition:exit\nStaticBlock\nPropertyDefinition:enter\nIdentifier (baz)\nLogicalExpression\nPropertyDefinition:exit\nClassBody:exit\nClassDeclaration:exit\nProgram:exit"];