NCDConfigParser_parse.out 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. State 0:
  2. input ::= * processes
  3. processes ::= * process_or_template NAME CURLY_OPEN statements CURLY_CLOSE
  4. processes ::= * process_or_template NAME CURLY_OPEN statements CURLY_CLOSE processes
  5. process_or_template ::= * PROCESS
  6. process_or_template ::= * TEMPLATE
  7. PROCESS shift 27
  8. TEMPLATE shift 28
  9. processes shift 14
  10. process_or_template shift 15
  11. input accept
  12. State 1:
  13. statements ::= statement_names ROUND_OPEN * statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  14. statements ::= statement_names ROUND_OPEN * statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  15. statement_names ::= * NAME
  16. statement_names ::= * NAME DOT statement_names
  17. (9) statement_args_maybe ::= *
  18. statement_args_maybe ::= * list_contents
  19. list_contents ::= * value
  20. list_contents ::= * value COMMA list_contents
  21. list ::= * CURLY_OPEN CURLY_CLOSE
  22. list ::= * CURLY_OPEN list_contents CURLY_CLOSE
  23. value ::= * STRING
  24. value ::= * statement_names
  25. value ::= * list
  26. NAME shift 20
  27. CURLY_OPEN shift 3
  28. STRING shift 36
  29. statement_names shift 37
  30. statement_args_maybe shift 18
  31. list_contents shift 32
  32. list shift 38
  33. value shift 21
  34. {default} reduce 9
  35. State 2:
  36. statements ::= statement_names ARROW statement_names ROUND_OPEN * statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  37. statements ::= statement_names ARROW statement_names ROUND_OPEN * statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  38. statement_names ::= * NAME
  39. statement_names ::= * NAME DOT statement_names
  40. (9) statement_args_maybe ::= *
  41. statement_args_maybe ::= * list_contents
  42. list_contents ::= * value
  43. list_contents ::= * value COMMA list_contents
  44. list ::= * CURLY_OPEN CURLY_CLOSE
  45. list ::= * CURLY_OPEN list_contents CURLY_CLOSE
  46. value ::= * STRING
  47. value ::= * statement_names
  48. value ::= * list
  49. NAME shift 20
  50. CURLY_OPEN shift 3
  51. STRING shift 36
  52. statement_names shift 37
  53. statement_args_maybe shift 24
  54. list_contents shift 32
  55. list shift 38
  56. value shift 21
  57. {default} reduce 9
  58. State 3:
  59. statement_names ::= * NAME
  60. statement_names ::= * NAME DOT statement_names
  61. list_contents ::= * value
  62. list_contents ::= * value COMMA list_contents
  63. list ::= * CURLY_OPEN CURLY_CLOSE
  64. list ::= CURLY_OPEN * CURLY_CLOSE
  65. list ::= * CURLY_OPEN list_contents CURLY_CLOSE
  66. list ::= CURLY_OPEN * list_contents CURLY_CLOSE
  67. value ::= * STRING
  68. value ::= * statement_names
  69. value ::= * list
  70. NAME shift 20
  71. CURLY_OPEN shift 3
  72. CURLY_CLOSE shift 34
  73. STRING shift 36
  74. statement_names shift 37
  75. list_contents shift 22
  76. list shift 38
  77. value shift 21
  78. State 4:
  79. statement_names ::= * NAME
  80. statement_names ::= * NAME DOT statement_names
  81. list_contents ::= * value
  82. list_contents ::= * value COMMA list_contents
  83. list_contents ::= value COMMA * list_contents
  84. list ::= * CURLY_OPEN CURLY_CLOSE
  85. list ::= * CURLY_OPEN list_contents CURLY_CLOSE
  86. value ::= * STRING
  87. value ::= * statement_names
  88. value ::= * list
  89. NAME shift 20
  90. CURLY_OPEN shift 3
  91. STRING shift 36
  92. statement_names shift 37
  93. list_contents shift 33
  94. list shift 38
  95. value shift 21
  96. State 5:
  97. processes ::= * process_or_template NAME CURLY_OPEN statements CURLY_CLOSE
  98. (1) processes ::= process_or_template NAME CURLY_OPEN statements CURLY_CLOSE *
  99. processes ::= * process_or_template NAME CURLY_OPEN statements CURLY_CLOSE processes
  100. processes ::= process_or_template NAME CURLY_OPEN statements CURLY_CLOSE * processes
  101. process_or_template ::= * PROCESS
  102. process_or_template ::= * TEMPLATE
  103. PROCESS shift 27
  104. TEMPLATE shift 28
  105. processes shift 26
  106. process_or_template shift 15
  107. {default} reduce 1
  108. State 6:
  109. processes ::= process_or_template NAME CURLY_OPEN * statements CURLY_CLOSE
  110. processes ::= process_or_template NAME CURLY_OPEN * statements CURLY_CLOSE processes
  111. statements ::= * statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  112. statements ::= * statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  113. statements ::= * statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  114. statements ::= * statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  115. statement_names ::= * NAME
  116. statement_names ::= * NAME DOT statement_names
  117. NAME shift 20
  118. statements shift 17
  119. statement_names shift 13
  120. State 7:
  121. statements ::= * statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  122. (3) statements ::= statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON *
  123. statements ::= * statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  124. statements ::= statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON * statements
  125. statements ::= * statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  126. statements ::= * statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  127. statement_names ::= * NAME
  128. statement_names ::= * NAME DOT statement_names
  129. NAME shift 20
  130. statements shift 29
  131. statement_names shift 13
  132. {default} reduce 3
  133. State 8:
  134. statements ::= * statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  135. statements ::= * statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  136. statements ::= * statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  137. (5) statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON *
  138. statements ::= * statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  139. statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON * statements
  140. statement_names ::= * NAME
  141. statement_names ::= * NAME DOT statement_names
  142. NAME shift 20
  143. statements shift 39
  144. statement_names shift 13
  145. {default} reduce 5
  146. State 9:
  147. statements ::= statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE * name_maybe SEMICOLON
  148. statements ::= statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE * name_maybe SEMICOLON statements
  149. (18) name_maybe ::= *
  150. name_maybe ::= * NAME
  151. NAME shift 31
  152. name_maybe shift 19
  153. {default} reduce 18
  154. State 10:
  155. statement_names ::= * NAME
  156. statement_names ::= * NAME DOT statement_names
  157. statement_names ::= NAME DOT * statement_names
  158. NAME shift 20
  159. statement_names shift 30
  160. State 11:
  161. statements ::= statement_names ARROW * statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  162. statements ::= statement_names ARROW * statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  163. statement_names ::= * NAME
  164. statement_names ::= * NAME DOT statement_names
  165. NAME shift 20
  166. statement_names shift 23
  167. State 12:
  168. statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE * name_maybe SEMICOLON
  169. statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE * name_maybe SEMICOLON statements
  170. (18) name_maybe ::= *
  171. name_maybe ::= * NAME
  172. NAME shift 31
  173. name_maybe shift 25
  174. {default} reduce 18
  175. State 13:
  176. statements ::= statement_names * ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  177. statements ::= statement_names * ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  178. statements ::= statement_names * ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  179. statements ::= statement_names * ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  180. ROUND_OPEN shift 1
  181. ARROW shift 11
  182. State 14:
  183. (0) input ::= processes *
  184. $ reduce 0
  185. State 15:
  186. processes ::= process_or_template * NAME CURLY_OPEN statements CURLY_CLOSE
  187. processes ::= process_or_template * NAME CURLY_OPEN statements CURLY_CLOSE processes
  188. NAME shift 16
  189. State 16:
  190. processes ::= process_or_template NAME * CURLY_OPEN statements CURLY_CLOSE
  191. processes ::= process_or_template NAME * CURLY_OPEN statements CURLY_CLOSE processes
  192. CURLY_OPEN shift 6
  193. State 17:
  194. processes ::= process_or_template NAME CURLY_OPEN statements * CURLY_CLOSE
  195. processes ::= process_or_template NAME CURLY_OPEN statements * CURLY_CLOSE processes
  196. CURLY_CLOSE shift 5
  197. State 18:
  198. statements ::= statement_names ROUND_OPEN statement_args_maybe * ROUND_CLOSE name_maybe SEMICOLON
  199. statements ::= statement_names ROUND_OPEN statement_args_maybe * ROUND_CLOSE name_maybe SEMICOLON statements
  200. ROUND_CLOSE shift 9
  201. State 19:
  202. statements ::= statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe * SEMICOLON
  203. statements ::= statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe * SEMICOLON statements
  204. SEMICOLON shift 7
  205. State 20:
  206. (7) statement_names ::= NAME *
  207. statement_names ::= NAME * DOT statement_names
  208. DOT shift 10
  209. {default} reduce 7
  210. State 21:
  211. (11) list_contents ::= value *
  212. list_contents ::= value * COMMA list_contents
  213. COMMA shift 4
  214. {default} reduce 11
  215. State 22:
  216. list ::= CURLY_OPEN list_contents * CURLY_CLOSE
  217. CURLY_CLOSE shift 35
  218. State 23:
  219. statements ::= statement_names ARROW statement_names * ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON
  220. statements ::= statement_names ARROW statement_names * ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements
  221. ROUND_OPEN shift 2
  222. State 24:
  223. statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe * ROUND_CLOSE name_maybe SEMICOLON
  224. statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe * ROUND_CLOSE name_maybe SEMICOLON statements
  225. ROUND_CLOSE shift 12
  226. State 25:
  227. statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe * SEMICOLON
  228. statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe * SEMICOLON statements
  229. SEMICOLON shift 8
  230. State 26:
  231. (2) processes ::= process_or_template NAME CURLY_OPEN statements CURLY_CLOSE processes *
  232. {default} reduce 2
  233. State 27:
  234. (20) process_or_template ::= PROCESS *
  235. {default} reduce 20
  236. State 28:
  237. (21) process_or_template ::= TEMPLATE *
  238. {default} reduce 21
  239. State 29:
  240. (4) statements ::= statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements *
  241. {default} reduce 4
  242. State 30:
  243. (8) statement_names ::= NAME DOT statement_names *
  244. {default} reduce 8
  245. State 31:
  246. (19) name_maybe ::= NAME *
  247. {default} reduce 19
  248. State 32:
  249. (10) statement_args_maybe ::= list_contents *
  250. {default} reduce 10
  251. State 33:
  252. (12) list_contents ::= value COMMA list_contents *
  253. {default} reduce 12
  254. State 34:
  255. (13) list ::= CURLY_OPEN CURLY_CLOSE *
  256. {default} reduce 13
  257. State 35:
  258. (14) list ::= CURLY_OPEN list_contents CURLY_CLOSE *
  259. {default} reduce 14
  260. State 36:
  261. (15) value ::= STRING *
  262. {default} reduce 15
  263. State 37:
  264. (16) value ::= statement_names *
  265. {default} reduce 16
  266. State 38:
  267. (17) value ::= list *
  268. {default} reduce 17
  269. State 39:
  270. (6) statements ::= statement_names ARROW statement_names ROUND_OPEN statement_args_maybe ROUND_CLOSE name_maybe SEMICOLON statements *
  271. {default} reduce 6
  272. ----------------------------------------------------
  273. Symbols:
  274. 0: $:
  275. 1: NAME
  276. 2: CURLY_OPEN
  277. 3: CURLY_CLOSE
  278. 4: ROUND_OPEN
  279. 5: ROUND_CLOSE
  280. 6: SEMICOLON
  281. 7: ARROW
  282. 8: DOT
  283. 9: COMMA
  284. 10: STRING
  285. 11: PROCESS
  286. 12: TEMPLATE
  287. 13: error:
  288. 14: processes: PROCESS TEMPLATE
  289. 15: statements: NAME
  290. 16: statement_names: NAME
  291. 17: statement_args_maybe: <lambda> NAME CURLY_OPEN STRING
  292. 18: list_contents: NAME CURLY_OPEN STRING
  293. 19: list: CURLY_OPEN
  294. 20: value: NAME CURLY_OPEN STRING
  295. 21: name_maybe: <lambda> NAME
  296. 22: process_or_template: PROCESS TEMPLATE
  297. 23: input: PROCESS TEMPLATE