NCDConfigParser_parse.out 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. State 0:
  2. input ::= * interfaces
  3. interfaces ::= * INTERFACE NAME CURRLY_OPEN statements CURLY_CLOSE
  4. interfaces ::= * INTERFACE NAME CURRLY_OPEN statements CURLY_CLOSE interfaces
  5. INTERFACE shift 9
  6. interfaces shift 8
  7. input accept
  8. State 1:
  9. interfaces ::= INTERFACE NAME CURRLY_OPEN * statements CURLY_CLOSE
  10. interfaces ::= INTERFACE NAME CURRLY_OPEN * statements CURLY_CLOSE interfaces
  11. statements ::= * statement_names SEMICOLON
  12. statements ::= * statement_names statement_args SEMICOLON
  13. statements ::= * statement_names SEMICOLON statements
  14. statements ::= * statement_names statement_args SEMICOLON statements
  15. statement_names ::= * NAME
  16. statement_names ::= * NAME DOT statement_names
  17. NAME shift 12
  18. statements shift 11
  19. statement_names shift 4
  20. State 2:
  21. statements ::= * statement_names SEMICOLON
  22. (3) statements ::= statement_names SEMICOLON *
  23. statements ::= * statement_names statement_args SEMICOLON
  24. statements ::= * statement_names SEMICOLON statements
  25. statements ::= statement_names SEMICOLON * statements
  26. statements ::= * statement_names statement_args SEMICOLON statements
  27. statement_names ::= * NAME
  28. statement_names ::= * NAME DOT statement_names
  29. NAME shift 12
  30. statements shift 15
  31. statement_names shift 4
  32. {default} reduce 3
  33. State 3:
  34. statements ::= * statement_names SEMICOLON
  35. statements ::= * statement_names statement_args SEMICOLON
  36. (4) statements ::= statement_names statement_args SEMICOLON *
  37. statements ::= * statement_names SEMICOLON statements
  38. statements ::= * statement_names statement_args SEMICOLON statements
  39. statements ::= statement_names statement_args SEMICOLON * statements
  40. statement_names ::= * NAME
  41. statement_names ::= * NAME DOT statement_names
  42. NAME shift 12
  43. statements shift 17
  44. statement_names shift 4
  45. {default} reduce 4
  46. State 4:
  47. statements ::= statement_names * SEMICOLON
  48. statements ::= statement_names * statement_args SEMICOLON
  49. statements ::= statement_names * SEMICOLON statements
  50. statements ::= statement_names * statement_args SEMICOLON statements
  51. statement_args ::= * STRING
  52. statement_args ::= * STRING statement_args
  53. SEMICOLON shift 2
  54. STRING shift 7
  55. statement_args shift 13
  56. State 5:
  57. interfaces ::= * INTERFACE NAME CURRLY_OPEN statements CURLY_CLOSE
  58. (1) interfaces ::= INTERFACE NAME CURRLY_OPEN statements CURLY_CLOSE *
  59. interfaces ::= * INTERFACE NAME CURRLY_OPEN statements CURLY_CLOSE interfaces
  60. interfaces ::= INTERFACE NAME CURRLY_OPEN statements CURLY_CLOSE * interfaces
  61. INTERFACE shift 9
  62. interfaces shift 14
  63. {default} reduce 1
  64. State 6:
  65. statement_names ::= * NAME
  66. statement_names ::= * NAME DOT statement_names
  67. statement_names ::= NAME DOT * statement_names
  68. NAME shift 12
  69. statement_names shift 16
  70. State 7:
  71. statement_args ::= * STRING
  72. (9) statement_args ::= STRING *
  73. statement_args ::= * STRING statement_args
  74. statement_args ::= STRING * statement_args
  75. STRING shift 7
  76. statement_args shift 18
  77. {default} reduce 9
  78. State 8:
  79. (0) input ::= interfaces *
  80. $ reduce 0
  81. State 9:
  82. interfaces ::= INTERFACE * NAME CURRLY_OPEN statements CURLY_CLOSE
  83. interfaces ::= INTERFACE * NAME CURRLY_OPEN statements CURLY_CLOSE interfaces
  84. NAME shift 10
  85. State 10:
  86. interfaces ::= INTERFACE NAME * CURRLY_OPEN statements CURLY_CLOSE
  87. interfaces ::= INTERFACE NAME * CURRLY_OPEN statements CURLY_CLOSE interfaces
  88. CURRLY_OPEN shift 1
  89. State 11:
  90. interfaces ::= INTERFACE NAME CURRLY_OPEN statements * CURLY_CLOSE
  91. interfaces ::= INTERFACE NAME CURRLY_OPEN statements * CURLY_CLOSE interfaces
  92. CURLY_CLOSE shift 5
  93. State 12:
  94. (7) statement_names ::= NAME *
  95. statement_names ::= NAME * DOT statement_names
  96. DOT shift 6
  97. {default} reduce 7
  98. State 13:
  99. statements ::= statement_names statement_args * SEMICOLON
  100. statements ::= statement_names statement_args * SEMICOLON statements
  101. SEMICOLON shift 3
  102. State 14:
  103. (2) interfaces ::= INTERFACE NAME CURRLY_OPEN statements CURLY_CLOSE interfaces *
  104. {default} reduce 2
  105. State 15:
  106. (5) statements ::= statement_names SEMICOLON statements *
  107. {default} reduce 5
  108. State 16:
  109. (8) statement_names ::= NAME DOT statement_names *
  110. {default} reduce 8
  111. State 17:
  112. (6) statements ::= statement_names statement_args SEMICOLON statements *
  113. {default} reduce 6
  114. State 18:
  115. (10) statement_args ::= STRING statement_args *
  116. {default} reduce 10
  117. ----------------------------------------------------
  118. Symbols:
  119. 0: $:
  120. 1: INTERFACE
  121. 2: NAME
  122. 3: CURRLY_OPEN
  123. 4: CURLY_CLOSE
  124. 5: SEMICOLON
  125. 6: DOT
  126. 7: STRING
  127. 8: error:
  128. 9: interfaces: INTERFACE
  129. 10: statements: NAME
  130. 11: statement_names: NAME
  131. 12: statement_args: STRING
  132. 13: input: INTERFACE