NCDValueParser_parse.out 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. State 0:
  2. input ::= * STRING
  3. input ::= * list
  4. list ::= * CURLY_OPEN CURLY_CLOSE
  5. list ::= * CURLY_OPEN list_contents CURLY_CLOSE
  6. STRING shift 3
  7. CURLY_OPEN shift 1
  8. list shift 4
  9. input accept
  10. State 1:
  11. list_contents ::= * value
  12. list_contents ::= * value COMMA list_contents
  13. list ::= * CURLY_OPEN CURLY_CLOSE
  14. list ::= CURLY_OPEN * CURLY_CLOSE
  15. list ::= * CURLY_OPEN list_contents CURLY_CLOSE
  16. list ::= CURLY_OPEN * list_contents CURLY_CLOSE
  17. value ::= * STRING
  18. value ::= * list
  19. STRING shift 8
  20. CURLY_OPEN shift 1
  21. CURLY_CLOSE shift 10
  22. list_contents shift 6
  23. list shift 9
  24. value shift 5
  25. State 2:
  26. list_contents ::= * value
  27. list_contents ::= * value COMMA list_contents
  28. list_contents ::= value COMMA * list_contents
  29. list ::= * CURLY_OPEN CURLY_CLOSE
  30. list ::= * CURLY_OPEN list_contents CURLY_CLOSE
  31. value ::= * STRING
  32. value ::= * list
  33. STRING shift 8
  34. CURLY_OPEN shift 1
  35. list_contents shift 7
  36. list shift 9
  37. value shift 5
  38. State 3:
  39. (0) input ::= STRING *
  40. $ reduce 0
  41. State 4:
  42. (1) input ::= list *
  43. $ reduce 1
  44. State 5:
  45. (2) list_contents ::= value *
  46. list_contents ::= value * COMMA list_contents
  47. COMMA shift 2
  48. {default} reduce 2
  49. State 6:
  50. list ::= CURLY_OPEN list_contents * CURLY_CLOSE
  51. CURLY_CLOSE shift 11
  52. State 7:
  53. (3) list_contents ::= value COMMA list_contents *
  54. {default} reduce 3
  55. State 8:
  56. (6) value ::= STRING *
  57. {default} reduce 6
  58. State 9:
  59. (7) value ::= list *
  60. {default} reduce 7
  61. State 10:
  62. (4) list ::= CURLY_OPEN CURLY_CLOSE *
  63. {default} reduce 4
  64. State 11:
  65. (5) list ::= CURLY_OPEN list_contents CURLY_CLOSE *
  66. {default} reduce 5
  67. ----------------------------------------------------
  68. Symbols:
  69. 0: $:
  70. 1: STRING
  71. 2: COMMA
  72. 3: CURLY_OPEN
  73. 4: CURLY_CLOSE
  74. 5: error:
  75. 6: list_contents: STRING CURLY_OPEN
  76. 7: list: CURLY_OPEN
  77. 8: value: STRING CURLY_OPEN
  78. 9: input: STRING CURLY_OPEN