bison-calc.dot 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. // Generated by GNU Bison 3.0.4.
  2. // Report bugs to <bug-bison@gnu.org>.
  3. // Home page: <http://www.gnu.org/software/bison/>.
  4. digraph "calc.y"
  5. {
  6. node [fontname = courier, shape = box, colorscheme = paired6]
  7. edge [fontname = courier]
  8. 0 [label="State 0\n\l 0 $accept: . input $end\l"]
  9. 0 -> 1 [style=dashed label="input"]
  10. 0 -> "0R1" [style=solid]
  11. "0R1" [label="R1", fillcolor=3, shape=diamond, style=filled]
  12. 1 [label="State 1\n\l 0 $accept: input . $end\l 2 input: input . line\l"]
  13. 1 -> 2 [style=solid label="$end"]
  14. 1 -> 3 [style=dotted]
  15. 1 -> 4 [style=solid label="'\\n'"]
  16. 1 -> 5 [style=dashed label="line"]
  17. 2 [label="State 2\n\l 0 $accept: input $end .\l"]
  18. 2 -> "2R0" [style=solid]
  19. "2R0" [label="Acc", fillcolor=1, shape=diamond, style=filled]
  20. 3 [label="State 3\n\l 4 line: error . '\\n'\l"]
  21. 3 -> 6 [style=solid label="'\\n'"]
  22. 4 [label="State 4\n\l 3 line: '\\n' .\l"]
  23. 4 -> "4R3" [style=solid]
  24. "4R3" [label="R3", fillcolor=3, shape=diamond, style=filled]
  25. 5 [label="State 5\n\l 2 input: input line .\l"]
  26. 5 -> "5R2" [style=solid]
  27. "5R2" [label="R2", fillcolor=3, shape=diamond, style=filled]
  28. 6 [label="State 6\n\l 4 line: error '\\n' .\l"]
  29. 6 -> "6R4" [style=solid]
  30. "6R4" [label="R4", fillcolor=3, shape=diamond, style=filled]
  31. }