]>
Commit | Line | Data |
---|---|---|
6f036462 TL |
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 | */ |