NCDConfigParser_parse.out 17 KB

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