/cobol85preprocessor/cobol85preprocessor_parser.go

https://github.com/bramp/antlr4-grammars · Go · 10058 lines · 8059 code · 1905 blank · 94 comment · 1258 complexity · 52079d9ded9bfdf882b88a295e4329f9 MD5 · raw file

  1. // Code generated from Cobol85Preprocessor.g4 by ANTLR 4.7.2. DO NOT EDIT.
  2. package cobol85preprocessor // Cobol85Preprocessor
  3. import (
  4. "fmt"
  5. "reflect"
  6. "strconv"
  7. "github.com/antlr/antlr4/runtime/Go/antlr"
  8. )
  9. // Suppress unused import errors
  10. var _ = fmt.Printf
  11. var _ = reflect.Copy
  12. var _ = strconv.Itoa
  13. var parserATN = []uint16{
  14. 3, 24715, 42794, 33075, 47597, 16764, 15335, 30598, 22884, 3, 294, 680,
  15. 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7,
  16. 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13,
  17. 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9,
  18. 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23,
  19. 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4,
  20. 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3,
  21. 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 7, 2, 75, 10, 2, 12, 2, 14, 2, 78,
  22. 11, 2, 3, 2, 3, 2, 3, 3, 3, 3, 5, 3, 84, 10, 3, 3, 3, 3, 3, 6, 3, 88, 10,
  23. 3, 13, 3, 14, 3, 89, 3, 4, 3, 4, 3, 4, 3, 4, 5, 4, 96, 10, 4, 3, 4, 7,
  24. 4, 99, 10, 4, 12, 4, 14, 4, 102, 11, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3,
  25. 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3,
  26. 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 126, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3,
  27. 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3,
  28. 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 151, 10, 5, 3, 5, 5, 5, 154,
  29. 10, 5, 3, 5, 5, 5, 157, 10, 5, 3, 5, 5, 5, 160, 10, 5, 3, 5, 3, 5, 3, 5,
  30. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  31. 3, 5, 3, 5, 3, 5, 5, 5, 180, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  32. 5, 5, 188, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  33. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  34. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 220, 10, 5,
  35. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 228, 10, 5, 3, 5, 3, 5, 3, 5,
  36. 3, 5, 5, 5, 234, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  37. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 251, 10, 5, 3, 5, 3, 5,
  38. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  39. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  40. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  41. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  42. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  43. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 324, 10, 5,
  44. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  45. 3, 5, 5, 5, 339, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  46. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  47. 5, 5, 361, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5,
  48. 371, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 377, 10, 5, 3, 5, 3, 5, 3, 5,
  49. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5,
  50. 393, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 402, 10, 5,
  51. 3, 5, 5, 5, 405, 10, 5, 3, 5, 5, 5, 408, 10, 5, 3, 5, 5, 5, 411, 10, 5,
  52. 3, 5, 5, 5, 414, 10, 5, 3, 5, 5, 5, 417, 10, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  53. 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5,
  54. 3, 5, 3, 5, 5, 5, 437, 10, 5, 3, 5, 5, 5, 440, 10, 5, 3, 5, 3, 5, 3, 5,
  55. 3, 5, 3, 5, 3, 5, 5, 5, 448, 10, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6,
  56. 455, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 462, 10, 7, 3, 8, 3, 8,
  57. 3, 8, 3, 8, 3, 8, 5, 8, 469, 10, 8, 3, 9, 3, 9, 3, 9, 7, 9, 474, 10, 9,
  58. 12, 9, 14, 9, 477, 11, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 483, 10, 9, 7,
  59. 9, 485, 10, 9, 12, 9, 14, 9, 488, 11, 9, 3, 9, 7, 9, 491, 10, 9, 12, 9,
  60. 14, 9, 494, 11, 9, 3, 9, 3, 9, 3, 10, 3, 10, 3, 10, 5, 10, 501, 10, 10,
  61. 3, 10, 3, 10, 5, 10, 505, 10, 10, 3, 11, 3, 11, 5, 11, 509, 10, 11, 3,
  62. 12, 3, 12, 7, 12, 513, 10, 12, 12, 12, 14, 12, 516, 11, 12, 3, 12, 3, 12,
  63. 6, 12, 520, 10, 12, 13, 12, 14, 12, 521, 3, 12, 7, 12, 525, 10, 12, 12,
  64. 12, 14, 12, 528, 11, 12, 3, 13, 3, 13, 3, 13, 7, 13, 533, 10, 13, 12, 13,
  65. 14, 13, 536, 11, 13, 3, 13, 5, 13, 539, 10, 13, 3, 14, 3, 14, 7, 14, 543,
  66. 10, 14, 12, 14, 14, 14, 546, 11, 14, 3, 14, 6, 14, 549, 10, 14, 13, 14,
  67. 14, 14, 550, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 7,
  68. 16, 561, 10, 16, 12, 16, 14, 16, 564, 11, 16, 3, 16, 3, 16, 7, 16, 568,
  69. 10, 16, 12, 16, 14, 16, 571, 11, 16, 3, 16, 3, 16, 7, 16, 575, 10, 16,
  70. 12, 16, 14, 16, 578, 11, 16, 3, 16, 5, 16, 581, 10, 16, 3, 16, 7, 16, 584,
  71. 10, 16, 12, 16, 14, 16, 587, 11, 16, 3, 16, 5, 16, 590, 10, 16, 3, 17,
  72. 3, 17, 7, 17, 594, 10, 17, 12, 17, 14, 17, 597, 11, 17, 3, 17, 3, 17, 5,
  73. 17, 601, 10, 17, 3, 18, 3, 18, 7, 18, 605, 10, 18, 12, 18, 14, 18, 608,
  74. 11, 18, 3, 18, 3, 18, 5, 18, 612, 10, 18, 3, 19, 3, 19, 3, 19, 3, 19, 5,
  75. 19, 618, 10, 19, 3, 20, 3, 20, 3, 20, 3, 20, 5, 20, 624, 10, 20, 3, 21,
  76. 3, 21, 5, 21, 628, 10, 21, 3, 22, 3, 22, 5, 22, 632, 10, 22, 3, 23, 3,
  77. 23, 3, 23, 5, 23, 637, 10, 23, 3, 24, 3, 24, 5, 24, 641, 10, 24, 3, 24,
  78. 3, 24, 3, 25, 3, 25, 6, 25, 647, 10, 25, 13, 25, 14, 25, 648, 3, 26, 3,
  79. 26, 3, 26, 3, 26, 6, 26, 655, 10, 26, 13, 26, 14, 26, 656, 3, 27, 3, 27,
  80. 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 6, 27, 666, 10, 27, 13, 27, 14, 27,
  81. 667, 3, 28, 3, 28, 5, 28, 672, 10, 28, 3, 29, 3, 29, 3, 30, 3, 30, 3, 31,
  82. 3, 31, 3, 31, 2, 2, 32, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26,
  83. 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 2,
  84. 85, 4, 2, 18, 18, 218, 218, 3, 2, 9, 10, 6, 2, 25, 25, 61, 61, 270, 270,
  85. 272, 272, 3, 2, 15, 16, 4, 2, 24, 24, 28, 28, 4, 2, 26, 26, 270, 270, 3,
  86. 2, 32, 33, 4, 2, 35, 35, 43, 43, 4, 2, 64, 64, 141, 141, 4, 2, 186, 186,
  87. 255, 255, 4, 2, 39, 39, 271, 271, 4, 2, 40, 40, 44, 44, 3, 2, 45, 46, 3,
  88. 2, 47, 48, 3, 2, 59, 60, 4, 2, 62, 62, 66, 66, 4, 2, 64, 64, 273, 273,
  89. 5, 2, 272, 272, 275, 275, 279, 281, 3, 2, 274, 276, 8, 2, 37, 37, 103,
  90. 103, 243, 243, 271, 271, 277, 277, 279, 279, 4, 2, 6, 6, 82, 82, 3, 2,
  91. 76, 77, 6, 2, 31, 31, 52, 53, 73, 75, 257, 257, 4, 2, 78, 78, 84, 84, 3,
  92. 2, 95, 96, 6, 2, 26, 26, 110, 110, 114, 114, 270, 270, 4, 2, 5, 5, 107,
  93. 107, 5, 2, 31, 31, 52, 52, 75, 75, 4, 2, 110, 110, 114, 114, 5, 2, 272,
  94. 272, 279, 279, 281, 281, 3, 2, 116, 117, 4, 2, 119, 119, 128, 128, 4, 2,
  95. 118, 118, 123, 123, 3, 2, 126, 127, 4, 2, 124, 124, 129, 129, 3, 2, 130,
  96. 131, 3, 2, 136, 137, 4, 2, 139, 139, 144, 144, 4, 2, 138, 138, 141, 141,
  97. 3, 2, 152, 153, 3, 2, 155, 156, 3, 2, 157, 158, 3, 2, 159, 160, 3, 2, 162,
  98. 163, 4, 2, 172, 172, 181, 181, 4, 2, 169, 169, 173, 173, 3, 2, 176, 177,
  99. 3, 2, 178, 179, 3, 2, 182, 183, 3, 2, 188, 189, 4, 2, 193, 193, 195, 195,
  100. 4, 2, 36, 36, 100, 101, 3, 2, 190, 191, 3, 2, 196, 197, 5, 2, 97, 97, 166,
  101. 166, 214, 214, 3, 2, 199, 200, 3, 2, 202, 203, 4, 2, 208, 208, 210, 210,
  102. 4, 2, 67, 67, 246, 246, 3, 2, 212, 213, 3, 2, 216, 217, 10, 2, 21, 21,
  103. 25, 25, 87, 89, 91, 91, 98, 98, 258, 258, 276, 276, 280, 280, 4, 2, 220,
  104. 220, 278, 278, 3, 2, 228, 229, 4, 2, 231, 231, 249, 249, 4, 2, 232, 232,
  105. 279, 279, 3, 2, 237, 238, 3, 2, 244, 245, 3, 2, 250, 251, 4, 2, 70, 70,
  106. 146, 146, 4, 2, 170, 171, 226, 227, 4, 2, 51, 51, 133, 133, 5, 2, 13, 13,
  107. 208, 208, 246, 246, 3, 2, 260, 261, 4, 2, 262, 262, 265, 265, 6, 2, 25,
  108. 25, 263, 263, 270, 270, 282, 282, 4, 2, 266, 266, 282, 282, 4, 2, 67, 67,
  109. 230, 230, 3, 2, 267, 268, 4, 2, 71, 71, 201, 201, 3, 2, 240, 242, 3, 2,
  110. 287, 288, 18, 2, 3, 19, 21, 26, 28, 53, 55, 56, 58, 62, 64, 78, 80, 89,
  111. 91, 187, 189, 221, 223, 224, 226, 238, 243, 246, 248, 260, 262, 264, 266,
  112. 282, 284, 284, 2, 893, 2, 76, 3, 2, 2, 2, 4, 81, 3, 2, 2, 2, 6, 91, 3,
  113. 2, 2, 2, 8, 447, 3, 2, 2, 2, 10, 449, 3, 2, 2, 2, 12, 456, 3, 2, 2, 2,
  114. 14, 463, 3, 2, 2, 2, 16, 470, 3, 2, 2, 2, 18, 500, 3, 2, 2, 2, 20, 508,
  115. 3, 2, 2, 2, 22, 510, 3, 2, 2, 2, 24, 529, 3, 2, 2, 2, 26, 540, 3, 2, 2,
  116. 2, 28, 554, 3, 2, 2, 2, 30, 558, 3, 2, 2, 2, 32, 591, 3, 2, 2, 2, 34, 602,
  117. 3, 2, 2, 2, 36, 617, 3, 2, 2, 2, 38, 623, 3, 2, 2, 2, 40, 625, 3, 2, 2,
  118. 2, 42, 629, 3, 2, 2, 2, 44, 633, 3, 2, 2, 2, 46, 638, 3, 2, 2, 2, 48, 646,
  119. 3, 2, 2, 2, 50, 654, 3, 2, 2, 2, 52, 665, 3, 2, 2, 2, 54, 671, 3, 2, 2,
  120. 2, 56, 673, 3, 2, 2, 2, 58, 675, 3, 2, 2, 2, 60, 677, 3, 2, 2, 2, 62, 75,
  121. 5, 4, 3, 2, 63, 75, 5, 16, 9, 2, 64, 75, 5, 10, 6, 2, 65, 75, 5, 12, 7,
  122. 2, 66, 75, 5, 14, 8, 2, 67, 75, 5, 28, 15, 2, 68, 75, 5, 24, 13, 2, 69,
  123. 75, 5, 40, 21, 2, 70, 75, 5, 42, 22, 2, 71, 75, 5, 44, 23, 2, 72, 75, 5,
  124. 52, 27, 2, 73, 75, 7, 291, 2, 2, 74, 62, 3, 2, 2, 2, 74, 63, 3, 2, 2, 2,
  125. 74, 64, 3, 2, 2, 2, 74, 65, 3, 2, 2, 2, 74, 66, 3, 2, 2, 2, 74, 67, 3,
  126. 2, 2, 2, 74, 68, 3, 2, 2, 2, 74, 69, 3, 2, 2, 2, 74, 70, 3, 2, 2, 2, 74,
  127. 71, 3, 2, 2, 2, 74, 72, 3, 2, 2, 2, 74, 73, 3, 2, 2, 2, 75, 78, 3, 2, 2,
  128. 2, 76, 74, 3, 2, 2, 2, 76, 77, 3, 2, 2, 2, 77, 79, 3, 2, 2, 2, 78, 76,
  129. 3, 2, 2, 2, 79, 80, 7, 2, 2, 3, 80, 3, 3, 2, 2, 2, 81, 87, 9, 2, 2, 2,
  130. 82, 84, 7, 284, 2, 2, 83, 82, 3, 2, 2, 2, 83, 84, 3, 2, 2, 2, 84, 85, 3,
  131. 2, 2, 2, 85, 88, 5, 8, 5, 2, 86, 88, 5, 6, 4, 2, 87, 83, 3, 2, 2, 2, 87,
  132. 86, 3, 2, 2, 2, 88, 89, 3, 2, 2, 2, 89, 87, 3, 2, 2, 2, 89, 90, 3, 2, 2,
  133. 2, 90, 5, 3, 2, 2, 2, 91, 92, 7, 264, 2, 2, 92, 93, 7, 90, 2, 2, 93, 100,
  134. 5, 8, 5, 2, 94, 96, 7, 284, 2, 2, 95, 94, 3, 2, 2, 2, 95, 96, 3, 2, 2,
  135. 2, 96, 97, 3, 2, 2, 2, 97, 99, 5, 8, 5, 2, 98, 95, 3, 2, 2, 2, 99, 102,
  136. 3, 2, 2, 2, 100, 98, 3, 2, 2, 2, 100, 101, 3, 2, 2, 2, 101, 103, 3, 2,
  137. 2, 2, 102, 100, 3, 2, 2, 2, 103, 104, 7, 225, 2, 2, 104, 7, 3, 2, 2, 2,
  138. 105, 448, 7, 3, 2, 2, 106, 448, 7, 4, 2, 2, 107, 448, 7, 8, 2, 2, 108,
  139. 109, 9, 3, 2, 2, 109, 110, 7, 90, 2, 2, 110, 111, 9, 4, 2, 2, 111, 448,
  140. 7, 225, 2, 2, 112, 448, 7, 12, 2, 2, 113, 448, 7, 14, 2, 2, 114, 115, 9,
  141. 5, 2, 2, 115, 116, 7, 90, 2, 2, 116, 117, 5, 56, 29, 2, 117, 118, 7, 225,
  142. 2, 2, 118, 448, 3, 2, 2, 2, 119, 448, 7, 19, 2, 2, 120, 125, 7, 20, 2,
  143. 2, 121, 122, 7, 90, 2, 2, 122, 123, 5, 56, 29, 2, 123, 124, 7, 225, 2,
  144. 2, 124, 126, 3, 2, 2, 2, 125, 121, 3, 2, 2, 2, 125, 126, 3, 2, 2, 2, 126,
  145. 448, 3, 2, 2, 2, 127, 448, 7, 22, 2, 2, 128, 448, 7, 23, 2, 2, 129, 130,
  146. 9, 6, 2, 2, 130, 131, 7, 90, 2, 2, 131, 132, 5, 56, 29, 2, 132, 133, 7,
  147. 225, 2, 2, 133, 448, 3, 2, 2, 2, 134, 448, 9, 7, 2, 2, 135, 448, 7, 29,
  148. 2, 2, 136, 448, 7, 30, 2, 2, 137, 138, 9, 8, 2, 2, 138, 139, 7, 90, 2,
  149. 2, 139, 140, 5, 56, 29, 2, 140, 141, 7, 225, 2, 2, 141, 448, 3, 2, 2, 2,
  150. 142, 143, 7, 34, 2, 2, 143, 144, 7, 90, 2, 2, 144, 145, 5, 56, 29, 2, 145,
  151. 146, 7, 225, 2, 2, 146, 448, 3, 2, 2, 2, 147, 159, 9, 9, 2, 2, 148, 150,
  152. 7, 90, 2, 2, 149, 151, 9, 10, 2, 2, 150, 149, 3, 2, 2, 2, 150, 151, 3,
  153. 2, 2, 2, 151, 153, 3, 2, 2, 2, 152, 154, 7, 284, 2, 2, 153, 152, 3, 2,
  154. 2, 2, 153, 154, 3, 2, 2, 2, 154, 156, 3, 2, 2, 2, 155, 157, 9, 11, 2, 2,
  155. 156, 155, 3, 2, 2, 2, 156, 157, 3, 2, 2, 2, 157, 158, 3, 2, 2, 2, 158,
  156. 160, 7, 225, 2, 2, 159, 148, 3, 2, 2, 2, 159, 160, 3, 2, 2, 2, 160, 448,
  157. 3, 2, 2, 2, 161, 448, 7, 36, 2, 2, 162, 448, 9, 12, 2, 2, 163, 448, 7,
  158. 38, 2, 2, 164, 448, 9, 13, 2, 2, 165, 448, 7, 42, 2, 2, 166, 448, 9, 14,
  159. 2, 2, 167, 448, 9, 15, 2, 2, 168, 448, 7, 49, 2, 2, 169, 448, 7, 55, 2,
  160. 2, 170, 448, 7, 58, 2, 2, 171, 448, 9, 16, 2, 2, 172, 448, 9, 17, 2, 2,
  161. 173, 448, 7, 63, 2, 2, 174, 175, 9, 18, 2, 2, 175, 176, 7, 90, 2, 2, 176,
  162. 179, 9, 19, 2, 2, 177, 178, 7, 284, 2, 2, 178, 180, 9, 19, 2, 2, 179, 177,
  163. 3, 2, 2, 2, 179, 180, 3, 2, 2, 2, 180, 181, 3, 2, 2, 2, 181, 448, 7, 225,
  164. 2, 2, 182, 183, 7, 65, 2, 2, 183, 184, 7, 90, 2, 2, 184, 187, 9, 20, 2,
  165. 2, 185, 186, 7, 284, 2, 2, 186, 188, 9, 21, 2, 2, 187, 185, 3, 2, 2, 2,
  166. 187, 188, 3, 2, 2, 2, 188, 189, 3, 2, 2, 2, 189, 448, 7, 225, 2, 2, 190,
  167. 448, 7, 68, 2, 2, 191, 448, 7, 69, 2, 2, 192, 193, 7, 72, 2, 2, 193, 194,
  168. 7, 90, 2, 2, 194, 195, 9, 22, 2, 2, 195, 448, 7, 225, 2, 2, 196, 197, 9,
  169. 23, 2, 2, 197, 198, 7, 90, 2, 2, 198, 199, 9, 24, 2, 2, 199, 448, 7, 225,
  170. 2, 2, 200, 448, 7, 79, 2, 2, 201, 448, 7, 80, 2, 2, 202, 448, 7, 81, 2,
  171. 2, 203, 448, 7, 83, 2, 2, 204, 205, 9, 25, 2, 2, 205, 206, 7, 90, 2, 2,
  172. 206, 207, 5, 56, 29, 2, 207, 208, 7, 225, 2, 2, 208, 448, 3, 2, 2, 2, 209,
  173. 448, 7, 85, 2, 2, 210, 448, 7, 86, 2, 2, 211, 448, 7, 92, 2, 2, 212, 213,
  174. 7, 93, 2, 2, 213, 214, 7, 90, 2, 2, 214, 215, 5, 56, 29, 2, 215, 216, 7,
  175. 284, 2, 2, 216, 219, 5, 56, 29, 2, 217, 218, 7, 284, 2, 2, 218, 220, 5,
  176. 56, 29, 2, 219, 217, 3, 2, 2, 2, 219, 220, 3, 2, 2, 2, 220, 221, 3, 2,
  177. 2, 2, 221, 222, 7, 225, 2, 2, 222, 448, 3, 2, 2, 2, 223, 227, 9, 26, 2,
  178. 2, 224, 225, 7, 90, 2, 2, 225, 226, 9, 27, 2, 2, 226, 228, 7, 225, 2, 2,
  179. 227, 224, 3, 2, 2, 2, 227, 228, 3, 2, 2, 2, 228, 448, 3, 2, 2, 2, 229,
  180. 233, 7, 99, 2, 2, 230, 231, 7, 90, 2, 2, 231, 232, 9, 28, 2, 2, 232, 234,
  181. 7, 225, 2, 2, 233, 230, 3, 2, 2, 2, 233, 234, 3, 2, 2, 2, 234, 448, 3,
  182. 2, 2, 2, 235, 236, 7, 102, 2, 2, 236, 237, 7, 90, 2, 2, 237, 238, 9, 29,
  183. 2, 2, 238, 448, 7, 225, 2, 2, 239, 448, 7, 105, 2, 2, 240, 448, 7, 106,
  184. 2, 2, 241, 448, 7, 108, 2, 2, 242, 448, 7, 109, 2, 2, 243, 448, 7, 111,
  185. 2, 2, 244, 448, 7, 112, 2, 2, 245, 448, 7, 113, 2, 2, 246, 250, 9, 30,
  186. 2, 2, 247, 248, 7, 90, 2, 2, 248, 249, 9, 31, 2, 2, 249, 251, 7, 225, 2,
  187. 2, 250, 247, 3, 2, 2, 2, 250, 251, 3, 2, 2, 2, 251, 448, 3, 2, 2, 2, 252,
  188. 448, 7, 115, 2, 2, 253, 448, 9, 32, 2, 2, 254, 448, 9, 33, 2, 2, 255, 448,
  189. 7, 120, 2, 2, 256, 448, 7, 122, 2, 2, 257, 448, 9, 34, 2, 2, 258, 448,
  190. 7, 125, 2, 2, 259, 448, 7, 121, 2, 2, 260, 448, 9, 35, 2, 2, 261, 448,
  191. 9, 36, 2, 2, 262, 448, 9, 37, 2, 2, 263, 448, 7, 132, 2, 2, 264, 448, 7,
  192. 134, 2, 2, 265, 448, 7, 135, 2, 2, 266, 448, 9, 38, 2, 2, 267, 448, 9,
  193. 39, 2, 2, 268, 448, 7, 140, 2, 2, 269, 448, 9, 40, 2, 2, 270, 448, 7, 142,
  194. 2, 2, 271, 448, 7, 143, 2, 2, 272, 448, 7, 145, 2, 2, 273, 448, 7, 147,
  195. 2, 2, 274, 448, 7, 148, 2, 2, 275, 448, 7, 149, 2, 2, 276, 448, 7, 150,
  196. 2, 2, 277, 448, 7, 151, 2, 2, 278, 448, 9, 41, 2, 2, 279, 448, 7, 154,
  197. 2, 2, 280, 448, 9, 42, 2, 2, 281, 448, 9, 43, 2, 2, 282, 448, 9, 44, 2,
  198. 2, 283, 448, 7, 161, 2, 2, 284, 448, 9, 45, 2, 2, 285, 448, 7, 164, 2,
  199. 2, 286, 448, 7, 165, 2, 2, 287, 448, 7, 167, 2, 2, 288, 448, 7, 168, 2,
  200. 2, 289, 448, 9, 46, 2, 2, 290, 448, 9, 47, 2, 2, 291, 448, 7, 174, 2, 2,
  201. 292, 448, 7, 175, 2, 2, 293, 448, 9, 48, 2, 2, 294, 448, 9, 49, 2, 2, 295,
  202. 448, 7, 180, 2, 2, 296, 448, 9, 50, 2, 2, 297, 448, 7, 184, 2, 2, 298,
  203. 448, 7, 185, 2, 2, 299, 448, 7, 187, 2, 2, 300, 448, 9, 51, 2, 2, 301,
  204. 448, 7, 194, 2, 2, 302, 303, 9, 52, 2, 2, 303, 304, 7, 90, 2, 2, 304, 305,
  205. 9, 53, 2, 2, 305, 448, 7, 225, 2, 2, 306, 448, 7, 187, 2, 2, 307, 448,
  206. 9, 54, 2, 2, 308, 448, 7, 192, 2, 2, 309, 448, 9, 55, 2, 2, 310, 311, 7,
  207. 198, 2, 2, 311, 312, 7, 90, 2, 2, 312, 313, 9, 56, 2, 2, 313, 448, 7, 225,
  208. 2, 2, 314, 448, 9, 57, 2, 2, 315, 448, 9, 58, 2, 2, 316, 317, 7, 206, 2,
  209. 2, 317, 318, 7, 90, 2, 2, 318, 319, 5, 56, 29, 2, 319, 320, 7, 284, 2,
  210. 2, 320, 323, 5, 56, 29, 2, 321, 322, 7, 284, 2, 2, 322, 324, 5, 56, 29,
  211. 2, 323, 321, 3, 2, 2, 2, 323, 324, 3, 2, 2, 2, 324, 325, 3, 2, 2, 2, 325,
  212. 326, 7, 225, 2, 2, 326, 448, 3, 2, 2, 2, 327, 328, 7, 207, 2, 2, 328, 329,
  213. 7, 90, 2, 2, 329, 330, 5, 56, 29, 2, 330, 331, 7, 284, 2, 2, 331, 332,
  214. 5, 56, 29, 2, 332, 333, 7, 225, 2, 2, 333, 448, 3, 2, 2, 2, 334, 338, 9,
  215. 59, 2, 2, 335, 336, 7, 90, 2, 2, 336, 337, 9, 60, 2, 2, 337, 339, 7, 225,
  216. 2, 2, 338, 335, 3, 2, 2, 2, 338, 339, 3, 2, 2, 2, 339, 448, 3, 2, 2, 2,
  217. 340, 448, 7, 209, 2, 2, 341, 448, 7, 211, 2, 2, 342, 448, 7, 205, 2, 2,
  218. 343, 344, 9, 61, 2, 2, 344, 345, 7, 90, 2, 2, 345, 346, 5, 54, 28, 2, 346,
  219. 347, 7, 225, 2, 2, 347, 448, 3, 2, 2, 2, 348, 349, 9, 62, 2, 2, 349, 350,
  220. 7, 90, 2, 2, 350, 351, 9, 63, 2, 2, 351, 448, 7, 225, 2, 2, 352, 448, 7,
  221. 219, 2, 2, 353, 448, 9, 64, 2, 2, 354, 448, 7, 221, 2, 2, 355, 356, 7,
  222. 224, 2, 2, 356, 360, 7, 90, 2, 2, 357, 361, 7, 7, 2, 2, 358, 361, 7, 11,
  223. 2, 2, 359, 361, 5, 56, 29, 2, 360, 357, 3, 2, 2, 2, 360, 358, 3, 2, 2,
  224. 2, 360, 359, 3, 2, 2, 2, 361, 362, 3, 2, 2, 2, 362, 448, 7, 225, 2, 2,
  225. 363, 370, 9, 65, 2, 2, 364, 365, 7, 90, 2, 2, 365, 366, 5, 56, 29, 2, 366,
  226. 367, 7, 284, 2, 2, 367, 368, 5, 56, 29, 2, 368, 369, 7, 225, 2, 2, 369,
  227. 371, 3, 2, 2, 2, 370, 364, 3, 2, 2, 2, 370, 371, 3, 2, 2, 2, 371, 448,
  228. 3, 2, 2, 2, 372, 373, 9, 66, 2, 2, 373, 376, 7, 90, 2, 2, 374, 377, 7,
  229. 94, 2, 2, 375, 377, 5, 56, 29, 2, 376, 374, 3, 2, 2, 2, 376, 375, 3, 2,
  230. 2, 2, 377, 378, 3, 2, 2, 2, 378, 448, 7, 225, 2, 2, 379, 448, 9, 67, 2,
  231. 2, 380, 448, 7, 233, 2, 2, 381, 382, 7, 234, 2, 2, 382, 383, 7, 90, 2,
  232. 2, 383, 384, 5, 56, 29, 2, 384, 385, 7, 225, 2, 2, 385, 448, 3, 2, 2, 2,
  233. 386, 448, 7, 235, 2, 2, 387, 392, 7, 236, 2, 2, 388, 389, 7, 90, 2, 2,
  234. 389, 390, 5, 56, 29, 2, 390, 391, 7, 225, 2, 2, 391, 393, 3, 2, 2, 2, 392,
  235. 388, 3, 2, 2, 2, 392, 393, 3, 2, 2, 2, 393, 448, 3, 2, 2, 2, 394, 448,
  236. 9, 68, 2, 2, 395, 448, 9, 69, 2, 2, 396, 448, 7, 248, 2, 2, 397, 448, 9,
  237. 70, 2, 2, 398, 416, 7, 252, 2, 2, 399, 401, 7, 90, 2, 2, 400, 402, 9, 71,
  238. 2, 2, 401, 400, 3, 2, 2, 2, 401, 402, 3, 2, 2, 2, 402, 404, 3, 2, 2, 2,
  239. 403, 405, 7, 284, 2, 2, 404, 403, 3, 2, 2, 2, 404, 405, 3, 2, 2, 2, 405,
  240. 407, 3, 2, 2, 2, 406, 408, 9, 72, 2, 2, 407, 406, 3, 2, 2, 2, 407, 408,
  241. 3, 2, 2, 2, 408, 410, 3, 2, 2, 2, 409, 411, 7, 284, 2, 2, 410, 409, 3,
  242. 2, 2, 2, 410, 411, 3, 2, 2, 2, 411, 413, 3, 2, 2, 2, 412, 414, 9, 73, 2,
  243. 2, 413, 412, 3, 2, 2, 2, 413, 414, 3, 2, 2, 2, 414, 415, 3, 2, 2, 2, 415,
  244. 417, 7, 225, 2, 2, 416, 399, 3, 2, 2, 2, 416, 417, 3, 2, 2, 2, 417, 448,
  245. 3, 2, 2, 2, 418, 448, 7, 253, 2, 2, 419, 420, 7, 256, 2, 2, 420, 421, 7,
  246. 90, 2, 2, 421, 422, 9, 74, 2, 2, 422, 448, 7, 225, 2, 2, 423, 448, 7, 259,
  247. 2, 2, 424, 425, 9, 75, 2, 2, 425, 426, 7, 90, 2, 2, 426, 427, 5, 54, 28,
  248. 2, 427, 428, 7, 225, 2, 2, 428, 448, 3, 2, 2, 2, 429, 430, 9, 76, 2, 2,
  249. 430, 431, 7, 90, 2, 2, 431, 432, 9, 77, 2, 2, 432, 448, 7, 225, 2, 2, 433,
  250. 439, 9, 78, 2, 2, 434, 436, 7, 90, 2, 2, 435, 437, 9, 79, 2, 2, 436, 435,
  251. 3, 2, 2, 2, 436, 437, 3, 2, 2, 2, 437, 438, 3, 2, 2, 2, 438, 440, 7, 225,
  252. 2, 2, 439, 434, 3, 2, 2, 2, 439, 440, 3, 2, 2, 2, 440, 448, 3, 2, 2, 2,
  253. 441, 442, 9, 80, 2, 2, 442, 443, 7, 90, 2, 2, 443, 444, 5, 56, 29, 2, 444,
  254. 445, 7, 225, 2, 2, 445, 448, 3, 2, 2, 2, 446, 448, 7, 269, 2, 2, 447, 105,
  255. 3, 2, 2, 2, 447, 106, 3, 2, 2, 2, 447, 107, 3, 2, 2, 2, 447, 108, 3, 2,
  256. 2, 2, 447, 112, 3, 2, 2, 2, 447, 113, 3, 2, 2, 2, 447, 114, 3, 2, 2, 2,
  257. 447, 119, 3, 2, 2, 2, 447, 120, 3, 2, 2, 2, 447, 127, 3, 2, 2, 2, 447,
  258. 128, 3, 2, 2, 2, 447, 129, 3, 2, 2, 2, 447, 134, 3, 2, 2, 2, 447, 135,
  259. 3, 2, 2, 2, 447, 136, 3, 2, 2, 2, 447, 137, 3, 2, 2, 2, 447, 142, 3, 2,
  260. 2, 2, 447, 147, 3, 2, 2, 2, 447, 161, 3, 2, 2, 2, 447, 162, 3, 2, 2, 2,
  261. 447, 163, 3, 2, 2, 2, 447, 164, 3, 2, 2, 2, 447, 165, 3, 2, 2, 2, 447,
  262. 166, 3, 2, 2, 2, 447, 167, 3, 2, 2, 2, 447, 168, 3, 2, 2, 2, 447, 169,
  263. 3, 2, 2, 2, 447, 170, 3, 2, 2, 2, 447, 171, 3, 2, 2, 2, 447, 172, 3, 2,
  264. 2, 2, 447, 173, 3, 2, 2, 2, 447, 174, 3, 2, 2, 2, 447, 182, 3, 2, 2, 2,
  265. 447, 190, 3, 2, 2, 2, 447, 191, 3, 2, 2, 2, 447, 192, 3, 2, 2, 2, 447,
  266. 196, 3, 2, 2, 2, 447, 200, 3, 2, 2, 2, 447, 201, 3, 2, 2, 2, 447, 202,
  267. 3, 2, 2, 2, 447, 203, 3, 2, 2, 2, 447, 204, 3, 2, 2, 2, 447, 209, 3, 2,
  268. 2, 2, 447, 210, 3, 2, 2, 2, 447, 211, 3, 2, 2, 2, 447, 212, 3, 2, 2, 2,
  269. 447, 223, 3, 2, 2, 2, 447, 229, 3, 2, 2, 2, 447, 235, 3, 2, 2, 2, 447,
  270. 239, 3, 2, 2, 2, 447, 240, 3, 2, 2, 2, 447, 241, 3, 2, 2, 2, 447, 242,
  271. 3, 2, 2, 2, 447, 243, 3, 2, 2, 2, 447, 244, 3, 2, 2, 2, 447, 245, 3, 2,
  272. 2, 2, 447, 246, 3, 2, 2, 2, 447, 252, 3, 2, 2, 2, 447, 253, 3, 2, 2, 2,
  273. 447, 254, 3, 2, 2, 2, 447, 255, 3, 2, 2, 2, 447, 256, 3, 2, 2, 2, 447,
  274. 257, 3, 2, 2, 2, 447, 258, 3, 2, 2, 2, 447, 259, 3, 2, 2, 2, 447, 260,
  275. 3, 2, 2, 2, 447, 261, 3, 2, 2, 2, 447, 262, 3, 2, 2, 2, 447, 263, 3, 2,
  276. 2, 2, 447, 264, 3, 2, 2, 2, 447, 265, 3, 2, 2, 2, 447, 266, 3, 2, 2, 2,
  277. 447, 267, 3, 2, 2, 2, 447, 268, 3, 2, 2, 2, 447, 269, 3, 2, 2, 2, 447,
  278. 270, 3, 2, 2, 2, 447, 271, 3, 2, 2, 2, 447, 272, 3, 2, 2, 2, 447, 273,
  279. 3, 2, 2, 2, 447, 274, 3, 2, 2, 2, 447, 275, 3, 2, 2, 2, 447, 276, 3, 2,
  280. 2, 2, 447, 277, 3, 2, 2, 2, 447, 278, 3, 2, 2, 2, 447, 279, 3, 2, 2, 2,
  281. 447, 280, 3, 2, 2, 2, 447, 281, 3, 2, 2, 2, 447, 282, 3, 2, 2, 2, 447,
  282. 283, 3, 2, 2, 2, 447, 284, 3, 2, 2, 2, 447, 285, 3, 2, 2, 2, 447, 286,
  283. 3, 2, 2, 2, 447, 287, 3, 2, 2, 2, 447, 288, 3, 2, 2, 2, 447, 289, 3, 2,
  284. 2, 2, 447, 290, 3, 2, 2, 2, 447, 291, 3, 2, 2, 2, 447, 292, 3, 2, 2, 2,
  285. 447, 293, 3, 2, 2, 2, 447, 294, 3, 2, 2, 2, 447, 295, 3, 2, 2, 2, 447,
  286. 296, 3, 2, 2, 2, 447, 297, 3, 2, 2, 2, 447, 298, 3, 2, 2, 2, 447, 299,
  287. 3, 2, 2, 2, 447, 300, 3, 2, 2, 2, 447, 301, 3, 2, 2, 2, 447, 302, 3, 2,
  288. 2, 2, 447, 306, 3, 2, 2, 2, 447, 307, 3, 2, 2, 2, 447, 308, 3, 2, 2, 2,
  289. 447, 309, 3, 2, 2, 2, 447, 310, 3, 2, 2, 2, 447, 314, 3, 2, 2, 2, 447,
  290. 315, 3, 2, 2, 2, 447, 316, 3, 2, 2, 2, 447, 327, 3, 2, 2, 2, 447, 334,
  291. 3, 2, 2, 2, 447, 340, 3, 2, 2, 2, 447, 341, 3, 2, 2, 2, 447, 342, 3, 2,
  292. 2, 2, 447, 343, 3, 2, 2, 2, 447, 348, 3, 2, 2, 2, 447, 352, 3, 2, 2, 2,
  293. 447, 353, 3, 2, 2, 2, 447, 354, 3, 2, 2, 2, 447, 355, 3, 2, 2, 2, 447,
  294. 363, 3, 2, 2, 2, 447, 372, 3, 2, 2, 2, 447, 379, 3, 2, 2, 2, 447, 380,
  295. 3, 2, 2, 2, 447, 381, 3, 2, 2, 2, 447, 386, 3, 2, 2, 2, 447, 387, 3, 2,
  296. 2, 2, 447, 394, 3, 2, 2, 2, 447, 395, 3, 2, 2, 2, 447, 396, 3, 2, 2, 2,
  297. 447, 397, 3, 2, 2, 2, 447, 398, 3, 2, 2, 2, 447, 418, 3, 2, 2, 2, 447,
  298. 419, 3, 2, 2, 2, 447, 423, 3, 2, 2, 2, 447, 424, 3, 2, 2, 2, 447, 429,
  299. 3, 2, 2, 2, 447, 433, 3, 2, 2, 2, 447, 441, 3, 2, 2, 2, 447, 446, 3, 2,
  300. 2, 2, 448, 9, 3, 2, 2, 2, 449, 450, 7, 57, 2, 2, 450, 451, 7, 20, 2, 2,
  301. 451, 452, 5, 48, 25, 2, 452, 454, 7, 54, 2, 2, 453, 455, 7, 285, 2, 2,
  302. 454, 453, 3, 2, 2, 2, 454, 455, 3, 2, 2, 2, 455, 11, 3, 2, 2, 2, 456, 457,
  303. 7, 57, 2, 2, 457, 458, 7, 236, 2, 2, 458, 459, 5, 50, 26, 2, 459, 461,
  304. 7, 54, 2, 2, 460, 462, 7, 285, 2, 2, 461, 460, 3, 2, 2, 2, 461, 462, 3,
  305. 2, 2, 2, 462, 13, 3, 2, 2, 2, 463, 464, 7, 57, 2, 2, 464, 465, 7, 239,
  306. 2, 2, 465, 466, 5, 48, 25, 2, 466, 468, 7, 54, 2, 2, 467, 469, 7, 285,
  307. 2, 2, 468, 467, 3, 2, 2, 2, 468, 469, 3, 2, 2, 2, 469, 15, 3, 2, 2, 2,
  308. 470, 471, 7, 27, 2, 2, 471, 486, 5, 18, 10, 2, 472, 474, 7, 291, 2, 2,
  309. 473, 472, 3, 2, 2, 2, 474, 477, 3, 2, 2, 2, 475, 473, 3, 2, 2, 2, 475,
  310. 476, 3, 2, 2, 2, 476, 482, 3, 2, 2, 2, 477, 475, 3, 2, 2, 2, 478, 483,
  311. 5, 32, 17, 2, 479, 483, 5, 34, 18, 2, 480, 483, 5, 22, 12, 2, 481, 483,
  312. 7, 247, 2, 2, 482, 478, 3, 2, 2, 2, 482, 479, 3, 2, 2, 2, 482, 480, 3,
  313. 2, 2, 2, 482, 481, 3, 2, 2, 2, 483, 485, 3, 2, 2, 2, 484, 475, 3, 2, 2,
  314. 2, 485, 488, 3, 2, 2, 2, 486, 484, 3, 2, 2, 2, 486, 487, 3, 2, 2, 2, 487,
  315. 492, 3, 2, 2, 2, 488, 486, 3, 2, 2, 2, 489, 491, 7, 291, 2, 2, 490, 489,
  316. 3, 2, 2, 2, 491, 494, 3, 2, 2, 2, 492, 490, 3, 2, 2, 2, 492, 493, 3, 2,
  317. 2, 2, 493, 495, 3, 2, 2, 2, 494, 492, 3, 2, 2, 2, 495, 496, 7, 285, 2,
  318. 2, 496, 17, 3, 2, 2, 2, 497, 501, 5, 56, 29, 2, 498, 501, 5, 54, 28, 2,
  319. 499, 501, 5, 58, 30, 2, 500, 497, 3, 2, 2, 2, 500, 498, 3, 2, 2, 2, 500,
  320. 499, 3, 2, 2, 2, 501, 504, 3, 2, 2, 2, 502, 503, 9, 81, 2, 2, 503, 505,
  321. 5, 20, 11, 2, 504, 502, 3, 2, 2, 2, 504, 505, 3, 2, 2, 2, 505, 19, 3, 2,
  322. 2, 2, 506, 509, 5, 56, 29, 2, 507, 509, 5, 54, 28, 2, 508, 506, 3, 2, 2,
  323. 2, 508, 507, 3, 2, 2, 2, 509, 21, 3, 2, 2, 2, 510, 514, 7, 223, 2, 2, 511,
  324. 513, 7, 291, 2, 2, 512, 511, 3, 2, 2, 2, 513, 516, 3, 2, 2, 2, 514, 512,
  325. 3, 2, 2, 2, 514, 515, 3, 2, 2, 2, 515, 517, 3, 2, 2, 2, 516, 514, 3, 2,
  326. 2, 2, 517, 526, 5, 30, 16, 2, 518, 520, 7, 291, 2, 2, 519, 518, 3, 2, 2,
  327. 2, 520, 521, 3, 2, 2, 2, 521, 519, 3, 2, 2, 2, 521, 522, 3, 2, 2, 2, 522,
  328. 523, 3, 2, 2, 2, 523, 525, 5, 30, 16, 2, 524, 519, 3, 2, 2, 2, 525, 528,
  329. 3, 2, 2, 2, 526, 524, 3, 2, 2, 2, 526, 527, 3, 2, 2, 2, 527, 23, 3, 2,
  330. 2, 2, 528, 526, 3, 2, 2, 2, 529, 534, 5, 26, 14, 2, 530, 533, 5, 16, 9,
  331. 2, 531, 533, 5, 48, 25, 2, 532, 530, 3, 2, 2, 2, 532, 531, 3, 2, 2, 2,
  332. 533, 536, 3, 2, 2, 2, 534, 532, 3, 2, 2, 2, 534, 535, 3, 2, 2, 2, 535,
  333. 538, 3, 2, 2, 2, 536, 534, 3, 2, 2, 2, 537, 539, 5, 28, 15, 2, 538, 537,
  334. 3, 2, 2, 2, 538, 539, 3, 2, 2, 2, 539, 25, 3, 2, 2, 2, 540, 548, 7, 222,
  335. 2, 2, 541, 543, 7, 291, 2, 2, 542, 541, 3, 2, 2, 2, 543, 546, 3, 2, 2,
  336. 2, 544, 542, 3, 2, 2, 2, 544, 545, 3, 2, 2, 2, 545, 547, 3, 2, 2, 2, 546,
  337. 544, 3, 2, 2, 2, 547, 549, 5, 30, 16, 2, 548, 544, 3, 2, 2, 2, 549, 550,
  338. 3, 2, 2, 2, 550, 548, 3, 2, 2, 2, 550, 551, 3, 2, 2, 2, 551, 552, 3, 2,
  339. 2, 2, 552, 553, 7, 285, 2, 2, 553, 27, 3, 2, 2, 2, 554, 555, 7, 222, 2,
  340. 2, 555, 556, 7, 202, 2, 2, 556, 557, 7, 285, 2, 2, 557, 29, 3, 2, 2, 2,
  341. 558, 562, 5, 36, 19, 2, 559, 561, 7, 291, 2, 2, 560, 559, 3, 2, 2, 2, 561,
  342. 564, 3, 2, 2, 2, 562, 560, 3, 2, 2, 2, 562, 563, 3, 2, 2, 2, 563, 565,
  343. 3, 2, 2, 2, 564, 562, 3, 2, 2, 2, 565, 569, 7, 17, 2, 2, 566, 568, 7, 291,
  344. 2, 2, 567, 566, 3, 2, 2, 2, 568, 571, 3, 2, 2, 2, 569, 567, 3, 2, 2, 2,
  345. 569, 570, 3, 2, 2, 2, 570, 572, 3, 2, 2, 2, 571, 569, 3, 2, 2, 2, 572,
  346. 580, 5, 38, 20, 2, 573, 575, 7, 291, 2, 2, 574, 573, 3, 2, 2, 2, 575, 578,
  347. 3, 2, 2, 2, 576, 574, 3, 2, 2, 2, 576, 577, 3, 2, 2, 2, 577, 579, 3, 2,
  348. 2, 2, 578, 576, 3, 2, 2, 2, 579, 581, 5, 32, 17, 2, 580, 576, 3, 2, 2,
  349. 2, 580, 581, 3, 2, 2, 2, 581, 589, 3, 2, 2, 2, 582, 584, 7, 291, 2, 2,
  350. 583, 582, 3, 2, 2, 2, 584, 587, 3, 2, 2, 2, 585, 583, 3, 2, 2, 2, 585,
  351. 586, 3, 2, 2, 2, 586, 588, 3, 2, 2, 2, 587, 585, 3, 2, 2, 2, 588, 590,
  352. 5, 34, 18, 2, 589, 585, 3, 2, 2, 2, 589, 590, 3, 2, 2, 2, 590, 31, 3, 2,
  353. 2, 2, 591, 595, 9, 81, 2, 2, 592, 594, 7, 291, 2, 2, 593, 592, 3, 2, 2,
  354. 2, 594, 597, 3, 2, 2, 2, 595, 593, 3, 2, 2, 2, 595, 596, 3, 2, 2, 2, 596,
  355. 600, 3, 2, 2, 2, 597, 595, 3, 2, 2, 2, 598, 601, 5, 56, 29, 2, 599, 601,
  356. 5, 54, 28, 2, 600, 598, 3, 2, 2, 2, 600, 599, 3, 2, 2, 2, 601, 33, 3, 2,
  357. 2, 2, 602, 606, 7, 204, 2, 2, 603, 605, 7, 291, 2, 2, 604, 603, 3, 2, 2,
  358. 2, 605, 608, 3, 2, 2, 2, 606, 604, 3, 2, 2, 2, 606, 607, 3, 2, 2, 2, 607,
  359. 611, 3, 2, 2, 2, 608, 606, 3, 2, 2, 2, 609, 612, 5, 56, 29, 2, 610, 612,
  360. 5, 54, 28, 2, 611, 609, 3, 2, 2, 2, 611, 610, 3, 2, 2, 2, 612, 35, 3, 2,
  361. 2, 2, 613, 618, 5, 56, 29, 2, 614, 618, 5, 54, 28, 2, 615, 618, 5, 46,
  362. 24, 2, 616, 618, 5, 52, 27, 2, 617, 613, 3, 2, 2, 2, 617, 614, 3, 2, 2,
  363. 2, 617, 615, 3, 2, 2, 2, 617, 616, 3, 2, 2, 2, 618, 37, 3, 2, 2, 2, 619,
  364. 624, 5, 56, 29, 2, 620, 624, 5, 54, 28, 2, 621, 624, 5, 46, 24, 2, 622,
  365. 624, 5, 52, 27, 2, 623, 619, 3, 2, 2, 2, 623, 620, 3, 2, 2, 2, 623, 621,
  366. 3, 2, 2, 2, 623, 622, 3, 2, 2, 2, 624, 39, 3, 2, 2, 2, 625, 627, 7, 50,
  367. 2, 2, 626, 628, 7, 285, 2, 2, 627, 626, 3, 2, 2, 2, 627, 628, 3, 2, 2,
  368. 2, 628, 41, 3, 2, 2, 2, 629, 631, 9, 82, 2, 2, 630, 632, 7, 285, 2, 2,
  369. 631, 630, 3, 2, 2, 2, 631, 632, 3, 2, 2, 2, 632, 43, 3, 2, 2, 2, 633, 634,
  370. 7, 254, 2, 2, 634, 636, 5, 56, 29, 2, 635, 637, 7, 285, 2, 2, 636, 635,
  371. 3, 2, 2, 2, 636, 637, 3, 2, 2, 2, 637, 45, 3, 2, 2, 2, 638, 640, 7, 286,
  372. 2, 2, 639, 641, 5, 48, 25, 2, 640, 639, 3, 2, 2, 2, 640, 641, 3, 2, 2,
  373. 2, 641, 642, 3, 2, 2, 2, 642, 643, 7, 286, 2, 2, 643, 47, 3, 2, 2, 2, 644,
  374. 647, 5, 52, 27, 2, 645, 647, 7, 291, 2, 2, 646, 644, 3, 2, 2, 2, 646, 645,
  375. 3, 2, 2, 2, 647, 648, 3, 2, 2, 2, 648, 646, 3, 2, 2, 2, 648, 649, 3, 2,
  376. 2, 2, 649, 49, 3, 2, 2, 2, 650, 655, 5, 52, 27, 2, 651, 655, 7, 27, 2,
  377. 2, 652, 655, 7, 222, 2, 2, 653, 655, 7, 291, 2, 2, 654, 650, 3, 2, 2, 2,
  378. 654, 651, 3, 2, 2, 2, 654, 652, 3, 2, 2, 2, 654, 653, 3, 2, 2, 2, 655,
  379. 656, 3, 2, 2, 2, 656, 654, 3, 2, 2, 2, 656, 657, 3, 2, 2, 2, 657, 51, 3,
  380. 2, 2, 2, 658, 666, 5, 54, 28, 2, 659, 666, 5, 56, 29, 2, 660, 666, 5, 58,
  381. 30, 2, 661, 666, 7, 294, 2, 2, 662, 666, 7, 285, 2, 2, 663, 666, 7, 90,
  382. 2, 2, 664, 666, 7, 225, 2, 2, 665, 658, 3, 2, 2, 2, 665, 659, 3, 2, 2,
  383. 2, 665, 660, 3, 2, 2, 2, 665, 661, 3, 2, 2, 2, 665, 662, 3, 2, 2, 2, 665,
  384. 663, 3, 2, 2, 2, 665, 664, 3, 2, 2, 2, 666, 667, 3, 2, 2, 2, 667, 665,
  385. 3, 2, 2, 2, 667, 668, 3, 2, 2, 2, 668, 53, 3, 2, 2, 2, 669, 672, 7, 289,
  386. 2, 2, 670, 672, 5, 60, 31, 2, 671, 669, 3, 2, 2, 2, 671, 670, 3, 2, 2,
  387. 2, 672, 55, 3, 2, 2, 2, 673, 674, 9, 83, 2, 2, 674, 57, 3, 2, 2, 2, 675,
  388. 676, 7, 290, 2, 2, 676, 59, 3, 2, 2, 2, 677, 678, 9, 84, 2, 2, 678, 61,
  389. 3, 2, 2, 2, 76, 74, 76, 83, 87, 89, 95, 100, 125, 150, 153, 156, 159, 179,
  390. 187, 219, 227, 233, 250, 323, 338, 360, 370, 376, 392, 401, 404, 407, 410,
  391. 413, 416, 436, 439, 447, 454, 461, 468, 475, 482, 486, 492, 500, 504, 508,
  392. 514, 521, 526, 532, 534, 538, 544, 550, 562, 569, 576, 580, 585, 589, 595,
  393. 600, 606, 611, 617, 623, 627, 631, 636, 640, 646, 648, 654, 656, 665, 667,
  394. 671,
  395. }
  396. var deserializer = antlr.NewATNDeserializer(nil)
  397. var deserializedATN = deserializer.DeserializeFromUInt16(parserATN)
  398. var literalNames = []string{
  399. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  400. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  401. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  402. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  403. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "'('",
  404. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  405. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  406. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  407. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  408. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  409. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  410. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  411. "", "", "", "", "", "", "", "", "')'", "", "", "", "", "", "", "", "",
  412. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  413. "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
  414. "", "", "", "", "", "", "", "", "", "", "", "", "", "'*>'", "','", "'.'",
  415. "'=='",
  416. }
  417. var symbolicNames = []string{
  418. "", "ADATA", "ADV", "ALIAS", "ANSI", "ANY", "APOST", "AR", "ARITH", "AUTO",
  419. "AWO", "BIN", "BLOCK0", "BUF", "BUFSIZE", "BY", "CBL", "CBLCARD", "CICS",
  420. "CO", "COBOL2", "COBOL3", "CODEPAGE", "COMPAT", "COMPILE", "COPY", "CP",
  421. "CPP", "CPSM", "CS", "CURR", "CURRENCY", "DATA", "DATEPROC", "DBCS", "DD",
  422. "DEBUG", "DECK", "DIAGTRUNC", "DLI", "DLL", "DP", "DTR", "DU", "DUMP",
  423. "DYN", "DYNAM", "EDF", "EJECT", "EJPD", "EN", "ENGLISH", "END_EXEC", "EPILOG",
  424. "EXCI", "EXEC", "EXIT", "EXP", "EXPORTALL", "EXTEND", "FASTSRT", "FEPI",
  425. "FLAG", "FLAGSTD", "FSRT", "FULL", "GDS", "GRAPHIC", "HOOK", "IN", "INTDATE",
  426. "JA", "JP", "KA", "LANG", "LANGUAGE", "LC", "LEASM", "LENGTH", "LIB", "LILIAN",
  427. "LIN", "LINECOUNT", "LINKAGE", "LIST", "LM", "LONGMIXED", "LONGUPPER",
  428. "LPARENCHAR", "LU", "MAP", "MARGINS", "MAX", "MD", "MDECK", "MIG", "MIXED",
  429. "NAME", "NAT", "NATIONAL", "NATLANG", "NN", "NO", "NOADATA", "NOADV", "NOALIAS",
  430. "NOAWO", "NOBLOCK0", "NOC", "NOCBLCARD", "NOCICS", "NOCMPR2", "NOCOMPILE",
  431. "NOCPSM", "NOCURR", "NOCURRENCY", "NOD", "NODATEPROC", "NODBCS", "NODE",
  432. "NODEBUG", "NODECK", "NODIAGTRUNC", "NODLL", "NODU", "NODUMP", "NODP",
  433. "NODTR", "NODYN", "NODYNAM", "NOEDF", "NOEJPD", "NOEPILOG", "NOEXIT", "NOEXP",
  434. "NOEXPORTALL", "NOF", "NOFASTSRT", "NOFEPI", "NOFLAG", "NOFLAGMIG", "NOFLAGSTD",
  435. "NOFSRT", "NOGRAPHIC", "NOHOOK", "NOLENGTH", "NOLIB", "NOLINKAGE", "NOLIST",
  436. "NOMAP", "NOMD", "NOMDECK", "NONAME", "NONUM", "NONUMBER", "NOOBJ", "NOOBJECT",
  437. "NOOFF", "NOOFFSET", "NOOPSEQUENCE", "NOOPT", "NOOPTIMIZE", "NOOPTIONS",
  438. "NOP", "NOPFD", "NOPROLOG", "NORENT", "NOS", "NOSEP", "NOSEPARATE", "NOSEQ",
  439. "NOSOURCE", "NOSPIE", "NOSQL", "NOSQLC", "NOSQLCCSID", "NOSSR", "NOSSRANGE",
  440. "NOSTDTRUNC", "NOSEQUENCE", "NOTERM", "NOTERMINAL", "NOTEST", "NOTHREAD",
  441. "NOTRIG", "NOVBREF", "NOWD", "NOWORD", "NOX", "NOXREF", "NOZWB", "NS",
  442. "NSEQ", "NSYMBOL", "NUM", "NUMBER", "NUMPROC", "OBJ", "OBJECT", "OF", "OFF",
  443. "OFFSET", "ON", "OP", "OPMARGINS", "OPSEQUENCE", "OPT", "OPTFILE", "OPTIMIZE",
  444. "OPTIONS", "OUT", "OUTDD", "PFD", "PPTDBG", "PGMN", "PGMNAME", "PROCESS",
  445. "PROLOG", "QUOTE", "RENT", "REPLACE", "REPLACING", "RMODE", "RPARENCHAR",
  446. "SEP", "SEPARATE", "SEQ", "SEQUENCE", "SHORT", "SIZE", "SOURCE", "SP",
  447. "SPACE", "SPIE", "SQL", "SQLC", "SQLCCSID", "SQLIMS", "SKIP1", "SKIP2",
  448. "SKIP3", "SS", "SSR", "SSRANGE", "STD", "SUPPRESS", "SYSEIB", "SZ", "TERM",
  449. "TERMINAL", "TEST", "THREAD", "TITLE", "TRIG", "TRUNC", "UE", "UPPER",
  450. "VBREF", "WD", "WORD", "XMLPARSE", "XMLSS", "XOPTS", "XP", "XREF", "YEARWINDOW",
  451. "YW", "ZWB", "C_CHAR", "D_CHAR", "E_CHAR", "F_CHAR", "H_CHAR", "I_CHAR",
  452. "M_CHAR", "N_CHAR", "Q_CHAR", "S_CHAR", "U_CHAR", "W_CHAR", "X_CHAR", "COMMENTTAG",
  453. "COMMACHAR", "DOT", "DOUBLEEQUALCHAR", "NONNUMERICLITERAL", "NUMERICLITERAL",
  454. "IDENTIFIER", "FILENAME", "NEWLINE", "COMMENTLINE", "WS", "TEXT",
  455. }
  456. var ruleNames = []string{
  457. "startRule", "compilerOptions", "compilerXOpts", "compilerOption", "execCicsStatement",
  458. "execSqlStatement", "execSqlImsStatement", "copyStatement", "copySource",
  459. "copyLibrary", "replacingPhrase", "replaceArea", "replaceByStatement",
  460. "replaceOffStatement", "replaceClause", "directoryPhrase", "familyPhrase",
  461. "replaceable", "replacement", "ejectStatement", "skipStatement", "titleStatement",
  462. "pseudoText", "charData", "charDataSql", "charDataLine", "cobolWord", "literal",
  463. "filename", "charDataKeyword",
  464. }
  465. var decisionToDFA = make([]*antlr.DFA, len(deserializedATN.DecisionToState))
  466. func init() {
  467. for index, ds := range deserializedATN.DecisionToState {
  468. decisionToDFA[index] = antlr.NewDFA(ds, index)
  469. }
  470. }
  471. type Cobol85PreprocessorParser struct {
  472. *antlr.BaseParser
  473. }
  474. func NewCobol85PreprocessorParser(input antlr.TokenStream) *Cobol85PreprocessorParser {
  475. this := new(Cobol85PreprocessorParser)
  476. this.BaseParser = antlr.NewBaseParser(input)
  477. this.Interpreter = antlr.NewParserATNSimulator(this, deserializedATN, decisionToDFA, antlr.NewPredictionContextCache())
  478. this.RuleNames = ruleNames
  479. this.LiteralNames = literalNames
  480. this.SymbolicNames = symbolicNames
  481. this.GrammarFileName = "Cobol85Preprocessor.g4"
  482. return this
  483. }
  484. // Cobol85PreprocessorParser tokens.
  485. const (
  486. Cobol85PreprocessorParserEOF = antlr.TokenEOF
  487. Cobol85PreprocessorParserADATA = 1
  488. Cobol85PreprocessorParserADV = 2
  489. Cobol85PreprocessorParserALIAS = 3
  490. Cobol85PreprocessorParserANSI = 4
  491. Cobol85PreprocessorParserANY = 5
  492. Cobol85PreprocessorParserAPOST = 6
  493. Cobol85PreprocessorParserAR = 7
  494. Cobol85PreprocessorParserARITH = 8
  495. Cobol85PreprocessorParserAUTO = 9
  496. Cobol85PreprocessorParserAWO = 10
  497. Cobol85PreprocessorParserBIN = 11
  498. Cobol85PreprocessorParserBLOCK0 = 12
  499. Cobol85PreprocessorParserBUF = 13
  500. Cobol85PreprocessorParserBUFSIZE = 14
  501. Cobol85PreprocessorParserBY = 15
  502. Cobol85PreprocessorParserCBL = 16
  503. Cobol85PreprocessorParserCBLCARD = 17
  504. Cobol85PreprocessorParserCICS = 18
  505. Cobol85PreprocessorParserCO = 19
  506. Cobol85PreprocessorParserCOBOL2 = 20
  507. Cobol85PreprocessorParserCOBOL3 = 21
  508. Cobol85PreprocessorParserCODEPAGE = 22
  509. Cobol85PreprocessorParserCOMPAT = 23
  510. Cobol85PreprocessorParserCOMPILE = 24
  511. Cobol85PreprocessorParserCOPY = 25
  512. Cobol85PreprocessorParserCP = 26
  513. Cobol85PreprocessorParserCPP = 27
  514. Cobol85PreprocessorParserCPSM = 28
  515. Cobol85PreprocessorParserCS = 29
  516. Cobol85PreprocessorParserCURR = 30
  517. Cobol85PreprocessorParserCURRENCY = 31
  518. Cobol85PreprocessorParserDATA = 32
  519. Cobol85PreprocessorParserDATEPROC = 33
  520. Cobol85PreprocessorParserDBCS = 34
  521. Cobol85PreprocessorParserDD = 35
  522. Cobol85PreprocessorParserDEBUG = 36
  523. Cobol85PreprocessorParserDECK = 37
  524. Cobol85PreprocessorParserDIAGTRUNC = 38
  525. Cobol85PreprocessorParserDLI = 39
  526. Cobol85PreprocessorParserDLL = 40
  527. Cobol85PreprocessorParserDP = 41
  528. Cobol85PreprocessorParserDTR = 42
  529. Cobol85PreprocessorParserDU = 43
  530. Cobol85PreprocessorParserDUMP = 44
  531. Cobol85PreprocessorParserDYN = 45
  532. Cobol85PreprocessorParserDYNAM = 46
  533. Cobol85PreprocessorParserEDF = 47
  534. Cobol85PreprocessorParserEJECT = 48
  535. Cobol85PreprocessorParserEJPD = 49
  536. Cobol85PreprocessorParserEN = 50
  537. Cobol85PreprocessorParserENGLISH = 51
  538. Cobol85PreprocessorParserEND_EXEC = 52
  539. Cobol85PreprocessorParserEPILOG = 53
  540. Cobol85PreprocessorParserEXCI = 54
  541. Cobol85PreprocessorParserEXEC = 55
  542. Cobol85PreprocessorParserEXIT = 56
  543. Cobol85PreprocessorParserEXP = 57
  544. Cobol85PreprocessorParserEXPORTALL = 58
  545. Cobol85PreprocessorParserEXTEND = 59
  546. Cobol85PreprocessorParserFASTSRT = 60
  547. Cobol85PreprocessorParserFEPI = 61
  548. Cobol85PreprocessorParserFLAG = 62
  549. Cobol85PreprocessorParserFLAGSTD = 63
  550. Cobol85PreprocessorParserFSRT = 64
  551. Cobol85PreprocessorParserFULL = 65
  552. Cobol85PreprocessorParserGDS = 66
  553. Cobol85PreprocessorParserGRAPHIC = 67
  554. Cobol85PreprocessorParserHOOK = 68
  555. Cobol85PreprocessorParserIN = 69
  556. Cobol85PreprocessorParserINTDATE = 70
  557. Cobol85PreprocessorParserJA = 71
  558. Cobol85PreprocessorParserJP = 72
  559. Cobol85PreprocessorParserKA = 73
  560. Cobol85PreprocessorParserLANG = 74
  561. Cobol85PreprocessorParserLANGUAGE = 75
  562. Cobol85PreprocessorParserLC = 76
  563. Cobol85PreprocessorParserLEASM = 77
  564. Cobol85PreprocessorParserLENGTH = 78
  565. Cobol85PreprocessorParserLIB = 79
  566. Cobol85PreprocessorParserLILIAN = 80
  567. Cobol85PreprocessorParserLIN = 81
  568. Cobol85PreprocessorParserLINECOUNT = 82
  569. Cobol85PreprocessorParserLINKAGE = 83
  570. Cobol85PreprocessorParserLIST = 84
  571. Cobol85PreprocessorParserLM = 85
  572. Cobol85PreprocessorParserLONGMIXED = 86
  573. Cobol85PreprocessorParserLONGUPPER = 87
  574. Cobol85PreprocessorParserLPARENCHAR = 88
  575. Cobol85PreprocessorParserLU = 89
  576. Cobol85PreprocessorParserMAP = 90
  577. Cobol85PreprocessorParserMARGINS = 91
  578. Cobol85PreprocessorParserMAX = 92
  579. Cobol85PreprocessorParserMD = 93
  580. Cobol85PreprocessorParserMDECK = 94
  581. Cobol85PreprocessorParserMIG = 95
  582. Cobol85PreprocessorParserMIXED = 96
  583. Cobol85PreprocessorParserNAME = 97
  584. Cobol85PreprocessorParserNAT = 98
  585. Cobol85PreprocessorParserNATIONAL = 99
  586. Cobol85PreprocessorParserNATLANG = 100
  587. Cobol85PreprocessorParserNN = 101
  588. Cobol85PreprocessorParserNO = 102
  589. Cobol85PreprocessorParserNOADATA = 103
  590. Cobol85PreprocessorParserNOADV = 104
  591. Cobol85PreprocessorParserNOALIAS = 105
  592. Cobol85PreprocessorParserNOAWO = 106
  593. Cobol85PreprocessorParserNOBLOCK0 = 107
  594. Cobol85PreprocessorParserNOC = 108
  595. Cobol85PreprocessorParserNOCBLCARD = 109
  596. Cobol85PreprocessorParserNOCICS = 110
  597. Cobol85PreprocessorParserNOCMPR2 = 111
  598. Cobol85PreprocessorParserNOCOMPILE = 112
  599. Cobol85PreprocessorParserNOCPSM = 113
  600. Cobol85PreprocessorParserNOCURR = 114
  601. Cobol85PreprocessorParserNOCURRENCY = 115
  602. Cobol85PreprocessorParserNOD = 116
  603. Cobol85PreprocessorParserNODATEPROC = 117
  604. Cobol85PreprocessorParserNODBCS = 118
  605. Cobol85PreprocessorParserNODE = 119
  606. Cobol85PreprocessorParserNODEBUG = 120
  607. Cobol85PreprocessorParserNODECK = 121
  608. Cobol85PreprocessorParserNODIAGTRUNC = 122
  609. Cobol85PreprocessorParserNODLL = 123
  610. Cobol85PreprocessorParserNODU = 124
  611. Cobol85PreprocessorParserNODUMP = 125
  612. Cobol85PreprocessorParserNODP = 126
  613. Cobol85PreprocessorParserNODTR = 127
  614. Cobol85PreprocessorParserNODYN = 128
  615. Cobol85PreprocessorParserNODYNAM = 129
  616. Cobol85PreprocessorParserNOEDF = 130
  617. Cobol85PreprocessorParserNOEJPD = 131
  618. Cobol85PreprocessorParserNOEPILOG = 132
  619. Cobol85PreprocessorParserNOEXIT = 133
  620. Cobol85PreprocessorParserNOEXP = 134
  621. Cobol85PreprocessorParserNOEXPORTALL = 135
  622. Cobol85PreprocessorParserNOF = 136
  623. Cobol85PreprocessorParserNOFASTSRT = 137
  624. Cobol85PreprocessorParserNOFEPI = 138
  625. Cobol85PreprocessorParserNOFLAG = 139
  626. Cobol85PreprocessorParserNOFLAGMIG = 140
  627. Cobol85PreprocessorParserNOFLAGSTD = 141
  628. Cobol85PreprocessorParserNOFSRT = 142
  629. Cobol85PreprocessorParserNOGRAPHIC = 143
  630. Cobol85PreprocessorParserNOHOOK = 144
  631. Cobol85PreprocessorParserNOLENGTH = 145
  632. Cobol85PreprocessorParserNOLIB = 146
  633. Cobol85PreprocessorParserNOLINKAGE = 147
  634. Cobol85PreprocessorParserNOLIST = 148
  635. Cobol85PreprocessorParserNOMAP = 149
  636. Cobol85PreprocessorParserNOMD = 150
  637. Cobol85PreprocessorParserNOMDECK = 151
  638. Cobol85PreprocessorParserNONAME = 152
  639. Cobol85PreprocessorParserNONUM = 153
  640. Cobol85PreprocessorParserNONUMBER = 154
  641. Cobol85PreprocessorParserNOOBJ = 155
  642. Cobol85PreprocessorParserNOOBJECT = 156
  643. Cobol85PreprocessorParserNOOFF = 157
  644. Cobol85PreprocessorParserNOOFFSET = 158
  645. Cobol85PreprocessorParserNOOPSEQUENCE = 159
  646. Cobol85PreprocessorParserNOOPT = 160
  647. Cobol85PreprocessorParserNOOPTIMIZE = 161
  648. Cobol85PreprocessorParserNOOPTIONS = 162
  649. Cobol85PreprocessorParserNOP = 163
  650. Cobol85PreprocessorParserNOPFD = 164
  651. Cobol85PreprocessorParserNOPROLOG = 165
  652. Cobol85PreprocessorParserNORENT = 166
  653. Cobol85PreprocessorParserNOS = 167
  654. Cobol85PreprocessorParserNOSEP = 168
  655. Cobol85PreprocessorParserNOSEPARATE = 169
  656. Cobol85PreprocessorParserNOSEQ = 170
  657. Cobol85PreprocessorParserNOSOURCE = 171
  658. Cobol85PreprocessorParserNOSPIE = 172
  659. Cobol85PreprocessorParserNOSQL = 173
  660. Cobol85PreprocessorParserNOSQLC = 174
  661. Cobol85PreprocessorParserNOSQLCCSID = 175
  662. Cobol85PreprocessorParserNOSSR = 176
  663. Cobol85PreprocessorParserNOSSRANGE = 177
  664. Cobol85PreprocessorParserNOSTDTRUNC = 178
  665. Cobol85PreprocessorParserNOSEQUENCE = 179
  666. Cobol85PreprocessorParserNOTERM = 180
  667. Cobol85PreprocessorParserNOTERMINAL = 181
  668. Cobol85PreprocessorParserNOTEST = 182
  669. Cobol85PreprocessorParserNOTHREAD = 183
  670. Cobol85PreprocessorParserNOTRIG = 184
  671. Cobol85PreprocessorParserNOVBREF = 185
  672. Cobol85PreprocessorParserNOWD = 186
  673. Cobol85PreprocessorParserNOWORD = 187
  674. Cobol85PreprocessorParserNOX = 188
  675. Cobol85PreprocessorParserNOXREF = 189
  676. Cobol85PreprocessorParserNOZWB = 190
  677. Cobol85PreprocessorParserNS = 191
  678. Cobol85PreprocessorParserNSEQ = 192
  679. Cobol85PreprocessorParserNSYMBOL = 193
  680. Cobol85PreprocessorParserNUM = 194
  681. Cobol85PreprocessorParserNUMBER = 195
  682. Cobol85PreprocessorParserNUMPROC = 196
  683. Cobol85PreprocessorParserOBJ = 197
  684. Cobol85PreprocessorParserOBJECT = 198
  685. Cobol85PreprocessorParserOF = 199
  686. Cobol85PreprocessorParserOFF = 200
  687. Cobol85PreprocessorParserOFFSET = 201
  688. Cobol85PreprocessorParserON = 202
  689. Cobol85PreprocessorParserOP = 203
  690. Cobol85PreprocessorParserOPMARGINS = 204
  691. Cobol85PreprocessorParserOPSEQUENCE = 205
  692. Cobol85PreprocessorParserOPT = 206
  693. Cobol85PreprocessorParserOPTFILE = 207
  694. Cobol85PreprocessorParserOPTIMIZE = 208
  695. Cobol85PreprocessorParserOPTIONS = 209
  696. Cobol85PreprocessorParserOUT = 210
  697. Cobol85PreprocessorParserOUTDD = 211
  698. Cobol85PreprocessorParserPFD = 212
  699. Cobol85PreprocessorParserPPTDBG = 213
  700. Cobol85PreprocessorParserPGMN = 214
  701. Cobol85PreprocessorParserPGMNAME = 215
  702. Cobol85PreprocessorParserPROCESS = 216
  703. Cobol85PreprocessorParserPROLOG = 217
  704. Cobol85PreprocessorParserQUOTE = 218
  705. Cobol85PreprocessorParserRENT = 219
  706. Cobol85PreprocessorParserREPLACE = 220
  707. Cobol85PreprocessorParserREPLACING = 221
  708. Cobol85PreprocessorParserRMODE = 222
  709. Cobol85PreprocessorParserRPARENCHAR = 223
  710. Cobol85PreprocessorParserSEP = 224
  711. Cobol85PreprocessorParserSEPARATE = 225
  712. Cobol85PreprocessorParserSEQ = 226
  713. Cobol85PreprocessorParserSEQUENCE = 227
  714. Cobol85PreprocessorParserSHORT = 228
  715. Cobol85PreprocessorParserSIZE = 229
  716. Cobol85PreprocessorParserSOURCE = 230
  717. Cobol85PreprocessorParserSP = 231
  718. Cobol85PreprocessorParserSPACE = 232
  719. Cobol85PreprocessorParserSPIE = 233
  720. Cobol85PreprocessorParserSQL = 234
  721. Cobol85PreprocessorParserSQLC = 235
  722. Cobol85PreprocessorParserSQLCCSID = 236
  723. Cobol85PreprocessorParserSQLIMS = 237
  724. Cobol85PreprocessorParserSKIP1 = 238
  725. Cobol85PreprocessorParserSKIP2 = 239
  726. Cobol85PreprocessorParserSKIP3 = 240
  727. Cobol85PreprocessorParserSS = 241
  728. Cobol85PreprocessorParserSSR = 242
  729. Cobol85PreprocessorParserSSRANGE = 243
  730. Cobol85PreprocessorParserSTD = 244
  731. Cobol85PreprocessorParserSUPPRESS = 245
  732. Cobol85PreprocessorParserSYSEIB = 246
  733. Cobol85PreprocessorParserSZ = 247
  734. Cobol85PreprocessorParserTERM = 248
  735. Cobol85PreprocessorParserTERMINAL = 249
  736. Cobol85PreprocessorParserTEST = 250
  737. Cobol85PreprocessorParserTHREAD = 251
  738. Cobol85PreprocessorParserTITLE = 252
  739. Cobol85PreprocessorParserTRIG = 253
  740. Cobol85PreprocessorParserTRUNC = 254
  741. Cobol85PreprocessorParserUE = 255
  742. Cobol85PreprocessorParserUPPER = 256
  743. Cobol85PreprocessorParserVBREF = 257
  744. Cobol85PreprocessorParserWD = 258
  745. Cobol85PreprocessorParserWORD = 259
  746. Cobol85PreprocessorParserXMLPARSE = 260
  747. Cobol85PreprocessorParserXMLSS = 261
  748. Cobol85PreprocessorParserXOPTS = 262
  749. Cobol85PreprocessorParserXP = 263
  750. Cobol85PreprocessorParserXREF = 264
  751. Cobol85PreprocessorParserYEARWINDOW = 265
  752. Cobol85PreprocessorParserYW = 266
  753. Cobol85PreprocessorParserZWB = 267
  754. Cobol85PreprocessorParserC_CHAR = 268
  755. Cobol85PreprocessorParserD_CHAR = 269
  756. Cobol85PreprocessorParserE_CHAR = 270
  757. Cobol85PreprocessorParserF_CHAR = 271
  758. Cobol85PreprocessorParserH_CHAR = 272
  759. Cobol85PreprocessorParserI_CHAR = 273
  760. Cobol85PreprocessorParserM_CHAR = 274
  761. Cobol85PreprocessorParserN_CHAR = 275
  762. Cobol85PreprocessorParserQ_CHAR = 276
  763. Cobol85PreprocessorParserS_CHAR = 277
  764. Cobol85PreprocessorParserU_CHAR = 278
  765. Cobol85PreprocessorParserW_CHAR = 279
  766. Cobol85PreprocessorParserX_CHAR = 280
  767. Cobol85PreprocessorParserCOMMENTTAG = 281
  768. Cobol85PreprocessorParserCOMMACHAR = 282
  769. Cobol85PreprocessorParserDOT = 283
  770. Cobol85PreprocessorParserDOUBLEEQUALCHAR = 284
  771. Cobol85PreprocessorParserNONNUMERICLITERAL = 285
  772. Cobol85PreprocessorParserNUMERICLITERAL = 286
  773. Cobol85PreprocessorParserIDENTIFIER = 287
  774. Cobol85PreprocessorParserFILENAME = 288
  775. Cobol85PreprocessorParserNEWLINE = 289
  776. Cobol85PreprocessorParserCOMMENTLINE = 290
  777. Cobol85PreprocessorParserWS = 291
  778. Cobol85PreprocessorParserTEXT = 292
  779. )
  780. // Cobol85PreprocessorParser rules.
  781. const (
  782. Cobol85PreprocessorParserRULE_startRule = 0
  783. Cobol85PreprocessorParserRULE_compilerOptions = 1
  784. Cobol85PreprocessorParserRULE_compilerXOpts = 2
  785. Cobol85PreprocessorParserRULE_compilerOption = 3
  786. Cobol85PreprocessorParserRULE_execCicsStatement = 4
  787. Cobol85PreprocessorParserRULE_execSqlStatement = 5
  788. Cobol85PreprocessorParserRULE_execSqlImsStatement = 6
  789. Cobol85PreprocessorParserRULE_copyStatement = 7
  790. Cobol85PreprocessorParserRULE_copySource = 8
  791. Cobol85PreprocessorParserRULE_copyLibrary = 9
  792. Cobol85PreprocessorParserRULE_replacingPhrase = 10
  793. Cobol85PreprocessorParserRULE_replaceArea = 11
  794. Cobol85PreprocessorParserRULE_replaceByStatement = 12
  795. Cobol85PreprocessorParserRULE_replaceOffStatement = 13
  796. Cobol85PreprocessorParserRULE_replaceClause = 14
  797. Cobol85PreprocessorParserRULE_directoryPhrase = 15
  798. Cobol85PreprocessorParserRULE_familyPhrase = 16
  799. Cobol85PreprocessorParserRULE_replaceable = 17
  800. Cobol85PreprocessorParserRULE_replacement = 18
  801. Cobol85PreprocessorParserRULE_ejectStatement = 19
  802. Cobol85PreprocessorParserRULE_skipStatement = 20
  803. Cobol85PreprocessorParserRULE_titleStatement = 21
  804. Cobol85PreprocessorParserRULE_pseudoText = 22
  805. Cobol85PreprocessorParserRULE_charData = 23
  806. Cobol85PreprocessorParserRULE_charDataSql = 24
  807. Cobol85PreprocessorParserRULE_charDataLine = 25
  808. Cobol85PreprocessorParserRULE_cobolWord = 26
  809. Cobol85PreprocessorParserRULE_literal = 27
  810. Cobol85PreprocessorParserRULE_filename = 28
  811. Cobol85PreprocessorParserRULE_charDataKeyword = 29
  812. )
  813. // IStartRuleContext is an interface to support dynamic dispatch.
  814. type IStartRuleContext interface {
  815. antlr.ParserRuleContext
  816. // GetParser returns the parser.
  817. GetParser() antlr.Parser
  818. // IsStartRuleContext differentiates from other interfaces.
  819. IsStartRuleContext()
  820. }
  821. type StartRuleContext struct {
  822. *antlr.BaseParserRuleContext
  823. parser antlr.Parser
  824. }
  825. func NewEmptyStartRuleContext() *StartRuleContext {
  826. var p = new(StartRuleContext)
  827. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  828. p.RuleIndex = Cobol85PreprocessorParserRULE_startRule
  829. return p
  830. }
  831. func (*StartRuleContext) IsStartRuleContext() {}
  832. func NewStartRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StartRuleContext {
  833. var p = new(StartRuleContext)
  834. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  835. p.parser = parser
  836. p.RuleIndex = Cobol85PreprocessorParserRULE_startRule
  837. return p
  838. }
  839. func (s *StartRuleContext) GetParser() antlr.Parser { return s.parser }
  840. func (s *StartRuleContext) EOF() antlr.TerminalNode {
  841. return s.GetToken(Cobol85PreprocessorParserEOF, 0)
  842. }
  843. func (s *StartRuleContext) AllCompilerOptions() []ICompilerOptionsContext {
  844. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICompilerOptionsContext)(nil)).Elem())
  845. var tst = make([]ICompilerOptionsContext, len(ts))
  846. for i, t := range ts {
  847. if t != nil {
  848. tst[i] = t.(ICompilerOptionsContext)
  849. }
  850. }
  851. return tst
  852. }
  853. func (s *StartRuleContext) CompilerOptions(i int) ICompilerOptionsContext {
  854. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICompilerOptionsContext)(nil)).Elem(), i)
  855. if t == nil {
  856. return nil
  857. }
  858. return t.(ICompilerOptionsContext)
  859. }
  860. func (s *StartRuleContext) AllCopyStatement() []ICopyStatementContext {
  861. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICopyStatementContext)(nil)).Elem())
  862. var tst = make([]ICopyStatementContext, len(ts))
  863. for i, t := range ts {
  864. if t != nil {
  865. tst[i] = t.(ICopyStatementContext)
  866. }
  867. }
  868. return tst
  869. }
  870. func (s *StartRuleContext) CopyStatement(i int) ICopyStatementContext {
  871. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICopyStatementContext)(nil)).Elem(), i)
  872. if t == nil {
  873. return nil
  874. }
  875. return t.(ICopyStatementContext)
  876. }
  877. func (s *StartRuleContext) AllExecCicsStatement() []IExecCicsStatementContext {
  878. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IExecCicsStatementContext)(nil)).Elem())
  879. var tst = make([]IExecCicsStatementContext, len(ts))
  880. for i, t := range ts {
  881. if t != nil {
  882. tst[i] = t.(IExecCicsStatementContext)
  883. }
  884. }
  885. return tst
  886. }
  887. func (s *StartRuleContext) ExecCicsStatement(i int) IExecCicsStatementContext {
  888. var t = s.GetTypedRuleContext(reflect.TypeOf((*IExecCicsStatementContext)(nil)).Elem(), i)
  889. if t == nil {
  890. return nil
  891. }
  892. return t.(IExecCicsStatementContext)
  893. }
  894. func (s *StartRuleContext) AllExecSqlStatement() []IExecSqlStatementContext {
  895. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IExecSqlStatementContext)(nil)).Elem())
  896. var tst = make([]IExecSqlStatementContext, len(ts))
  897. for i, t := range ts {
  898. if t != nil {
  899. tst[i] = t.(IExecSqlStatementContext)
  900. }
  901. }
  902. return tst
  903. }
  904. func (s *StartRuleContext) ExecSqlStatement(i int) IExecSqlStatementContext {
  905. var t = s.GetTypedRuleContext(reflect.TypeOf((*IExecSqlStatementContext)(nil)).Elem(), i)
  906. if t == nil {
  907. return nil
  908. }
  909. return t.(IExecSqlStatementContext)
  910. }
  911. func (s *StartRuleContext) AllExecSqlImsStatement() []IExecSqlImsStatementContext {
  912. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IExecSqlImsStatementContext)(nil)).Elem())
  913. var tst = make([]IExecSqlImsStatementContext, len(ts))
  914. for i, t := range ts {
  915. if t != nil {
  916. tst[i] = t.(IExecSqlImsStatementContext)
  917. }
  918. }
  919. return tst
  920. }
  921. func (s *StartRuleContext) ExecSqlImsStatement(i int) IExecSqlImsStatementContext {
  922. var t = s.GetTypedRuleContext(reflect.TypeOf((*IExecSqlImsStatementContext)(nil)).Elem(), i)
  923. if t == nil {
  924. return nil
  925. }
  926. return t.(IExecSqlImsStatementContext)
  927. }
  928. func (s *StartRuleContext) AllReplaceOffStatement() []IReplaceOffStatementContext {
  929. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IReplaceOffStatementContext)(nil)).Elem())
  930. var tst = make([]IReplaceOffStatementContext, len(ts))
  931. for i, t := range ts {
  932. if t != nil {
  933. tst[i] = t.(IReplaceOffStatementContext)
  934. }
  935. }
  936. return tst
  937. }
  938. func (s *StartRuleContext) ReplaceOffStatement(i int) IReplaceOffStatementContext {
  939. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplaceOffStatementContext)(nil)).Elem(), i)
  940. if t == nil {
  941. return nil
  942. }
  943. return t.(IReplaceOffStatementContext)
  944. }
  945. func (s *StartRuleContext) AllReplaceArea() []IReplaceAreaContext {
  946. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IReplaceAreaContext)(nil)).Elem())
  947. var tst = make([]IReplaceAreaContext, len(ts))
  948. for i, t := range ts {
  949. if t != nil {
  950. tst[i] = t.(IReplaceAreaContext)
  951. }
  952. }
  953. return tst
  954. }
  955. func (s *StartRuleContext) ReplaceArea(i int) IReplaceAreaContext {
  956. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplaceAreaContext)(nil)).Elem(), i)
  957. if t == nil {
  958. return nil
  959. }
  960. return t.(IReplaceAreaContext)
  961. }
  962. func (s *StartRuleContext) AllEjectStatement() []IEjectStatementContext {
  963. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IEjectStatementContext)(nil)).Elem())
  964. var tst = make([]IEjectStatementContext, len(ts))
  965. for i, t := range ts {
  966. if t != nil {
  967. tst[i] = t.(IEjectStatementContext)
  968. }
  969. }
  970. return tst
  971. }
  972. func (s *StartRuleContext) EjectStatement(i int) IEjectStatementContext {
  973. var t = s.GetTypedRuleContext(reflect.TypeOf((*IEjectStatementContext)(nil)).Elem(), i)
  974. if t == nil {
  975. return nil
  976. }
  977. return t.(IEjectStatementContext)
  978. }
  979. func (s *StartRuleContext) AllSkipStatement() []ISkipStatementContext {
  980. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ISkipStatementContext)(nil)).Elem())
  981. var tst = make([]ISkipStatementContext, len(ts))
  982. for i, t := range ts {
  983. if t != nil {
  984. tst[i] = t.(ISkipStatementContext)
  985. }
  986. }
  987. return tst
  988. }
  989. func (s *StartRuleContext) SkipStatement(i int) ISkipStatementContext {
  990. var t = s.GetTypedRuleContext(reflect.TypeOf((*ISkipStatementContext)(nil)).Elem(), i)
  991. if t == nil {
  992. return nil
  993. }
  994. return t.(ISkipStatementContext)
  995. }
  996. func (s *StartRuleContext) AllTitleStatement() []ITitleStatementContext {
  997. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ITitleStatementContext)(nil)).Elem())
  998. var tst = make([]ITitleStatementContext, len(ts))
  999. for i, t := range ts {
  1000. if t != nil {
  1001. tst[i] = t.(ITitleStatementContext)
  1002. }
  1003. }
  1004. return tst
  1005. }
  1006. func (s *StartRuleContext) TitleStatement(i int) ITitleStatementContext {
  1007. var t = s.GetTypedRuleContext(reflect.TypeOf((*ITitleStatementContext)(nil)).Elem(), i)
  1008. if t == nil {
  1009. return nil
  1010. }
  1011. return t.(ITitleStatementContext)
  1012. }
  1013. func (s *StartRuleContext) AllCharDataLine() []ICharDataLineContext {
  1014. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICharDataLineContext)(nil)).Elem())
  1015. var tst = make([]ICharDataLineContext, len(ts))
  1016. for i, t := range ts {
  1017. if t != nil {
  1018. tst[i] = t.(ICharDataLineContext)
  1019. }
  1020. }
  1021. return tst
  1022. }
  1023. func (s *StartRuleContext) CharDataLine(i int) ICharDataLineContext {
  1024. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataLineContext)(nil)).Elem(), i)
  1025. if t == nil {
  1026. return nil
  1027. }
  1028. return t.(ICharDataLineContext)
  1029. }
  1030. func (s *StartRuleContext) AllNEWLINE() []antlr.TerminalNode {
  1031. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  1032. }
  1033. func (s *StartRuleContext) NEWLINE(i int) antlr.TerminalNode {
  1034. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  1035. }
  1036. func (s *StartRuleContext) GetRuleContext() antlr.RuleContext {
  1037. return s
  1038. }
  1039. func (s *StartRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  1040. return antlr.TreesStringTree(s, ruleNames, recog)
  1041. }
  1042. func (s *StartRuleContext) EnterRule(listener antlr.ParseTreeListener) {
  1043. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  1044. listenerT.EnterStartRule(s)
  1045. }
  1046. }
  1047. func (s *StartRuleContext) ExitRule(listener antlr.ParseTreeListener) {
  1048. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  1049. listenerT.ExitStartRule(s)
  1050. }
  1051. }
  1052. func (p *Cobol85PreprocessorParser) StartRule() (localctx IStartRuleContext) {
  1053. localctx = NewStartRuleContext(p, p.GetParserRuleContext(), p.GetState())
  1054. p.EnterRule(localctx, 0, Cobol85PreprocessorParserRULE_startRule)
  1055. var _la int
  1056. defer func() {
  1057. p.ExitRule()
  1058. }()
  1059. defer func() {
  1060. if err := recover(); err != nil {
  1061. if v, ok := err.(antlr.RecognitionException); ok {
  1062. localctx.SetException(v)
  1063. p.GetErrorHandler().ReportError(p, v)
  1064. p.GetErrorHandler().Recover(p, v)
  1065. } else {
  1066. panic(err)
  1067. }
  1068. }
  1069. }()
  1070. p.EnterOuterAlt(localctx, 1)
  1071. p.SetState(74)
  1072. p.GetErrorHandler().Sync(p)
  1073. _la = p.GetTokenStream().LA(1)
  1074. for (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<Cobol85PreprocessorParserADATA)|(1<<Cobol85PreprocessorParserADV)|(1<<Cobol85PreprocessorParserALIAS)|(1<<Cobol85PreprocessorParserANSI)|(1<<Cobol85PreprocessorParserANY)|(1<<Cobol85PreprocessorParserAPOST)|(1<<Cobol85PreprocessorParserAR)|(1<<Cobol85PreprocessorParserARITH)|(1<<Cobol85PreprocessorParserAUTO)|(1<<Cobol85PreprocessorParserAWO)|(1<<Cobol85PreprocessorParserBIN)|(1<<Cobol85PreprocessorParserBLOCK0)|(1<<Cobol85PreprocessorParserBUF)|(1<<Cobol85PreprocessorParserBUFSIZE)|(1<<Cobol85PreprocessorParserBY)|(1<<Cobol85PreprocessorParserCBL)|(1<<Cobol85PreprocessorParserCBLCARD)|(1<<Cobol85PreprocessorParserCO)|(1<<Cobol85PreprocessorParserCOBOL2)|(1<<Cobol85PreprocessorParserCOBOL3)|(1<<Cobol85PreprocessorParserCODEPAGE)|(1<<Cobol85PreprocessorParserCOMPAT)|(1<<Cobol85PreprocessorParserCOMPILE)|(1<<Cobol85PreprocessorParserCOPY)|(1<<Cobol85PreprocessorParserCP)|(1<<Cobol85PreprocessorParserCPP)|(1<<Cobol85PreprocessorParserCPSM)|(1<<Cobol85PreprocessorParserCS)|(1<<Cobol85PreprocessorParserCURR)|(1<<Cobol85PreprocessorParserCURRENCY))) != 0) || (((_la-32)&-(0x1f+1)) == 0 && ((1<<uint((_la-32)))&((1<<(Cobol85PreprocessorParserDATA-32))|(1<<(Cobol85PreprocessorParserDATEPROC-32))|(1<<(Cobol85PreprocessorParserDBCS-32))|(1<<(Cobol85PreprocessorParserDD-32))|(1<<(Cobol85PreprocessorParserDEBUG-32))|(1<<(Cobol85PreprocessorParserDECK-32))|(1<<(Cobol85PreprocessorParserDIAGTRUNC-32))|(1<<(Cobol85PreprocessorParserDLI-32))|(1<<(Cobol85PreprocessorParserDLL-32))|(1<<(Cobol85PreprocessorParserDP-32))|(1<<(Cobol85PreprocessorParserDTR-32))|(1<<(Cobol85PreprocessorParserDU-32))|(1<<(Cobol85PreprocessorParserDUMP-32))|(1<<(Cobol85PreprocessorParserDYN-32))|(1<<(Cobol85PreprocessorParserDYNAM-32))|(1<<(Cobol85PreprocessorParserEDF-32))|(1<<(Cobol85PreprocessorParserEJECT-32))|(1<<(Cobol85PreprocessorParserEJPD-32))|(1<<(Cobol85PreprocessorParserEN-32))|(1<<(Cobol85PreprocessorParserENGLISH-32))|(1<<(Cobol85PreprocessorParserEPILOG-32))|(1<<(Cobol85PreprocessorParserEXCI-32))|(1<<(Cobol85PreprocessorParserEXEC-32))|(1<<(Cobol85PreprocessorParserEXIT-32))|(1<<(Cobol85PreprocessorParserEXP-32))|(1<<(Cobol85PreprocessorParserEXPORTALL-32))|(1<<(Cobol85PreprocessorParserEXTEND-32))|(1<<(Cobol85PreprocessorParserFASTSRT-32))|(1<<(Cobol85PreprocessorParserFLAG-32))|(1<<(Cobol85PreprocessorParserFLAGSTD-32)))) != 0) || (((_la-64)&-(0x1f+1)) == 0 && ((1<<uint((_la-64)))&((1<<(Cobol85PreprocessorParserFSRT-64))|(1<<(Cobol85PreprocessorParserFULL-64))|(1<<(Cobol85PreprocessorParserGDS-64))|(1<<(Cobol85PreprocessorParserGRAPHIC-64))|(1<<(Cobol85PreprocessorParserHOOK-64))|(1<<(Cobol85PreprocessorParserIN-64))|(1<<(Cobol85PreprocessorParserINTDATE-64))|(1<<(Cobol85PreprocessorParserJA-64))|(1<<(Cobol85PreprocessorParserJP-64))|(1<<(Cobol85PreprocessorParserKA-64))|(1<<(Cobol85PreprocessorParserLANG-64))|(1<<(Cobol85PreprocessorParserLANGUAGE-64))|(1<<(Cobol85PreprocessorParserLC-64))|(1<<(Cobol85PreprocessorParserLENGTH-64))|(1<<(Cobol85PreprocessorParserLIB-64))|(1<<(Cobol85PreprocessorParserLILIAN-64))|(1<<(Cobol85PreprocessorParserLIN-64))|(1<<(Cobol85PreprocessorParserLINECOUNT-64))|(1<<(Cobol85PreprocessorParserLINKAGE-64))|(1<<(Cobol85PreprocessorParserLIST-64))|(1<<(Cobol85PreprocessorParserLM-64))|(1<<(Cobol85PreprocessorParserLONGMIXED-64))|(1<<(Cobol85PreprocessorParserLONGUPPER-64))|(1<<(Cobol85PreprocessorParserLPARENCHAR-64))|(1<<(Cobol85PreprocessorParserLU-64))|(1<<(Cobol85PreprocessorParserMAP-64))|(1<<(Cobol85PreprocessorParserMARGINS-64))|(1<<(Cobol85PreprocessorParserMAX-64))|(1<<(Cobol85PreprocessorParserMD-64))|(1<<(Cobol85PreprocessorParserMDECK-64))|(1<<(Cobol85PreprocessorParserMIG-64)))) != 0) || (((_la-96)&-(0x1f+1)) == 0 && ((1<<uint((_la-96)))&((1<<(Cobol85PreprocessorParserMIXED-96))|(1<<(Cobol85PreprocessorParserNAME-96))|(1<<(Cobol85PreprocessorParserNAT-96))|(1<<(Cobol85PreprocessorParserNATIONAL-96))|(1<<(Cobol85PreprocessorParserNATLANG-96))|(1<<(Cobol85PreprocessorParserNN-96))|(1<<(Cobol85PreprocessorParserNO-96))|(1<<(Cobol85PreprocessorParserNOADATA-96))|(1<<(Cobol85PreprocessorParserNOADV-96))|(1<<(Cobol85PreprocessorParserNOALIAS-96))|(1<<(Cobol85PreprocessorParserNOAWO-96))|(1<<(Cobol85PreprocessorParserNOBLOCK0-96))|(1<<(Cobol85PreprocessorParserNOC-96))|(1<<(Cobol85PreprocessorParserNOCBLCARD-96))|(1<<(Cobol85PreprocessorParserNOCICS-96))|(1<<(Cobol85PreprocessorParserNOCMPR2-96))|(1<<(Cobol85PreprocessorParserNOCOMPILE-96))|(1<<(Cobol85PreprocessorParserNOCPSM-96))|(1<<(Cobol85PreprocessorParserNOCURR-96))|(1<<(Cobol85PreprocessorParserNOCURRENCY-96))|(1<<(Cobol85PreprocessorParserNOD-96))|(1<<(Cobol85PreprocessorParserNODATEPROC-96))|(1<<(Cobol85PreprocessorParserNODBCS-96))|(1<<(Cobol85PreprocessorParserNODE-96))|(1<<(Cobol85PreprocessorParserNODEBUG-96))|(1<<(Cobol85PreprocessorParserNODECK-96))|(1<<(Cobol85PreprocessorParserNODIAGTRUNC-96))|(1<<(Cobol85PreprocessorParserNODLL-96))|(1<<(Cobol85PreprocessorParserNODU-96))|(1<<(Cobol85PreprocessorParserNODUMP-96))|(1<<(Cobol85PreprocessorParserNODP-96))|(1<<(Cobol85PreprocessorParserNODTR-96)))) != 0) || (((_la-128)&-(0x1f+1)) == 0 && ((1<<uint((_la-128)))&((1<<(Cobol85PreprocessorParserNODYN-128))|(1<<(Cobol85PreprocessorParserNODYNAM-128))|(1<<(Cobol85PreprocessorParserNOEDF-128))|(1<<(Cobol85PreprocessorParserNOEJPD-128))|(1<<(Cobol85PreprocessorParserNOEPILOG-128))|(1<<(Cobol85PreprocessorParserNOEXIT-128))|(1<<(Cobol85PreprocessorParserNOEXP-128))|(1<<(Cobol85PreprocessorParserNOEXPORTALL-128))|(1<<(Cobol85PreprocessorParserNOF-128))|(1<<(Cobol85PreprocessorParserNOFASTSRT-128))|(1<<(Cobol85PreprocessorParserNOFEPI-128))|(1<<(Cobol85PreprocessorParserNOFLAG-128))|(1<<(Cobol85PreprocessorParserNOFLAGMIG-128))|(1<<(Cobol85PreprocessorParserNOFLAGSTD-128))|(1<<(Cobol85PreprocessorParserNOFSRT-128))|(1<<(Cobol85PreprocessorParserNOGRAPHIC-128))|(1<<(Cobol85PreprocessorParserNOHOOK-128))|(1<<(Cobol85PreprocessorParserNOLENGTH-128))|(1<<(Cobol85PreprocessorParserNOLIB-128))|(1<<(Cobol85PreprocessorParserNOLINKAGE-128))|(1<<(Cobol85PreprocessorParserNOLIST-128))|(1<<(Cobol85PreprocessorParserNOMAP-128))|(1<<(Cobol85PreprocessorParserNOMD-128))|(1<<(Cobol85PreprocessorParserNOMDECK-128))|(1<<(Cobol85PreprocessorParserNONAME-128))|(1<<(Cobol85PreprocessorParserNONUM-128))|(1<<(Cobol85PreprocessorParserNONUMBER-128))|(1<<(Cobol85PreprocessorParserNOOBJ-128))|(1<<(Cobol85PreprocessorParserNOOBJECT-128))|(1<<(Cobol85PreprocessorParserNOOFF-128))|(1<<(Cobol85PreprocessorParserNOOFFSET-128))|(1<<(Cobol85PreprocessorParserNOOPSEQUENCE-128)))) != 0) || (((_la-160)&-(0x1f+1)) == 0 && ((1<<uint((_la-160)))&((1<<(Cobol85PreprocessorParserNOOPT-160))|(1<<(Cobol85PreprocessorParserNOOPTIMIZE-160))|(1<<(Cobol85PreprocessorParserNOOPTIONS-160))|(1<<(Cobol85PreprocessorParserNOP-160))|(1<<(Cobol85PreprocessorParserNOPFD-160))|(1<<(Cobol85PreprocessorParserNOPROLOG-160))|(1<<(Cobol85PreprocessorParserNORENT-160))|(1<<(Cobol85PreprocessorParserNOS-160))|(1<<(Cobol85PreprocessorParserNOSEP-160))|(1<<(Cobol85PreprocessorParserNOSEPARATE-160))|(1<<(Cobol85PreprocessorParserNOSEQ-160))|(1<<(Cobol85PreprocessorParserNOSOURCE-160))|(1<<(Cobol85PreprocessorParserNOSPIE-160))|(1<<(Cobol85PreprocessorParserNOSQL-160))|(1<<(Cobol85PreprocessorParserNOSQLC-160))|(1<<(Cobol85PreprocessorParserNOSQLCCSID-160))|(1<<(Cobol85PreprocessorParserNOSSR-160))|(1<<(Cobol85PreprocessorParserNOSSRANGE-160))|(1<<(Cobol85PreprocessorParserNOSTDTRUNC-160))|(1<<(Cobol85PreprocessorParserNOSEQUENCE-160))|(1<<(Cobol85PreprocessorParserNOTERM-160))|(1<<(Cobol85PreprocessorParserNOTERMINAL-160))|(1<<(Cobol85PreprocessorParserNOTEST-160))|(1<<(Cobol85PreprocessorParserNOTHREAD-160))|(1<<(Cobol85PreprocessorParserNOTRIG-160))|(1<<(Cobol85PreprocessorParserNOVBREF-160))|(1<<(Cobol85PreprocessorParserNOWORD-160))|(1<<(Cobol85PreprocessorParserNOX-160))|(1<<(Cobol85PreprocessorParserNOXREF-160))|(1<<(Cobol85PreprocessorParserNOZWB-160))|(1<<(Cobol85PreprocessorParserNS-160)))) != 0) || (((_la-192)&-(0x1f+1)) == 0 && ((1<<uint((_la-192)))&((1<<(Cobol85PreprocessorParserNSEQ-192))|(1<<(Cobol85PreprocessorParserNSYMBOL-192))|(1<<(Cobol85PreprocessorParserNUM-192))|(1<<(Cobol85PreprocessorParserNUMBER-192))|(1<<(Cobol85PreprocessorParserNUMPROC-192))|(1<<(Cobol85PreprocessorParserOBJ-192))|(1<<(Cobol85PreprocessorParserOBJECT-192))|(1<<(Cobol85PreprocessorParserOF-192))|(1<<(Cobol85PreprocessorParserOFF-192))|(1<<(Cobol85PreprocessorParserOFFSET-192))|(1<<(Cobol85PreprocessorParserON-192))|(1<<(Cobol85PreprocessorParserOP-192))|(1<<(Cobol85PreprocessorParserOPMARGINS-192))|(1<<(Cobol85PreprocessorParserOPSEQUENCE-192))|(1<<(Cobol85PreprocessorParserOPT-192))|(1<<(Cobol85PreprocessorParserOPTFILE-192))|(1<<(Cobol85PreprocessorParserOPTIMIZE-192))|(1<<(Cobol85PreprocessorParserOPTIONS-192))|(1<<(Cobol85PreprocessorParserOUT-192))|(1<<(Cobol85PreprocessorParserOUTDD-192))|(1<<(Cobol85PreprocessorParserPFD-192))|(1<<(Cobol85PreprocessorParserPPTDBG-192))|(1<<(Cobol85PreprocessorParserPGMN-192))|(1<<(Cobol85PreprocessorParserPGMNAME-192))|(1<<(Cobol85PreprocessorParserPROCESS-192))|(1<<(Cobol85PreprocessorParserPROLOG-192))|(1<<(Cobol85PreprocessorParserQUOTE-192))|(1<<(Cobol85PreprocessorParserRENT-192))|(1<<(Cobol85PreprocessorParserREPLACE-192))|(1<<(Cobol85PreprocessorParserREPLACING-192))|(1<<(Cobol85PreprocessorParserRMODE-192))|(1<<(Cobol85PreprocessorParserRPARENCHAR-192)))) != 0) || (((_la-224)&-(0x1f+1)) == 0 && ((1<<uint((_la-224)))&((1<<(Cobol85PreprocessorParserSEP-224))|(1<<(Cobol85PreprocessorParserSEPARATE-224))|(1<<(Cobol85PreprocessorParserSEQ-224))|(1<<(Cobol85PreprocessorParserSEQUENCE-224))|(1<<(Cobol85PreprocessorParserSHORT-224))|(1<<(Cobol85PreprocessorParserSIZE-224))|(1<<(Cobol85PreprocessorParserSOURCE-224))|(1<<(Cobol85PreprocessorParserSP-224))|(1<<(Cobol85PreprocessorParserSPACE-224))|(1<<(Cobol85PreprocessorParserSPIE-224))|(1<<(Cobol85PreprocessorParserSQL-224))|(1<<(Cobol85PreprocessorParserSQLC-224))|(1<<(Cobol85PreprocessorParserSQLCCSID-224))|(1<<(Cobol85PreprocessorParserSKIP1-224))|(1<<(Cobol85PreprocessorParserSKIP2-224))|(1<<(Cobol85PreprocessorParserSKIP3-224))|(1<<(Cobol85PreprocessorParserSS-224))|(1<<(Cobol85PreprocessorParserSSR-224))|(1<<(Cobol85PreprocessorParserSSRANGE-224))|(1<<(Cobol85PreprocessorParserSTD-224))|(1<<(Cobol85PreprocessorParserSYSEIB-224))|(1<<(Cobol85PreprocessorParserSZ-224))|(1<<(Cobol85PreprocessorParserTERM-224))|(1<<(Cobol85PreprocessorParserTERMINAL-224))|(1<<(Cobol85PreprocessorParserTEST-224))|(1<<(Cobol85PreprocessorParserTHREAD-224))|(1<<(Cobol85PreprocessorParserTITLE-224))|(1<<(Cobol85PreprocessorParserTRIG-224))|(1<<(Cobol85PreprocessorParserTRUNC-224))|(1<<(Cobol85PreprocessorParserUE-224)))) != 0) || (((_la-256)&-(0x1f+1)) == 0 && ((1<<uint((_la-256)))&((1<<(Cobol85PreprocessorParserUPPER-256))|(1<<(Cobol85PreprocessorParserVBREF-256))|(1<<(Cobol85PreprocessorParserWD-256))|(1<<(Cobol85PreprocessorParserXMLPARSE-256))|(1<<(Cobol85PreprocessorParserXMLSS-256))|(1<<(Cobol85PreprocessorParserXOPTS-256))|(1<<(Cobol85PreprocessorParserXREF-256))|(1<<(Cobol85PreprocessorParserYEARWINDOW-256))|(1<<(Cobol85PreprocessorParserYW-256))|(1<<(Cobol85PreprocessorParserZWB-256))|(1<<(Cobol85PreprocessorParserC_CHAR-256))|(1<<(Cobol85PreprocessorParserD_CHAR-256))|(1<<(Cobol85PreprocessorParserE_CHAR-256))|(1<<(Cobol85PreprocessorParserF_CHAR-256))|(1<<(Cobol85PreprocessorParserH_CHAR-256))|(1<<(Cobol85PreprocessorParserI_CHAR-256))|(1<<(Cobol85PreprocessorParserM_CHAR-256))|(1<<(Cobol85PreprocessorParserN_CHAR-256))|(1<<(Cobol85PreprocessorParserQ_CHAR-256))|(1<<(Cobol85PreprocessorParserS_CHAR-256))|(1<<(Cobol85PreprocessorParserU_CHAR-256))|(1<<(Cobol85PreprocessorParserW_CHAR-256))|(1<<(Cobol85PreprocessorParserX_CHAR-256))|(1<<(Cobol85PreprocessorParserCOMMACHAR-256))|(1<<(Cobol85PreprocessorParserDOT-256))|(1<<(Cobol85PreprocessorParserNONNUMERICLITERAL-256))|(1<<(Cobol85PreprocessorParserNUMERICLITERAL-256))|(1<<(Cobol85PreprocessorParserIDENTIFIER-256)))) != 0) || (((_la-288)&-(0x1f+1)) == 0 && ((1<<uint((_la-288)))&((1<<(Cobol85PreprocessorParserFILENAME-288))|(1<<(Cobol85PreprocessorParserNEWLINE-288))|(1<<(Cobol85PreprocessorParserTEXT-288)))) != 0) {
  1075. p.SetState(72)
  1076. p.GetErrorHandler().Sync(p)
  1077. switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 0, p.GetParserRuleContext()) {
  1078. case 1:
  1079. {
  1080. p.SetState(60)
  1081. p.CompilerOptions()
  1082. }
  1083. case 2:
  1084. {
  1085. p.SetState(61)
  1086. p.CopyStatement()
  1087. }
  1088. case 3:
  1089. {
  1090. p.SetState(62)
  1091. p.ExecCicsStatement()
  1092. }
  1093. case 4:
  1094. {
  1095. p.SetState(63)
  1096. p.ExecSqlStatement()
  1097. }
  1098. case 5:
  1099. {
  1100. p.SetState(64)
  1101. p.ExecSqlImsStatement()
  1102. }
  1103. case 6:
  1104. {
  1105. p.SetState(65)
  1106. p.ReplaceOffStatement()
  1107. }
  1108. case 7:
  1109. {
  1110. p.SetState(66)
  1111. p.ReplaceArea()
  1112. }
  1113. case 8:
  1114. {
  1115. p.SetState(67)
  1116. p.EjectStatement()
  1117. }
  1118. case 9:
  1119. {
  1120. p.SetState(68)
  1121. p.SkipStatement()
  1122. }
  1123. case 10:
  1124. {
  1125. p.SetState(69)
  1126. p.TitleStatement()
  1127. }
  1128. case 11:
  1129. {
  1130. p.SetState(70)
  1131. p.CharDataLine()
  1132. }
  1133. case 12:
  1134. {
  1135. p.SetState(71)
  1136. p.Match(Cobol85PreprocessorParserNEWLINE)
  1137. }
  1138. }
  1139. p.SetState(76)
  1140. p.GetErrorHandler().Sync(p)
  1141. _la = p.GetTokenStream().LA(1)
  1142. }
  1143. {
  1144. p.SetState(77)
  1145. p.Match(Cobol85PreprocessorParserEOF)
  1146. }
  1147. return localctx
  1148. }
  1149. // ICompilerOptionsContext is an interface to support dynamic dispatch.
  1150. type ICompilerOptionsContext interface {
  1151. antlr.ParserRuleContext
  1152. // GetParser returns the parser.
  1153. GetParser() antlr.Parser
  1154. // IsCompilerOptionsContext differentiates from other interfaces.
  1155. IsCompilerOptionsContext()
  1156. }
  1157. type CompilerOptionsContext struct {
  1158. *antlr.BaseParserRuleContext
  1159. parser antlr.Parser
  1160. }
  1161. func NewEmptyCompilerOptionsContext() *CompilerOptionsContext {
  1162. var p = new(CompilerOptionsContext)
  1163. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  1164. p.RuleIndex = Cobol85PreprocessorParserRULE_compilerOptions
  1165. return p
  1166. }
  1167. func (*CompilerOptionsContext) IsCompilerOptionsContext() {}
  1168. func NewCompilerOptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompilerOptionsContext {
  1169. var p = new(CompilerOptionsContext)
  1170. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  1171. p.parser = parser
  1172. p.RuleIndex = Cobol85PreprocessorParserRULE_compilerOptions
  1173. return p
  1174. }
  1175. func (s *CompilerOptionsContext) GetParser() antlr.Parser { return s.parser }
  1176. func (s *CompilerOptionsContext) PROCESS() antlr.TerminalNode {
  1177. return s.GetToken(Cobol85PreprocessorParserPROCESS, 0)
  1178. }
  1179. func (s *CompilerOptionsContext) CBL() antlr.TerminalNode {
  1180. return s.GetToken(Cobol85PreprocessorParserCBL, 0)
  1181. }
  1182. func (s *CompilerOptionsContext) AllCompilerOption() []ICompilerOptionContext {
  1183. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICompilerOptionContext)(nil)).Elem())
  1184. var tst = make([]ICompilerOptionContext, len(ts))
  1185. for i, t := range ts {
  1186. if t != nil {
  1187. tst[i] = t.(ICompilerOptionContext)
  1188. }
  1189. }
  1190. return tst
  1191. }
  1192. func (s *CompilerOptionsContext) CompilerOption(i int) ICompilerOptionContext {
  1193. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICompilerOptionContext)(nil)).Elem(), i)
  1194. if t == nil {
  1195. return nil
  1196. }
  1197. return t.(ICompilerOptionContext)
  1198. }
  1199. func (s *CompilerOptionsContext) AllCompilerXOpts() []ICompilerXOptsContext {
  1200. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICompilerXOptsContext)(nil)).Elem())
  1201. var tst = make([]ICompilerXOptsContext, len(ts))
  1202. for i, t := range ts {
  1203. if t != nil {
  1204. tst[i] = t.(ICompilerXOptsContext)
  1205. }
  1206. }
  1207. return tst
  1208. }
  1209. func (s *CompilerOptionsContext) CompilerXOpts(i int) ICompilerXOptsContext {
  1210. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICompilerXOptsContext)(nil)).Elem(), i)
  1211. if t == nil {
  1212. return nil
  1213. }
  1214. return t.(ICompilerXOptsContext)
  1215. }
  1216. func (s *CompilerOptionsContext) AllCOMMACHAR() []antlr.TerminalNode {
  1217. return s.GetTokens(Cobol85PreprocessorParserCOMMACHAR)
  1218. }
  1219. func (s *CompilerOptionsContext) COMMACHAR(i int) antlr.TerminalNode {
  1220. return s.GetToken(Cobol85PreprocessorParserCOMMACHAR, i)
  1221. }
  1222. func (s *CompilerOptionsContext) GetRuleContext() antlr.RuleContext {
  1223. return s
  1224. }
  1225. func (s *CompilerOptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  1226. return antlr.TreesStringTree(s, ruleNames, recog)
  1227. }
  1228. func (s *CompilerOptionsContext) EnterRule(listener antlr.ParseTreeListener) {
  1229. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  1230. listenerT.EnterCompilerOptions(s)
  1231. }
  1232. }
  1233. func (s *CompilerOptionsContext) ExitRule(listener antlr.ParseTreeListener) {
  1234. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  1235. listenerT.ExitCompilerOptions(s)
  1236. }
  1237. }
  1238. func (p *Cobol85PreprocessorParser) CompilerOptions() (localctx ICompilerOptionsContext) {
  1239. localctx = NewCompilerOptionsContext(p, p.GetParserRuleContext(), p.GetState())
  1240. p.EnterRule(localctx, 2, Cobol85PreprocessorParserRULE_compilerOptions)
  1241. var _la int
  1242. defer func() {
  1243. p.ExitRule()
  1244. }()
  1245. defer func() {
  1246. if err := recover(); err != nil {
  1247. if v, ok := err.(antlr.RecognitionException); ok {
  1248. localctx.SetException(v)
  1249. p.GetErrorHandler().ReportError(p, v)
  1250. p.GetErrorHandler().Recover(p, v)
  1251. } else {
  1252. panic(err)
  1253. }
  1254. }
  1255. }()
  1256. var _alt int
  1257. p.EnterOuterAlt(localctx, 1)
  1258. {
  1259. p.SetState(79)
  1260. _la = p.GetTokenStream().LA(1)
  1261. if !(_la == Cobol85PreprocessorParserCBL || _la == Cobol85PreprocessorParserPROCESS) {
  1262. p.GetErrorHandler().RecoverInline(p)
  1263. } else {
  1264. p.GetErrorHandler().ReportMatch(p)
  1265. p.Consume()
  1266. }
  1267. }
  1268. p.SetState(85)
  1269. p.GetErrorHandler().Sync(p)
  1270. _alt = 1
  1271. for ok := true; ok; ok = _alt != 2 && _alt != antlr.ATNInvalidAltNumber {
  1272. switch _alt {
  1273. case 1:
  1274. p.SetState(85)
  1275. p.GetErrorHandler().Sync(p)
  1276. switch p.GetTokenStream().LA(1) {
  1277. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCICS, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFEPI, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLEASM, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWD, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserWORD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXP, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR:
  1278. p.SetState(81)
  1279. p.GetErrorHandler().Sync(p)
  1280. _la = p.GetTokenStream().LA(1)
  1281. if _la == Cobol85PreprocessorParserCOMMACHAR {
  1282. {
  1283. p.SetState(80)
  1284. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  1285. }
  1286. }
  1287. {
  1288. p.SetState(83)
  1289. p.CompilerOption()
  1290. }
  1291. case Cobol85PreprocessorParserXOPTS:
  1292. {
  1293. p.SetState(84)
  1294. p.CompilerXOpts()
  1295. }
  1296. default:
  1297. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  1298. }
  1299. default:
  1300. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  1301. }
  1302. p.SetState(87)
  1303. p.GetErrorHandler().Sync(p)
  1304. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 4, p.GetParserRuleContext())
  1305. }
  1306. return localctx
  1307. }
  1308. // ICompilerXOptsContext is an interface to support dynamic dispatch.
  1309. type ICompilerXOptsContext interface {
  1310. antlr.ParserRuleContext
  1311. // GetParser returns the parser.
  1312. GetParser() antlr.Parser
  1313. // IsCompilerXOptsContext differentiates from other interfaces.
  1314. IsCompilerXOptsContext()
  1315. }
  1316. type CompilerXOptsContext struct {
  1317. *antlr.BaseParserRuleContext
  1318. parser antlr.Parser
  1319. }
  1320. func NewEmptyCompilerXOptsContext() *CompilerXOptsContext {
  1321. var p = new(CompilerXOptsContext)
  1322. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  1323. p.RuleIndex = Cobol85PreprocessorParserRULE_compilerXOpts
  1324. return p
  1325. }
  1326. func (*CompilerXOptsContext) IsCompilerXOptsContext() {}
  1327. func NewCompilerXOptsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompilerXOptsContext {
  1328. var p = new(CompilerXOptsContext)
  1329. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  1330. p.parser = parser
  1331. p.RuleIndex = Cobol85PreprocessorParserRULE_compilerXOpts
  1332. return p
  1333. }
  1334. func (s *CompilerXOptsContext) GetParser() antlr.Parser { return s.parser }
  1335. func (s *CompilerXOptsContext) XOPTS() antlr.TerminalNode {
  1336. return s.GetToken(Cobol85PreprocessorParserXOPTS, 0)
  1337. }
  1338. func (s *CompilerXOptsContext) LPARENCHAR() antlr.TerminalNode {
  1339. return s.GetToken(Cobol85PreprocessorParserLPARENCHAR, 0)
  1340. }
  1341. func (s *CompilerXOptsContext) AllCompilerOption() []ICompilerOptionContext {
  1342. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICompilerOptionContext)(nil)).Elem())
  1343. var tst = make([]ICompilerOptionContext, len(ts))
  1344. for i, t := range ts {
  1345. if t != nil {
  1346. tst[i] = t.(ICompilerOptionContext)
  1347. }
  1348. }
  1349. return tst
  1350. }
  1351. func (s *CompilerXOptsContext) CompilerOption(i int) ICompilerOptionContext {
  1352. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICompilerOptionContext)(nil)).Elem(), i)
  1353. if t == nil {
  1354. return nil
  1355. }
  1356. return t.(ICompilerOptionContext)
  1357. }
  1358. func (s *CompilerXOptsContext) RPARENCHAR() antlr.TerminalNode {
  1359. return s.GetToken(Cobol85PreprocessorParserRPARENCHAR, 0)
  1360. }
  1361. func (s *CompilerXOptsContext) AllCOMMACHAR() []antlr.TerminalNode {
  1362. return s.GetTokens(Cobol85PreprocessorParserCOMMACHAR)
  1363. }
  1364. func (s *CompilerXOptsContext) COMMACHAR(i int) antlr.TerminalNode {
  1365. return s.GetToken(Cobol85PreprocessorParserCOMMACHAR, i)
  1366. }
  1367. func (s *CompilerXOptsContext) GetRuleContext() antlr.RuleContext {
  1368. return s
  1369. }
  1370. func (s *CompilerXOptsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  1371. return antlr.TreesStringTree(s, ruleNames, recog)
  1372. }
  1373. func (s *CompilerXOptsContext) EnterRule(listener antlr.ParseTreeListener) {
  1374. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  1375. listenerT.EnterCompilerXOpts(s)
  1376. }
  1377. }
  1378. func (s *CompilerXOptsContext) ExitRule(listener antlr.ParseTreeListener) {
  1379. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  1380. listenerT.ExitCompilerXOpts(s)
  1381. }
  1382. }
  1383. func (p *Cobol85PreprocessorParser) CompilerXOpts() (localctx ICompilerXOptsContext) {
  1384. localctx = NewCompilerXOptsContext(p, p.GetParserRuleContext(), p.GetState())
  1385. p.EnterRule(localctx, 4, Cobol85PreprocessorParserRULE_compilerXOpts)
  1386. var _la int
  1387. defer func() {
  1388. p.ExitRule()
  1389. }()
  1390. defer func() {
  1391. if err := recover(); err != nil {
  1392. if v, ok := err.(antlr.RecognitionException); ok {
  1393. localctx.SetException(v)
  1394. p.GetErrorHandler().ReportError(p, v)
  1395. p.GetErrorHandler().Recover(p, v)
  1396. } else {
  1397. panic(err)
  1398. }
  1399. }
  1400. }()
  1401. p.EnterOuterAlt(localctx, 1)
  1402. {
  1403. p.SetState(89)
  1404. p.Match(Cobol85PreprocessorParserXOPTS)
  1405. }
  1406. {
  1407. p.SetState(90)
  1408. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  1409. }
  1410. {
  1411. p.SetState(91)
  1412. p.CompilerOption()
  1413. }
  1414. p.SetState(98)
  1415. p.GetErrorHandler().Sync(p)
  1416. _la = p.GetTokenStream().LA(1)
  1417. for (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<Cobol85PreprocessorParserADATA)|(1<<Cobol85PreprocessorParserADV)|(1<<Cobol85PreprocessorParserAPOST)|(1<<Cobol85PreprocessorParserAR)|(1<<Cobol85PreprocessorParserARITH)|(1<<Cobol85PreprocessorParserAWO)|(1<<Cobol85PreprocessorParserBLOCK0)|(1<<Cobol85PreprocessorParserBUF)|(1<<Cobol85PreprocessorParserBUFSIZE)|(1<<Cobol85PreprocessorParserCBLCARD)|(1<<Cobol85PreprocessorParserCICS)|(1<<Cobol85PreprocessorParserCOBOL2)|(1<<Cobol85PreprocessorParserCOBOL3)|(1<<Cobol85PreprocessorParserCODEPAGE)|(1<<Cobol85PreprocessorParserCOMPILE)|(1<<Cobol85PreprocessorParserCP)|(1<<Cobol85PreprocessorParserCPP)|(1<<Cobol85PreprocessorParserCPSM)|(1<<Cobol85PreprocessorParserCURR)|(1<<Cobol85PreprocessorParserCURRENCY))) != 0) || (((_la-32)&-(0x1f+1)) == 0 && ((1<<uint((_la-32)))&((1<<(Cobol85PreprocessorParserDATA-32))|(1<<(Cobol85PreprocessorParserDATEPROC-32))|(1<<(Cobol85PreprocessorParserDBCS-32))|(1<<(Cobol85PreprocessorParserDEBUG-32))|(1<<(Cobol85PreprocessorParserDECK-32))|(1<<(Cobol85PreprocessorParserDIAGTRUNC-32))|(1<<(Cobol85PreprocessorParserDLL-32))|(1<<(Cobol85PreprocessorParserDP-32))|(1<<(Cobol85PreprocessorParserDTR-32))|(1<<(Cobol85PreprocessorParserDU-32))|(1<<(Cobol85PreprocessorParserDUMP-32))|(1<<(Cobol85PreprocessorParserDYN-32))|(1<<(Cobol85PreprocessorParserDYNAM-32))|(1<<(Cobol85PreprocessorParserEDF-32))|(1<<(Cobol85PreprocessorParserEPILOG-32))|(1<<(Cobol85PreprocessorParserEXIT-32))|(1<<(Cobol85PreprocessorParserEXP-32))|(1<<(Cobol85PreprocessorParserEXPORTALL-32))|(1<<(Cobol85PreprocessorParserFASTSRT-32))|(1<<(Cobol85PreprocessorParserFEPI-32))|(1<<(Cobol85PreprocessorParserFLAG-32))|(1<<(Cobol85PreprocessorParserFLAGSTD-32)))) != 0) || (((_la-64)&-(0x1f+1)) == 0 && ((1<<uint((_la-64)))&((1<<(Cobol85PreprocessorParserFSRT-64))|(1<<(Cobol85PreprocessorParserGDS-64))|(1<<(Cobol85PreprocessorParserGRAPHIC-64))|(1<<(Cobol85PreprocessorParserINTDATE-64))|(1<<(Cobol85PreprocessorParserLANG-64))|(1<<(Cobol85PreprocessorParserLANGUAGE-64))|(1<<(Cobol85PreprocessorParserLC-64))|(1<<(Cobol85PreprocessorParserLEASM-64))|(1<<(Cobol85PreprocessorParserLENGTH-64))|(1<<(Cobol85PreprocessorParserLIB-64))|(1<<(Cobol85PreprocessorParserLIN-64))|(1<<(Cobol85PreprocessorParserLINECOUNT-64))|(1<<(Cobol85PreprocessorParserLINKAGE-64))|(1<<(Cobol85PreprocessorParserLIST-64))|(1<<(Cobol85PreprocessorParserMAP-64))|(1<<(Cobol85PreprocessorParserMARGINS-64))|(1<<(Cobol85PreprocessorParserMD-64))|(1<<(Cobol85PreprocessorParserMDECK-64)))) != 0) || (((_la-97)&-(0x1f+1)) == 0 && ((1<<uint((_la-97)))&((1<<(Cobol85PreprocessorParserNAME-97))|(1<<(Cobol85PreprocessorParserNATLANG-97))|(1<<(Cobol85PreprocessorParserNOADATA-97))|(1<<(Cobol85PreprocessorParserNOADV-97))|(1<<(Cobol85PreprocessorParserNOAWO-97))|(1<<(Cobol85PreprocessorParserNOBLOCK0-97))|(1<<(Cobol85PreprocessorParserNOC-97))|(1<<(Cobol85PreprocessorParserNOCBLCARD-97))|(1<<(Cobol85PreprocessorParserNOCICS-97))|(1<<(Cobol85PreprocessorParserNOCMPR2-97))|(1<<(Cobol85PreprocessorParserNOCOMPILE-97))|(1<<(Cobol85PreprocessorParserNOCPSM-97))|(1<<(Cobol85PreprocessorParserNOCURR-97))|(1<<(Cobol85PreprocessorParserNOCURRENCY-97))|(1<<(Cobol85PreprocessorParserNOD-97))|(1<<(Cobol85PreprocessorParserNODATEPROC-97))|(1<<(Cobol85PreprocessorParserNODBCS-97))|(1<<(Cobol85PreprocessorParserNODE-97))|(1<<(Cobol85PreprocessorParserNODEBUG-97))|(1<<(Cobol85PreprocessorParserNODECK-97))|(1<<(Cobol85PreprocessorParserNODIAGTRUNC-97))|(1<<(Cobol85PreprocessorParserNODLL-97))|(1<<(Cobol85PreprocessorParserNODU-97))|(1<<(Cobol85PreprocessorParserNODUMP-97))|(1<<(Cobol85PreprocessorParserNODP-97))|(1<<(Cobol85PreprocessorParserNODTR-97))|(1<<(Cobol85PreprocessorParserNODYN-97)))) != 0) || (((_la-129)&-(0x1f+1)) == 0 && ((1<<uint((_la-129)))&((1<<(Cobol85PreprocessorParserNODYNAM-129))|(1<<(Cobol85PreprocessorParserNOEDF-129))|(1<<(Cobol85PreprocessorParserNOEPILOG-129))|(1<<(Cobol85PreprocessorParserNOEXIT-129))|(1<<(Cobol85PreprocessorParserNOEXP-129))|(1<<(Cobol85PreprocessorParserNOEXPORTALL-129))|(1<<(Cobol85PreprocessorParserNOF-129))|(1<<(Cobol85PreprocessorParserNOFASTSRT-129))|(1<<(Cobol85PreprocessorParserNOFEPI-129))|(1<<(Cobol85PreprocessorParserNOFLAG-129))|(1<<(Cobol85PreprocessorParserNOFLAGMIG-129))|(1<<(Cobol85PreprocessorParserNOFLAGSTD-129))|(1<<(Cobol85PreprocessorParserNOFSRT-129))|(1<<(Cobol85PreprocessorParserNOGRAPHIC-129))|(1<<(Cobol85PreprocessorParserNOLENGTH-129))|(1<<(Cobol85PreprocessorParserNOLIB-129))|(1<<(Cobol85PreprocessorParserNOLINKAGE-129))|(1<<(Cobol85PreprocessorParserNOLIST-129))|(1<<(Cobol85PreprocessorParserNOMAP-129))|(1<<(Cobol85PreprocessorParserNOMD-129))|(1<<(Cobol85PreprocessorParserNOMDECK-129))|(1<<(Cobol85PreprocessorParserNONAME-129))|(1<<(Cobol85PreprocessorParserNONUM-129))|(1<<(Cobol85PreprocessorParserNONUMBER-129))|(1<<(Cobol85PreprocessorParserNOOBJ-129))|(1<<(Cobol85PreprocessorParserNOOBJECT-129))|(1<<(Cobol85PreprocessorParserNOOFF-129))|(1<<(Cobol85PreprocessorParserNOOFFSET-129))|(1<<(Cobol85PreprocessorParserNOOPSEQUENCE-129))|(1<<(Cobol85PreprocessorParserNOOPT-129)))) != 0) || (((_la-161)&-(0x1f+1)) == 0 && ((1<<uint((_la-161)))&((1<<(Cobol85PreprocessorParserNOOPTIMIZE-161))|(1<<(Cobol85PreprocessorParserNOOPTIONS-161))|(1<<(Cobol85PreprocessorParserNOP-161))|(1<<(Cobol85PreprocessorParserNOPROLOG-161))|(1<<(Cobol85PreprocessorParserNORENT-161))|(1<<(Cobol85PreprocessorParserNOS-161))|(1<<(Cobol85PreprocessorParserNOSEQ-161))|(1<<(Cobol85PreprocessorParserNOSOURCE-161))|(1<<(Cobol85PreprocessorParserNOSPIE-161))|(1<<(Cobol85PreprocessorParserNOSQL-161))|(1<<(Cobol85PreprocessorParserNOSQLC-161))|(1<<(Cobol85PreprocessorParserNOSQLCCSID-161))|(1<<(Cobol85PreprocessorParserNOSSR-161))|(1<<(Cobol85PreprocessorParserNOSSRANGE-161))|(1<<(Cobol85PreprocessorParserNOSTDTRUNC-161))|(1<<(Cobol85PreprocessorParserNOSEQUENCE-161))|(1<<(Cobol85PreprocessorParserNOTERM-161))|(1<<(Cobol85PreprocessorParserNOTERMINAL-161))|(1<<(Cobol85PreprocessorParserNOTEST-161))|(1<<(Cobol85PreprocessorParserNOTHREAD-161))|(1<<(Cobol85PreprocessorParserNOVBREF-161))|(1<<(Cobol85PreprocessorParserNOWD-161))|(1<<(Cobol85PreprocessorParserNOWORD-161))|(1<<(Cobol85PreprocessorParserNOX-161))|(1<<(Cobol85PreprocessorParserNOXREF-161))|(1<<(Cobol85PreprocessorParserNOZWB-161))|(1<<(Cobol85PreprocessorParserNS-161))|(1<<(Cobol85PreprocessorParserNSEQ-161)))) != 0) || (((_la-193)&-(0x1f+1)) == 0 && ((1<<uint((_la-193)))&((1<<(Cobol85PreprocessorParserNSYMBOL-193))|(1<<(Cobol85PreprocessorParserNUM-193))|(1<<(Cobol85PreprocessorParserNUMBER-193))|(1<<(Cobol85PreprocessorParserNUMPROC-193))|(1<<(Cobol85PreprocessorParserOBJ-193))|(1<<(Cobol85PreprocessorParserOBJECT-193))|(1<<(Cobol85PreprocessorParserOFF-193))|(1<<(Cobol85PreprocessorParserOFFSET-193))|(1<<(Cobol85PreprocessorParserOP-193))|(1<<(Cobol85PreprocessorParserOPMARGINS-193))|(1<<(Cobol85PreprocessorParserOPSEQUENCE-193))|(1<<(Cobol85PreprocessorParserOPT-193))|(1<<(Cobol85PreprocessorParserOPTFILE-193))|(1<<(Cobol85PreprocessorParserOPTIMIZE-193))|(1<<(Cobol85PreprocessorParserOPTIONS-193))|(1<<(Cobol85PreprocessorParserOUT-193))|(1<<(Cobol85PreprocessorParserOUTDD-193))|(1<<(Cobol85PreprocessorParserPGMN-193))|(1<<(Cobol85PreprocessorParserPGMNAME-193))|(1<<(Cobol85PreprocessorParserPROLOG-193))|(1<<(Cobol85PreprocessorParserQUOTE-193))|(1<<(Cobol85PreprocessorParserRENT-193))|(1<<(Cobol85PreprocessorParserRMODE-193)))) != 0) || (((_la-226)&-(0x1f+1)) == 0 && ((1<<uint((_la-226)))&((1<<(Cobol85PreprocessorParserSEQ-226))|(1<<(Cobol85PreprocessorParserSEQUENCE-226))|(1<<(Cobol85PreprocessorParserSIZE-226))|(1<<(Cobol85PreprocessorParserSOURCE-226))|(1<<(Cobol85PreprocessorParserSP-226))|(1<<(Cobol85PreprocessorParserSPACE-226))|(1<<(Cobol85PreprocessorParserSPIE-226))|(1<<(Cobol85PreprocessorParserSQL-226))|(1<<(Cobol85PreprocessorParserSQLC-226))|(1<<(Cobol85PreprocessorParserSQLCCSID-226))|(1<<(Cobol85PreprocessorParserSSR-226))|(1<<(Cobol85PreprocessorParserSSRANGE-226))|(1<<(Cobol85PreprocessorParserSYSEIB-226))|(1<<(Cobol85PreprocessorParserSZ-226))|(1<<(Cobol85PreprocessorParserTERM-226))|(1<<(Cobol85PreprocessorParserTERMINAL-226))|(1<<(Cobol85PreprocessorParserTEST-226))|(1<<(Cobol85PreprocessorParserTHREAD-226))|(1<<(Cobol85PreprocessorParserTRUNC-226))|(1<<(Cobol85PreprocessorParserVBREF-226)))) != 0) || (((_la-258)&-(0x1f+1)) == 0 && ((1<<uint((_la-258)))&((1<<(Cobol85PreprocessorParserWD-258))|(1<<(Cobol85PreprocessorParserWORD-258))|(1<<(Cobol85PreprocessorParserXMLPARSE-258))|(1<<(Cobol85PreprocessorParserXP-258))|(1<<(Cobol85PreprocessorParserXREF-258))|(1<<(Cobol85PreprocessorParserYEARWINDOW-258))|(1<<(Cobol85PreprocessorParserYW-258))|(1<<(Cobol85PreprocessorParserZWB-258))|(1<<(Cobol85PreprocessorParserC_CHAR-258))|(1<<(Cobol85PreprocessorParserD_CHAR-258))|(1<<(Cobol85PreprocessorParserF_CHAR-258))|(1<<(Cobol85PreprocessorParserQ_CHAR-258))|(1<<(Cobol85PreprocessorParserS_CHAR-258))|(1<<(Cobol85PreprocessorParserX_CHAR-258))|(1<<(Cobol85PreprocessorParserCOMMACHAR-258)))) != 0) {
  1418. p.SetState(93)
  1419. p.GetErrorHandler().Sync(p)
  1420. _la = p.GetTokenStream().LA(1)
  1421. if _la == Cobol85PreprocessorParserCOMMACHAR {
  1422. {
  1423. p.SetState(92)
  1424. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  1425. }
  1426. }
  1427. {
  1428. p.SetState(95)
  1429. p.CompilerOption()
  1430. }
  1431. p.SetState(100)
  1432. p.GetErrorHandler().Sync(p)
  1433. _la = p.GetTokenStream().LA(1)
  1434. }
  1435. {
  1436. p.SetState(101)
  1437. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  1438. }
  1439. return localctx
  1440. }
  1441. // ICompilerOptionContext is an interface to support dynamic dispatch.
  1442. type ICompilerOptionContext interface {
  1443. antlr.ParserRuleContext
  1444. // GetParser returns the parser.
  1445. GetParser() antlr.Parser
  1446. // IsCompilerOptionContext differentiates from other interfaces.
  1447. IsCompilerOptionContext()
  1448. }
  1449. type CompilerOptionContext struct {
  1450. *antlr.BaseParserRuleContext
  1451. parser antlr.Parser
  1452. }
  1453. func NewEmptyCompilerOptionContext() *CompilerOptionContext {
  1454. var p = new(CompilerOptionContext)
  1455. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  1456. p.RuleIndex = Cobol85PreprocessorParserRULE_compilerOption
  1457. return p
  1458. }
  1459. func (*CompilerOptionContext) IsCompilerOptionContext() {}
  1460. func NewCompilerOptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CompilerOptionContext {
  1461. var p = new(CompilerOptionContext)
  1462. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  1463. p.parser = parser
  1464. p.RuleIndex = Cobol85PreprocessorParserRULE_compilerOption
  1465. return p
  1466. }
  1467. func (s *CompilerOptionContext) GetParser() antlr.Parser { return s.parser }
  1468. func (s *CompilerOptionContext) ADATA() antlr.TerminalNode {
  1469. return s.GetToken(Cobol85PreprocessorParserADATA, 0)
  1470. }
  1471. func (s *CompilerOptionContext) ADV() antlr.TerminalNode {
  1472. return s.GetToken(Cobol85PreprocessorParserADV, 0)
  1473. }
  1474. func (s *CompilerOptionContext) APOST() antlr.TerminalNode {
  1475. return s.GetToken(Cobol85PreprocessorParserAPOST, 0)
  1476. }
  1477. func (s *CompilerOptionContext) LPARENCHAR() antlr.TerminalNode {
  1478. return s.GetToken(Cobol85PreprocessorParserLPARENCHAR, 0)
  1479. }
  1480. func (s *CompilerOptionContext) RPARENCHAR() antlr.TerminalNode {
  1481. return s.GetToken(Cobol85PreprocessorParserRPARENCHAR, 0)
  1482. }
  1483. func (s *CompilerOptionContext) ARITH() antlr.TerminalNode {
  1484. return s.GetToken(Cobol85PreprocessorParserARITH, 0)
  1485. }
  1486. func (s *CompilerOptionContext) AR() antlr.TerminalNode {
  1487. return s.GetToken(Cobol85PreprocessorParserAR, 0)
  1488. }
  1489. func (s *CompilerOptionContext) EXTEND() antlr.TerminalNode {
  1490. return s.GetToken(Cobol85PreprocessorParserEXTEND, 0)
  1491. }
  1492. func (s *CompilerOptionContext) AllE_CHAR() []antlr.TerminalNode {
  1493. return s.GetTokens(Cobol85PreprocessorParserE_CHAR)
  1494. }
  1495. func (s *CompilerOptionContext) E_CHAR(i int) antlr.TerminalNode {
  1496. return s.GetToken(Cobol85PreprocessorParserE_CHAR, i)
  1497. }
  1498. func (s *CompilerOptionContext) COMPAT() antlr.TerminalNode {
  1499. return s.GetToken(Cobol85PreprocessorParserCOMPAT, 0)
  1500. }
  1501. func (s *CompilerOptionContext) C_CHAR() antlr.TerminalNode {
  1502. return s.GetToken(Cobol85PreprocessorParserC_CHAR, 0)
  1503. }
  1504. func (s *CompilerOptionContext) AWO() antlr.TerminalNode {
  1505. return s.GetToken(Cobol85PreprocessorParserAWO, 0)
  1506. }
  1507. func (s *CompilerOptionContext) BLOCK0() antlr.TerminalNode {
  1508. return s.GetToken(Cobol85PreprocessorParserBLOCK0, 0)
  1509. }
  1510. func (s *CompilerOptionContext) AllLiteral() []ILiteralContext {
  1511. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ILiteralContext)(nil)).Elem())
  1512. var tst = make([]ILiteralContext, len(ts))
  1513. for i, t := range ts {
  1514. if t != nil {
  1515. tst[i] = t.(ILiteralContext)
  1516. }
  1517. }
  1518. return tst
  1519. }
  1520. func (s *CompilerOptionContext) Literal(i int) ILiteralContext {
  1521. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), i)
  1522. if t == nil {
  1523. return nil
  1524. }
  1525. return t.(ILiteralContext)
  1526. }
  1527. func (s *CompilerOptionContext) BUFSIZE() antlr.TerminalNode {
  1528. return s.GetToken(Cobol85PreprocessorParserBUFSIZE, 0)
  1529. }
  1530. func (s *CompilerOptionContext) BUF() antlr.TerminalNode {
  1531. return s.GetToken(Cobol85PreprocessorParserBUF, 0)
  1532. }
  1533. func (s *CompilerOptionContext) CBLCARD() antlr.TerminalNode {
  1534. return s.GetToken(Cobol85PreprocessorParserCBLCARD, 0)
  1535. }
  1536. func (s *CompilerOptionContext) CICS() antlr.TerminalNode {
  1537. return s.GetToken(Cobol85PreprocessorParserCICS, 0)
  1538. }
  1539. func (s *CompilerOptionContext) COBOL2() antlr.TerminalNode {
  1540. return s.GetToken(Cobol85PreprocessorParserCOBOL2, 0)
  1541. }
  1542. func (s *CompilerOptionContext) COBOL3() antlr.TerminalNode {
  1543. return s.GetToken(Cobol85PreprocessorParserCOBOL3, 0)
  1544. }
  1545. func (s *CompilerOptionContext) CODEPAGE() antlr.TerminalNode {
  1546. return s.GetToken(Cobol85PreprocessorParserCODEPAGE, 0)
  1547. }
  1548. func (s *CompilerOptionContext) CP() antlr.TerminalNode {
  1549. return s.GetToken(Cobol85PreprocessorParserCP, 0)
  1550. }
  1551. func (s *CompilerOptionContext) COMPILE() antlr.TerminalNode {
  1552. return s.GetToken(Cobol85PreprocessorParserCOMPILE, 0)
  1553. }
  1554. func (s *CompilerOptionContext) CPP() antlr.TerminalNode {
  1555. return s.GetToken(Cobol85PreprocessorParserCPP, 0)
  1556. }
  1557. func (s *CompilerOptionContext) CPSM() antlr.TerminalNode {
  1558. return s.GetToken(Cobol85PreprocessorParserCPSM, 0)
  1559. }
  1560. func (s *CompilerOptionContext) CURRENCY() antlr.TerminalNode {
  1561. return s.GetToken(Cobol85PreprocessorParserCURRENCY, 0)
  1562. }
  1563. func (s *CompilerOptionContext) CURR() antlr.TerminalNode {
  1564. return s.GetToken(Cobol85PreprocessorParserCURR, 0)
  1565. }
  1566. func (s *CompilerOptionContext) DATA() antlr.TerminalNode {
  1567. return s.GetToken(Cobol85PreprocessorParserDATA, 0)
  1568. }
  1569. func (s *CompilerOptionContext) DATEPROC() antlr.TerminalNode {
  1570. return s.GetToken(Cobol85PreprocessorParserDATEPROC, 0)
  1571. }
  1572. func (s *CompilerOptionContext) DP() antlr.TerminalNode {
  1573. return s.GetToken(Cobol85PreprocessorParserDP, 0)
  1574. }
  1575. func (s *CompilerOptionContext) AllCOMMACHAR() []antlr.TerminalNode {
  1576. return s.GetTokens(Cobol85PreprocessorParserCOMMACHAR)
  1577. }
  1578. func (s *CompilerOptionContext) COMMACHAR(i int) antlr.TerminalNode {
  1579. return s.GetToken(Cobol85PreprocessorParserCOMMACHAR, i)
  1580. }
  1581. func (s *CompilerOptionContext) FLAG() antlr.TerminalNode {
  1582. return s.GetToken(Cobol85PreprocessorParserFLAG, 0)
  1583. }
  1584. func (s *CompilerOptionContext) NOFLAG() antlr.TerminalNode {
  1585. return s.GetToken(Cobol85PreprocessorParserNOFLAG, 0)
  1586. }
  1587. func (s *CompilerOptionContext) TRIG() antlr.TerminalNode {
  1588. return s.GetToken(Cobol85PreprocessorParserTRIG, 0)
  1589. }
  1590. func (s *CompilerOptionContext) NOTRIG() antlr.TerminalNode {
  1591. return s.GetToken(Cobol85PreprocessorParserNOTRIG, 0)
  1592. }
  1593. func (s *CompilerOptionContext) DBCS() antlr.TerminalNode {
  1594. return s.GetToken(Cobol85PreprocessorParserDBCS, 0)
  1595. }
  1596. func (s *CompilerOptionContext) DECK() antlr.TerminalNode {
  1597. return s.GetToken(Cobol85PreprocessorParserDECK, 0)
  1598. }
  1599. func (s *CompilerOptionContext) D_CHAR() antlr.TerminalNode {
  1600. return s.GetToken(Cobol85PreprocessorParserD_CHAR, 0)
  1601. }
  1602. func (s *CompilerOptionContext) DEBUG() antlr.TerminalNode {
  1603. return s.GetToken(Cobol85PreprocessorParserDEBUG, 0)
  1604. }
  1605. func (s *CompilerOptionContext) DIAGTRUNC() antlr.TerminalNode {
  1606. return s.GetToken(Cobol85PreprocessorParserDIAGTRUNC, 0)
  1607. }
  1608. func (s *CompilerOptionContext) DTR() antlr.TerminalNode {
  1609. return s.GetToken(Cobol85PreprocessorParserDTR, 0)
  1610. }
  1611. func (s *CompilerOptionContext) DLL() antlr.TerminalNode {
  1612. return s.GetToken(Cobol85PreprocessorParserDLL, 0)
  1613. }
  1614. func (s *CompilerOptionContext) DUMP() antlr.TerminalNode {
  1615. return s.GetToken(Cobol85PreprocessorParserDUMP, 0)
  1616. }
  1617. func (s *CompilerOptionContext) DU() antlr.TerminalNode {
  1618. return s.GetToken(Cobol85PreprocessorParserDU, 0)
  1619. }
  1620. func (s *CompilerOptionContext) DYNAM() antlr.TerminalNode {
  1621. return s.GetToken(Cobol85PreprocessorParserDYNAM, 0)
  1622. }
  1623. func (s *CompilerOptionContext) DYN() antlr.TerminalNode {
  1624. return s.GetToken(Cobol85PreprocessorParserDYN, 0)
  1625. }
  1626. func (s *CompilerOptionContext) EDF() antlr.TerminalNode {
  1627. return s.GetToken(Cobol85PreprocessorParserEDF, 0)
  1628. }
  1629. func (s *CompilerOptionContext) EPILOG() antlr.TerminalNode {
  1630. return s.GetToken(Cobol85PreprocessorParserEPILOG, 0)
  1631. }
  1632. func (s *CompilerOptionContext) EXIT() antlr.TerminalNode {
  1633. return s.GetToken(Cobol85PreprocessorParserEXIT, 0)
  1634. }
  1635. func (s *CompilerOptionContext) EXPORTALL() antlr.TerminalNode {
  1636. return s.GetToken(Cobol85PreprocessorParserEXPORTALL, 0)
  1637. }
  1638. func (s *CompilerOptionContext) EXP() antlr.TerminalNode {
  1639. return s.GetToken(Cobol85PreprocessorParserEXP, 0)
  1640. }
  1641. func (s *CompilerOptionContext) FASTSRT() antlr.TerminalNode {
  1642. return s.GetToken(Cobol85PreprocessorParserFASTSRT, 0)
  1643. }
  1644. func (s *CompilerOptionContext) FSRT() antlr.TerminalNode {
  1645. return s.GetToken(Cobol85PreprocessorParserFSRT, 0)
  1646. }
  1647. func (s *CompilerOptionContext) FEPI() antlr.TerminalNode {
  1648. return s.GetToken(Cobol85PreprocessorParserFEPI, 0)
  1649. }
  1650. func (s *CompilerOptionContext) F_CHAR() antlr.TerminalNode {
  1651. return s.GetToken(Cobol85PreprocessorParserF_CHAR, 0)
  1652. }
  1653. func (s *CompilerOptionContext) AllI_CHAR() []antlr.TerminalNode {
  1654. return s.GetTokens(Cobol85PreprocessorParserI_CHAR)
  1655. }
  1656. func (s *CompilerOptionContext) I_CHAR(i int) antlr.TerminalNode {
  1657. return s.GetToken(Cobol85PreprocessorParserI_CHAR, i)
  1658. }
  1659. func (s *CompilerOptionContext) AllS_CHAR() []antlr.TerminalNode {
  1660. return s.GetTokens(Cobol85PreprocessorParserS_CHAR)
  1661. }
  1662. func (s *CompilerOptionContext) S_CHAR(i int) antlr.TerminalNode {
  1663. return s.GetToken(Cobol85PreprocessorParserS_CHAR, i)
  1664. }
  1665. func (s *CompilerOptionContext) AllU_CHAR() []antlr.TerminalNode {
  1666. return s.GetTokens(Cobol85PreprocessorParserU_CHAR)
  1667. }
  1668. func (s *CompilerOptionContext) U_CHAR(i int) antlr.TerminalNode {
  1669. return s.GetToken(Cobol85PreprocessorParserU_CHAR, i)
  1670. }
  1671. func (s *CompilerOptionContext) AllW_CHAR() []antlr.TerminalNode {
  1672. return s.GetTokens(Cobol85PreprocessorParserW_CHAR)
  1673. }
  1674. func (s *CompilerOptionContext) W_CHAR(i int) antlr.TerminalNode {
  1675. return s.GetToken(Cobol85PreprocessorParserW_CHAR, i)
  1676. }
  1677. func (s *CompilerOptionContext) FLAGSTD() antlr.TerminalNode {
  1678. return s.GetToken(Cobol85PreprocessorParserFLAGSTD, 0)
  1679. }
  1680. func (s *CompilerOptionContext) M_CHAR() antlr.TerminalNode {
  1681. return s.GetToken(Cobol85PreprocessorParserM_CHAR, 0)
  1682. }
  1683. func (s *CompilerOptionContext) H_CHAR() antlr.TerminalNode {
  1684. return s.GetToken(Cobol85PreprocessorParserH_CHAR, 0)
  1685. }
  1686. func (s *CompilerOptionContext) DD() antlr.TerminalNode {
  1687. return s.GetToken(Cobol85PreprocessorParserDD, 0)
  1688. }
  1689. func (s *CompilerOptionContext) N_CHAR() antlr.TerminalNode {
  1690. return s.GetToken(Cobol85PreprocessorParserN_CHAR, 0)
  1691. }
  1692. func (s *CompilerOptionContext) NN() antlr.TerminalNode {
  1693. return s.GetToken(Cobol85PreprocessorParserNN, 0)
  1694. }
  1695. func (s *CompilerOptionContext) SS() antlr.TerminalNode {
  1696. return s.GetToken(Cobol85PreprocessorParserSS, 0)
  1697. }
  1698. func (s *CompilerOptionContext) GDS() antlr.TerminalNode {
  1699. return s.GetToken(Cobol85PreprocessorParserGDS, 0)
  1700. }
  1701. func (s *CompilerOptionContext) GRAPHIC() antlr.TerminalNode {
  1702. return s.GetToken(Cobol85PreprocessorParserGRAPHIC, 0)
  1703. }
  1704. func (s *CompilerOptionContext) INTDATE() antlr.TerminalNode {
  1705. return s.GetToken(Cobol85PreprocessorParserINTDATE, 0)
  1706. }
  1707. func (s *CompilerOptionContext) ANSI() antlr.TerminalNode {
  1708. return s.GetToken(Cobol85PreprocessorParserANSI, 0)
  1709. }
  1710. func (s *CompilerOptionContext) LILIAN() antlr.TerminalNode {
  1711. return s.GetToken(Cobol85PreprocessorParserLILIAN, 0)
  1712. }
  1713. func (s *CompilerOptionContext) LANGUAGE() antlr.TerminalNode {
  1714. return s.GetToken(Cobol85PreprocessorParserLANGUAGE, 0)
  1715. }
  1716. func (s *CompilerOptionContext) LANG() antlr.TerminalNode {
  1717. return s.GetToken(Cobol85PreprocessorParserLANG, 0)
  1718. }
  1719. func (s *CompilerOptionContext) ENGLISH() antlr.TerminalNode {
  1720. return s.GetToken(Cobol85PreprocessorParserENGLISH, 0)
  1721. }
  1722. func (s *CompilerOptionContext) CS() antlr.TerminalNode {
  1723. return s.GetToken(Cobol85PreprocessorParserCS, 0)
  1724. }
  1725. func (s *CompilerOptionContext) EN() antlr.TerminalNode {
  1726. return s.GetToken(Cobol85PreprocessorParserEN, 0)
  1727. }
  1728. func (s *CompilerOptionContext) JA() antlr.TerminalNode {
  1729. return s.GetToken(Cobol85PreprocessorParserJA, 0)
  1730. }
  1731. func (s *CompilerOptionContext) JP() antlr.TerminalNode {
  1732. return s.GetToken(Cobol85PreprocessorParserJP, 0)
  1733. }
  1734. func (s *CompilerOptionContext) KA() antlr.TerminalNode {
  1735. return s.GetToken(Cobol85PreprocessorParserKA, 0)
  1736. }
  1737. func (s *CompilerOptionContext) UE() antlr.TerminalNode {
  1738. return s.GetToken(Cobol85PreprocessorParserUE, 0)
  1739. }
  1740. func (s *CompilerOptionContext) LEASM() antlr.TerminalNode {
  1741. return s.GetToken(Cobol85PreprocessorParserLEASM, 0)
  1742. }
  1743. func (s *CompilerOptionContext) LENGTH() antlr.TerminalNode {
  1744. return s.GetToken(Cobol85PreprocessorParserLENGTH, 0)
  1745. }
  1746. func (s *CompilerOptionContext) LIB() antlr.TerminalNode {
  1747. return s.GetToken(Cobol85PreprocessorParserLIB, 0)
  1748. }
  1749. func (s *CompilerOptionContext) LIN() antlr.TerminalNode {
  1750. return s.GetToken(Cobol85PreprocessorParserLIN, 0)
  1751. }
  1752. func (s *CompilerOptionContext) LINECOUNT() antlr.TerminalNode {
  1753. return s.GetToken(Cobol85PreprocessorParserLINECOUNT, 0)
  1754. }
  1755. func (s *CompilerOptionContext) LC() antlr.TerminalNode {
  1756. return s.GetToken(Cobol85PreprocessorParserLC, 0)
  1757. }
  1758. func (s *CompilerOptionContext) LINKAGE() antlr.TerminalNode {
  1759. return s.GetToken(Cobol85PreprocessorParserLINKAGE, 0)
  1760. }
  1761. func (s *CompilerOptionContext) LIST() antlr.TerminalNode {
  1762. return s.GetToken(Cobol85PreprocessorParserLIST, 0)
  1763. }
  1764. func (s *CompilerOptionContext) MAP() antlr.TerminalNode {
  1765. return s.GetToken(Cobol85PreprocessorParserMAP, 0)
  1766. }
  1767. func (s *CompilerOptionContext) MARGINS() antlr.TerminalNode {
  1768. return s.GetToken(Cobol85PreprocessorParserMARGINS, 0)
  1769. }
  1770. func (s *CompilerOptionContext) MDECK() antlr.TerminalNode {
  1771. return s.GetToken(Cobol85PreprocessorParserMDECK, 0)
  1772. }
  1773. func (s *CompilerOptionContext) MD() antlr.TerminalNode {
  1774. return s.GetToken(Cobol85PreprocessorParserMD, 0)
  1775. }
  1776. func (s *CompilerOptionContext) NOC() antlr.TerminalNode {
  1777. return s.GetToken(Cobol85PreprocessorParserNOC, 0)
  1778. }
  1779. func (s *CompilerOptionContext) NOCOMPILE() antlr.TerminalNode {
  1780. return s.GetToken(Cobol85PreprocessorParserNOCOMPILE, 0)
  1781. }
  1782. func (s *CompilerOptionContext) NAME() antlr.TerminalNode {
  1783. return s.GetToken(Cobol85PreprocessorParserNAME, 0)
  1784. }
  1785. func (s *CompilerOptionContext) ALIAS() antlr.TerminalNode {
  1786. return s.GetToken(Cobol85PreprocessorParserALIAS, 0)
  1787. }
  1788. func (s *CompilerOptionContext) NOALIAS() antlr.TerminalNode {
  1789. return s.GetToken(Cobol85PreprocessorParserNOALIAS, 0)
  1790. }
  1791. func (s *CompilerOptionContext) NATLANG() antlr.TerminalNode {
  1792. return s.GetToken(Cobol85PreprocessorParserNATLANG, 0)
  1793. }
  1794. func (s *CompilerOptionContext) NOADATA() antlr.TerminalNode {
  1795. return s.GetToken(Cobol85PreprocessorParserNOADATA, 0)
  1796. }
  1797. func (s *CompilerOptionContext) NOADV() antlr.TerminalNode {
  1798. return s.GetToken(Cobol85PreprocessorParserNOADV, 0)
  1799. }
  1800. func (s *CompilerOptionContext) NOAWO() antlr.TerminalNode {
  1801. return s.GetToken(Cobol85PreprocessorParserNOAWO, 0)
  1802. }
  1803. func (s *CompilerOptionContext) NOBLOCK0() antlr.TerminalNode {
  1804. return s.GetToken(Cobol85PreprocessorParserNOBLOCK0, 0)
  1805. }
  1806. func (s *CompilerOptionContext) NOCBLCARD() antlr.TerminalNode {
  1807. return s.GetToken(Cobol85PreprocessorParserNOCBLCARD, 0)
  1808. }
  1809. func (s *CompilerOptionContext) NOCICS() antlr.TerminalNode {
  1810. return s.GetToken(Cobol85PreprocessorParserNOCICS, 0)
  1811. }
  1812. func (s *CompilerOptionContext) NOCMPR2() antlr.TerminalNode {
  1813. return s.GetToken(Cobol85PreprocessorParserNOCMPR2, 0)
  1814. }
  1815. func (s *CompilerOptionContext) NOCPSM() antlr.TerminalNode {
  1816. return s.GetToken(Cobol85PreprocessorParserNOCPSM, 0)
  1817. }
  1818. func (s *CompilerOptionContext) NOCURRENCY() antlr.TerminalNode {
  1819. return s.GetToken(Cobol85PreprocessorParserNOCURRENCY, 0)
  1820. }
  1821. func (s *CompilerOptionContext) NOCURR() antlr.TerminalNode {
  1822. return s.GetToken(Cobol85PreprocessorParserNOCURR, 0)
  1823. }
  1824. func (s *CompilerOptionContext) NODATEPROC() antlr.TerminalNode {
  1825. return s.GetToken(Cobol85PreprocessorParserNODATEPROC, 0)
  1826. }
  1827. func (s *CompilerOptionContext) NODP() antlr.TerminalNode {
  1828. return s.GetToken(Cobol85PreprocessorParserNODP, 0)
  1829. }
  1830. func (s *CompilerOptionContext) NODBCS() antlr.TerminalNode {
  1831. return s.GetToken(Cobol85PreprocessorParserNODBCS, 0)
  1832. }
  1833. func (s *CompilerOptionContext) NODEBUG() antlr.TerminalNode {
  1834. return s.GetToken(Cobol85PreprocessorParserNODEBUG, 0)
  1835. }
  1836. func (s *CompilerOptionContext) NODECK() antlr.TerminalNode {
  1837. return s.GetToken(Cobol85PreprocessorParserNODECK, 0)
  1838. }
  1839. func (s *CompilerOptionContext) NOD() antlr.TerminalNode {
  1840. return s.GetToken(Cobol85PreprocessorParserNOD, 0)
  1841. }
  1842. func (s *CompilerOptionContext) NODLL() antlr.TerminalNode {
  1843. return s.GetToken(Cobol85PreprocessorParserNODLL, 0)
  1844. }
  1845. func (s *CompilerOptionContext) NODE() antlr.TerminalNode {
  1846. return s.GetToken(Cobol85PreprocessorParserNODE, 0)
  1847. }
  1848. func (s *CompilerOptionContext) NODUMP() antlr.TerminalNode {
  1849. return s.GetToken(Cobol85PreprocessorParserNODUMP, 0)
  1850. }
  1851. func (s *CompilerOptionContext) NODU() antlr.TerminalNode {
  1852. return s.GetToken(Cobol85PreprocessorParserNODU, 0)
  1853. }
  1854. func (s *CompilerOptionContext) NODIAGTRUNC() antlr.TerminalNode {
  1855. return s.GetToken(Cobol85PreprocessorParserNODIAGTRUNC, 0)
  1856. }
  1857. func (s *CompilerOptionContext) NODTR() antlr.TerminalNode {
  1858. return s.GetToken(Cobol85PreprocessorParserNODTR, 0)
  1859. }
  1860. func (s *CompilerOptionContext) NODYNAM() antlr.TerminalNode {
  1861. return s.GetToken(Cobol85PreprocessorParserNODYNAM, 0)
  1862. }
  1863. func (s *CompilerOptionContext) NODYN() antlr.TerminalNode {
  1864. return s.GetToken(Cobol85PreprocessorParserNODYN, 0)
  1865. }
  1866. func (s *CompilerOptionContext) NOEDF() antlr.TerminalNode {
  1867. return s.GetToken(Cobol85PreprocessorParserNOEDF, 0)
  1868. }
  1869. func (s *CompilerOptionContext) NOEPILOG() antlr.TerminalNode {
  1870. return s.GetToken(Cobol85PreprocessorParserNOEPILOG, 0)
  1871. }
  1872. func (s *CompilerOptionContext) NOEXIT() antlr.TerminalNode {
  1873. return s.GetToken(Cobol85PreprocessorParserNOEXIT, 0)
  1874. }
  1875. func (s *CompilerOptionContext) NOEXPORTALL() antlr.TerminalNode {
  1876. return s.GetToken(Cobol85PreprocessorParserNOEXPORTALL, 0)
  1877. }
  1878. func (s *CompilerOptionContext) NOEXP() antlr.TerminalNode {
  1879. return s.GetToken(Cobol85PreprocessorParserNOEXP, 0)
  1880. }
  1881. func (s *CompilerOptionContext) NOFASTSRT() antlr.TerminalNode {
  1882. return s.GetToken(Cobol85PreprocessorParserNOFASTSRT, 0)
  1883. }
  1884. func (s *CompilerOptionContext) NOFSRT() antlr.TerminalNode {
  1885. return s.GetToken(Cobol85PreprocessorParserNOFSRT, 0)
  1886. }
  1887. func (s *CompilerOptionContext) NOFEPI() antlr.TerminalNode {
  1888. return s.GetToken(Cobol85PreprocessorParserNOFEPI, 0)
  1889. }
  1890. func (s *CompilerOptionContext) NOF() antlr.TerminalNode {
  1891. return s.GetToken(Cobol85PreprocessorParserNOF, 0)
  1892. }
  1893. func (s *CompilerOptionContext) NOFLAGMIG() antlr.TerminalNode {
  1894. return s.GetToken(Cobol85PreprocessorParserNOFLAGMIG, 0)
  1895. }
  1896. func (s *CompilerOptionContext) NOFLAGSTD() antlr.TerminalNode {
  1897. return s.GetToken(Cobol85PreprocessorParserNOFLAGSTD, 0)
  1898. }
  1899. func (s *CompilerOptionContext) NOGRAPHIC() antlr.TerminalNode {
  1900. return s.GetToken(Cobol85PreprocessorParserNOGRAPHIC, 0)
  1901. }
  1902. func (s *CompilerOptionContext) NOLENGTH() antlr.TerminalNode {
  1903. return s.GetToken(Cobol85PreprocessorParserNOLENGTH, 0)
  1904. }
  1905. func (s *CompilerOptionContext) NOLIB() antlr.TerminalNode {
  1906. return s.GetToken(Cobol85PreprocessorParserNOLIB, 0)
  1907. }
  1908. func (s *CompilerOptionContext) NOLINKAGE() antlr.TerminalNode {
  1909. return s.GetToken(Cobol85PreprocessorParserNOLINKAGE, 0)
  1910. }
  1911. func (s *CompilerOptionContext) NOLIST() antlr.TerminalNode {
  1912. return s.GetToken(Cobol85PreprocessorParserNOLIST, 0)
  1913. }
  1914. func (s *CompilerOptionContext) NOMAP() antlr.TerminalNode {
  1915. return s.GetToken(Cobol85PreprocessorParserNOMAP, 0)
  1916. }
  1917. func (s *CompilerOptionContext) NOMDECK() antlr.TerminalNode {
  1918. return s.GetToken(Cobol85PreprocessorParserNOMDECK, 0)
  1919. }
  1920. func (s *CompilerOptionContext) NOMD() antlr.TerminalNode {
  1921. return s.GetToken(Cobol85PreprocessorParserNOMD, 0)
  1922. }
  1923. func (s *CompilerOptionContext) NONAME() antlr.TerminalNode {
  1924. return s.GetToken(Cobol85PreprocessorParserNONAME, 0)
  1925. }
  1926. func (s *CompilerOptionContext) NONUMBER() antlr.TerminalNode {
  1927. return s.GetToken(Cobol85PreprocessorParserNONUMBER, 0)
  1928. }
  1929. func (s *CompilerOptionContext) NONUM() antlr.TerminalNode {
  1930. return s.GetToken(Cobol85PreprocessorParserNONUM, 0)
  1931. }
  1932. func (s *CompilerOptionContext) NOOBJECT() antlr.TerminalNode {
  1933. return s.GetToken(Cobol85PreprocessorParserNOOBJECT, 0)
  1934. }
  1935. func (s *CompilerOptionContext) NOOBJ() antlr.TerminalNode {
  1936. return s.GetToken(Cobol85PreprocessorParserNOOBJ, 0)
  1937. }
  1938. func (s *CompilerOptionContext) NOOFFSET() antlr.TerminalNode {
  1939. return s.GetToken(Cobol85PreprocessorParserNOOFFSET, 0)
  1940. }
  1941. func (s *CompilerOptionContext) NOOFF() antlr.TerminalNode {
  1942. return s.GetToken(Cobol85PreprocessorParserNOOFF, 0)
  1943. }
  1944. func (s *CompilerOptionContext) NOOPSEQUENCE() antlr.TerminalNode {
  1945. return s.GetToken(Cobol85PreprocessorParserNOOPSEQUENCE, 0)
  1946. }
  1947. func (s *CompilerOptionContext) NOOPTIMIZE() antlr.TerminalNode {
  1948. return s.GetToken(Cobol85PreprocessorParserNOOPTIMIZE, 0)
  1949. }
  1950. func (s *CompilerOptionContext) NOOPT() antlr.TerminalNode {
  1951. return s.GetToken(Cobol85PreprocessorParserNOOPT, 0)
  1952. }
  1953. func (s *CompilerOptionContext) NOOPTIONS() antlr.TerminalNode {
  1954. return s.GetToken(Cobol85PreprocessorParserNOOPTIONS, 0)
  1955. }
  1956. func (s *CompilerOptionContext) NOP() antlr.TerminalNode {
  1957. return s.GetToken(Cobol85PreprocessorParserNOP, 0)
  1958. }
  1959. func (s *CompilerOptionContext) NOPROLOG() antlr.TerminalNode {
  1960. return s.GetToken(Cobol85PreprocessorParserNOPROLOG, 0)
  1961. }
  1962. func (s *CompilerOptionContext) NORENT() antlr.TerminalNode {
  1963. return s.GetToken(Cobol85PreprocessorParserNORENT, 0)
  1964. }
  1965. func (s *CompilerOptionContext) NOSEQUENCE() antlr.TerminalNode {
  1966. return s.GetToken(Cobol85PreprocessorParserNOSEQUENCE, 0)
  1967. }
  1968. func (s *CompilerOptionContext) NOSEQ() antlr.TerminalNode {
  1969. return s.GetToken(Cobol85PreprocessorParserNOSEQ, 0)
  1970. }
  1971. func (s *CompilerOptionContext) NOSOURCE() antlr.TerminalNode {
  1972. return s.GetToken(Cobol85PreprocessorParserNOSOURCE, 0)
  1973. }
  1974. func (s *CompilerOptionContext) NOS() antlr.TerminalNode {
  1975. return s.GetToken(Cobol85PreprocessorParserNOS, 0)
  1976. }
  1977. func (s *CompilerOptionContext) NOSPIE() antlr.TerminalNode {
  1978. return s.GetToken(Cobol85PreprocessorParserNOSPIE, 0)
  1979. }
  1980. func (s *CompilerOptionContext) NOSQL() antlr.TerminalNode {
  1981. return s.GetToken(Cobol85PreprocessorParserNOSQL, 0)
  1982. }
  1983. func (s *CompilerOptionContext) NOSQLCCSID() antlr.TerminalNode {
  1984. return s.GetToken(Cobol85PreprocessorParserNOSQLCCSID, 0)
  1985. }
  1986. func (s *CompilerOptionContext) NOSQLC() antlr.TerminalNode {
  1987. return s.GetToken(Cobol85PreprocessorParserNOSQLC, 0)
  1988. }
  1989. func (s *CompilerOptionContext) NOSSRANGE() antlr.TerminalNode {
  1990. return s.GetToken(Cobol85PreprocessorParserNOSSRANGE, 0)
  1991. }
  1992. func (s *CompilerOptionContext) NOSSR() antlr.TerminalNode {
  1993. return s.GetToken(Cobol85PreprocessorParserNOSSR, 0)
  1994. }
  1995. func (s *CompilerOptionContext) NOSTDTRUNC() antlr.TerminalNode {
  1996. return s.GetToken(Cobol85PreprocessorParserNOSTDTRUNC, 0)
  1997. }
  1998. func (s *CompilerOptionContext) NOTERMINAL() antlr.TerminalNode {
  1999. return s.GetToken(Cobol85PreprocessorParserNOTERMINAL, 0)
  2000. }
  2001. func (s *CompilerOptionContext) NOTERM() antlr.TerminalNode {
  2002. return s.GetToken(Cobol85PreprocessorParserNOTERM, 0)
  2003. }
  2004. func (s *CompilerOptionContext) NOTEST() antlr.TerminalNode {
  2005. return s.GetToken(Cobol85PreprocessorParserNOTEST, 0)
  2006. }
  2007. func (s *CompilerOptionContext) NOTHREAD() antlr.TerminalNode {
  2008. return s.GetToken(Cobol85PreprocessorParserNOTHREAD, 0)
  2009. }
  2010. func (s *CompilerOptionContext) NOVBREF() antlr.TerminalNode {
  2011. return s.GetToken(Cobol85PreprocessorParserNOVBREF, 0)
  2012. }
  2013. func (s *CompilerOptionContext) NOWORD() antlr.TerminalNode {
  2014. return s.GetToken(Cobol85PreprocessorParserNOWORD, 0)
  2015. }
  2016. func (s *CompilerOptionContext) NOWD() antlr.TerminalNode {
  2017. return s.GetToken(Cobol85PreprocessorParserNOWD, 0)
  2018. }
  2019. func (s *CompilerOptionContext) NSEQ() antlr.TerminalNode {
  2020. return s.GetToken(Cobol85PreprocessorParserNSEQ, 0)
  2021. }
  2022. func (s *CompilerOptionContext) NSYMBOL() antlr.TerminalNode {
  2023. return s.GetToken(Cobol85PreprocessorParserNSYMBOL, 0)
  2024. }
  2025. func (s *CompilerOptionContext) NS() antlr.TerminalNode {
  2026. return s.GetToken(Cobol85PreprocessorParserNS, 0)
  2027. }
  2028. func (s *CompilerOptionContext) NATIONAL() antlr.TerminalNode {
  2029. return s.GetToken(Cobol85PreprocessorParserNATIONAL, 0)
  2030. }
  2031. func (s *CompilerOptionContext) NAT() antlr.TerminalNode {
  2032. return s.GetToken(Cobol85PreprocessorParserNAT, 0)
  2033. }
  2034. func (s *CompilerOptionContext) NOXREF() antlr.TerminalNode {
  2035. return s.GetToken(Cobol85PreprocessorParserNOXREF, 0)
  2036. }
  2037. func (s *CompilerOptionContext) NOX() antlr.TerminalNode {
  2038. return s.GetToken(Cobol85PreprocessorParserNOX, 0)
  2039. }
  2040. func (s *CompilerOptionContext) NOZWB() antlr.TerminalNode {
  2041. return s.GetToken(Cobol85PreprocessorParserNOZWB, 0)
  2042. }
  2043. func (s *CompilerOptionContext) NUMBER() antlr.TerminalNode {
  2044. return s.GetToken(Cobol85PreprocessorParserNUMBER, 0)
  2045. }
  2046. func (s *CompilerOptionContext) NUM() antlr.TerminalNode {
  2047. return s.GetToken(Cobol85PreprocessorParserNUM, 0)
  2048. }
  2049. func (s *CompilerOptionContext) NUMPROC() antlr.TerminalNode {
  2050. return s.GetToken(Cobol85PreprocessorParserNUMPROC, 0)
  2051. }
  2052. func (s *CompilerOptionContext) MIG() antlr.TerminalNode {
  2053. return s.GetToken(Cobol85PreprocessorParserMIG, 0)
  2054. }
  2055. func (s *CompilerOptionContext) NOPFD() antlr.TerminalNode {
  2056. return s.GetToken(Cobol85PreprocessorParserNOPFD, 0)
  2057. }
  2058. func (s *CompilerOptionContext) PFD() antlr.TerminalNode {
  2059. return s.GetToken(Cobol85PreprocessorParserPFD, 0)
  2060. }
  2061. func (s *CompilerOptionContext) OBJECT() antlr.TerminalNode {
  2062. return s.GetToken(Cobol85PreprocessorParserOBJECT, 0)
  2063. }
  2064. func (s *CompilerOptionContext) OBJ() antlr.TerminalNode {
  2065. return s.GetToken(Cobol85PreprocessorParserOBJ, 0)
  2066. }
  2067. func (s *CompilerOptionContext) OFFSET() antlr.TerminalNode {
  2068. return s.GetToken(Cobol85PreprocessorParserOFFSET, 0)
  2069. }
  2070. func (s *CompilerOptionContext) OFF() antlr.TerminalNode {
  2071. return s.GetToken(Cobol85PreprocessorParserOFF, 0)
  2072. }
  2073. func (s *CompilerOptionContext) OPMARGINS() antlr.TerminalNode {
  2074. return s.GetToken(Cobol85PreprocessorParserOPMARGINS, 0)
  2075. }
  2076. func (s *CompilerOptionContext) OPSEQUENCE() antlr.TerminalNode {
  2077. return s.GetToken(Cobol85PreprocessorParserOPSEQUENCE, 0)
  2078. }
  2079. func (s *CompilerOptionContext) OPTIMIZE() antlr.TerminalNode {
  2080. return s.GetToken(Cobol85PreprocessorParserOPTIMIZE, 0)
  2081. }
  2082. func (s *CompilerOptionContext) OPT() antlr.TerminalNode {
  2083. return s.GetToken(Cobol85PreprocessorParserOPT, 0)
  2084. }
  2085. func (s *CompilerOptionContext) FULL() antlr.TerminalNode {
  2086. return s.GetToken(Cobol85PreprocessorParserFULL, 0)
  2087. }
  2088. func (s *CompilerOptionContext) STD() antlr.TerminalNode {
  2089. return s.GetToken(Cobol85PreprocessorParserSTD, 0)
  2090. }
  2091. func (s *CompilerOptionContext) OPTFILE() antlr.TerminalNode {
  2092. return s.GetToken(Cobol85PreprocessorParserOPTFILE, 0)
  2093. }
  2094. func (s *CompilerOptionContext) OPTIONS() antlr.TerminalNode {
  2095. return s.GetToken(Cobol85PreprocessorParserOPTIONS, 0)
  2096. }
  2097. func (s *CompilerOptionContext) OP() antlr.TerminalNode {
  2098. return s.GetToken(Cobol85PreprocessorParserOP, 0)
  2099. }
  2100. func (s *CompilerOptionContext) CobolWord() ICobolWordContext {
  2101. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICobolWordContext)(nil)).Elem(), 0)
  2102. if t == nil {
  2103. return nil
  2104. }
  2105. return t.(ICobolWordContext)
  2106. }
  2107. func (s *CompilerOptionContext) OUTDD() antlr.TerminalNode {
  2108. return s.GetToken(Cobol85PreprocessorParserOUTDD, 0)
  2109. }
  2110. func (s *CompilerOptionContext) OUT() antlr.TerminalNode {
  2111. return s.GetToken(Cobol85PreprocessorParserOUT, 0)
  2112. }
  2113. func (s *CompilerOptionContext) PGMNAME() antlr.TerminalNode {
  2114. return s.GetToken(Cobol85PreprocessorParserPGMNAME, 0)
  2115. }
  2116. func (s *CompilerOptionContext) PGMN() antlr.TerminalNode {
  2117. return s.GetToken(Cobol85PreprocessorParserPGMN, 0)
  2118. }
  2119. func (s *CompilerOptionContext) CO() antlr.TerminalNode {
  2120. return s.GetToken(Cobol85PreprocessorParserCO, 0)
  2121. }
  2122. func (s *CompilerOptionContext) LM() antlr.TerminalNode {
  2123. return s.GetToken(Cobol85PreprocessorParserLM, 0)
  2124. }
  2125. func (s *CompilerOptionContext) LONGMIXED() antlr.TerminalNode {
  2126. return s.GetToken(Cobol85PreprocessorParserLONGMIXED, 0)
  2127. }
  2128. func (s *CompilerOptionContext) LONGUPPER() antlr.TerminalNode {
  2129. return s.GetToken(Cobol85PreprocessorParserLONGUPPER, 0)
  2130. }
  2131. func (s *CompilerOptionContext) LU() antlr.TerminalNode {
  2132. return s.GetToken(Cobol85PreprocessorParserLU, 0)
  2133. }
  2134. func (s *CompilerOptionContext) MIXED() antlr.TerminalNode {
  2135. return s.GetToken(Cobol85PreprocessorParserMIXED, 0)
  2136. }
  2137. func (s *CompilerOptionContext) UPPER() antlr.TerminalNode {
  2138. return s.GetToken(Cobol85PreprocessorParserUPPER, 0)
  2139. }
  2140. func (s *CompilerOptionContext) PROLOG() antlr.TerminalNode {
  2141. return s.GetToken(Cobol85PreprocessorParserPROLOG, 0)
  2142. }
  2143. func (s *CompilerOptionContext) QUOTE() antlr.TerminalNode {
  2144. return s.GetToken(Cobol85PreprocessorParserQUOTE, 0)
  2145. }
  2146. func (s *CompilerOptionContext) Q_CHAR() antlr.TerminalNode {
  2147. return s.GetToken(Cobol85PreprocessorParserQ_CHAR, 0)
  2148. }
  2149. func (s *CompilerOptionContext) RENT() antlr.TerminalNode {
  2150. return s.GetToken(Cobol85PreprocessorParserRENT, 0)
  2151. }
  2152. func (s *CompilerOptionContext) RMODE() antlr.TerminalNode {
  2153. return s.GetToken(Cobol85PreprocessorParserRMODE, 0)
  2154. }
  2155. func (s *CompilerOptionContext) ANY() antlr.TerminalNode {
  2156. return s.GetToken(Cobol85PreprocessorParserANY, 0)
  2157. }
  2158. func (s *CompilerOptionContext) AUTO() antlr.TerminalNode {
  2159. return s.GetToken(Cobol85PreprocessorParserAUTO, 0)
  2160. }
  2161. func (s *CompilerOptionContext) SEQUENCE() antlr.TerminalNode {
  2162. return s.GetToken(Cobol85PreprocessorParserSEQUENCE, 0)
  2163. }
  2164. func (s *CompilerOptionContext) SEQ() antlr.TerminalNode {
  2165. return s.GetToken(Cobol85PreprocessorParserSEQ, 0)
  2166. }
  2167. func (s *CompilerOptionContext) SIZE() antlr.TerminalNode {
  2168. return s.GetToken(Cobol85PreprocessorParserSIZE, 0)
  2169. }
  2170. func (s *CompilerOptionContext) SZ() antlr.TerminalNode {
  2171. return s.GetToken(Cobol85PreprocessorParserSZ, 0)
  2172. }
  2173. func (s *CompilerOptionContext) MAX() antlr.TerminalNode {
  2174. return s.GetToken(Cobol85PreprocessorParserMAX, 0)
  2175. }
  2176. func (s *CompilerOptionContext) SOURCE() antlr.TerminalNode {
  2177. return s.GetToken(Cobol85PreprocessorParserSOURCE, 0)
  2178. }
  2179. func (s *CompilerOptionContext) SP() antlr.TerminalNode {
  2180. return s.GetToken(Cobol85PreprocessorParserSP, 0)
  2181. }
  2182. func (s *CompilerOptionContext) SPACE() antlr.TerminalNode {
  2183. return s.GetToken(Cobol85PreprocessorParserSPACE, 0)
  2184. }
  2185. func (s *CompilerOptionContext) SPIE() antlr.TerminalNode {
  2186. return s.GetToken(Cobol85PreprocessorParserSPIE, 0)
  2187. }
  2188. func (s *CompilerOptionContext) SQL() antlr.TerminalNode {
  2189. return s.GetToken(Cobol85PreprocessorParserSQL, 0)
  2190. }
  2191. func (s *CompilerOptionContext) SQLCCSID() antlr.TerminalNode {
  2192. return s.GetToken(Cobol85PreprocessorParserSQLCCSID, 0)
  2193. }
  2194. func (s *CompilerOptionContext) SQLC() antlr.TerminalNode {
  2195. return s.GetToken(Cobol85PreprocessorParserSQLC, 0)
  2196. }
  2197. func (s *CompilerOptionContext) SSRANGE() antlr.TerminalNode {
  2198. return s.GetToken(Cobol85PreprocessorParserSSRANGE, 0)
  2199. }
  2200. func (s *CompilerOptionContext) SSR() antlr.TerminalNode {
  2201. return s.GetToken(Cobol85PreprocessorParserSSR, 0)
  2202. }
  2203. func (s *CompilerOptionContext) SYSEIB() antlr.TerminalNode {
  2204. return s.GetToken(Cobol85PreprocessorParserSYSEIB, 0)
  2205. }
  2206. func (s *CompilerOptionContext) TERMINAL() antlr.TerminalNode {
  2207. return s.GetToken(Cobol85PreprocessorParserTERMINAL, 0)
  2208. }
  2209. func (s *CompilerOptionContext) TERM() antlr.TerminalNode {
  2210. return s.GetToken(Cobol85PreprocessorParserTERM, 0)
  2211. }
  2212. func (s *CompilerOptionContext) TEST() antlr.TerminalNode {
  2213. return s.GetToken(Cobol85PreprocessorParserTEST, 0)
  2214. }
  2215. func (s *CompilerOptionContext) HOOK() antlr.TerminalNode {
  2216. return s.GetToken(Cobol85PreprocessorParserHOOK, 0)
  2217. }
  2218. func (s *CompilerOptionContext) NOHOOK() antlr.TerminalNode {
  2219. return s.GetToken(Cobol85PreprocessorParserNOHOOK, 0)
  2220. }
  2221. func (s *CompilerOptionContext) SEP() antlr.TerminalNode {
  2222. return s.GetToken(Cobol85PreprocessorParserSEP, 0)
  2223. }
  2224. func (s *CompilerOptionContext) SEPARATE() antlr.TerminalNode {
  2225. return s.GetToken(Cobol85PreprocessorParserSEPARATE, 0)
  2226. }
  2227. func (s *CompilerOptionContext) NOSEP() antlr.TerminalNode {
  2228. return s.GetToken(Cobol85PreprocessorParserNOSEP, 0)
  2229. }
  2230. func (s *CompilerOptionContext) NOSEPARATE() antlr.TerminalNode {
  2231. return s.GetToken(Cobol85PreprocessorParserNOSEPARATE, 0)
  2232. }
  2233. func (s *CompilerOptionContext) EJPD() antlr.TerminalNode {
  2234. return s.GetToken(Cobol85PreprocessorParserEJPD, 0)
  2235. }
  2236. func (s *CompilerOptionContext) NOEJPD() antlr.TerminalNode {
  2237. return s.GetToken(Cobol85PreprocessorParserNOEJPD, 0)
  2238. }
  2239. func (s *CompilerOptionContext) THREAD() antlr.TerminalNode {
  2240. return s.GetToken(Cobol85PreprocessorParserTHREAD, 0)
  2241. }
  2242. func (s *CompilerOptionContext) TRUNC() antlr.TerminalNode {
  2243. return s.GetToken(Cobol85PreprocessorParserTRUNC, 0)
  2244. }
  2245. func (s *CompilerOptionContext) BIN() antlr.TerminalNode {
  2246. return s.GetToken(Cobol85PreprocessorParserBIN, 0)
  2247. }
  2248. func (s *CompilerOptionContext) VBREF() antlr.TerminalNode {
  2249. return s.GetToken(Cobol85PreprocessorParserVBREF, 0)
  2250. }
  2251. func (s *CompilerOptionContext) WORD() antlr.TerminalNode {
  2252. return s.GetToken(Cobol85PreprocessorParserWORD, 0)
  2253. }
  2254. func (s *CompilerOptionContext) WD() antlr.TerminalNode {
  2255. return s.GetToken(Cobol85PreprocessorParserWD, 0)
  2256. }
  2257. func (s *CompilerOptionContext) XMLPARSE() antlr.TerminalNode {
  2258. return s.GetToken(Cobol85PreprocessorParserXMLPARSE, 0)
  2259. }
  2260. func (s *CompilerOptionContext) XP() antlr.TerminalNode {
  2261. return s.GetToken(Cobol85PreprocessorParserXP, 0)
  2262. }
  2263. func (s *CompilerOptionContext) XMLSS() antlr.TerminalNode {
  2264. return s.GetToken(Cobol85PreprocessorParserXMLSS, 0)
  2265. }
  2266. func (s *CompilerOptionContext) X_CHAR() antlr.TerminalNode {
  2267. return s.GetToken(Cobol85PreprocessorParserX_CHAR, 0)
  2268. }
  2269. func (s *CompilerOptionContext) XREF() antlr.TerminalNode {
  2270. return s.GetToken(Cobol85PreprocessorParserXREF, 0)
  2271. }
  2272. func (s *CompilerOptionContext) SHORT() antlr.TerminalNode {
  2273. return s.GetToken(Cobol85PreprocessorParserSHORT, 0)
  2274. }
  2275. func (s *CompilerOptionContext) YEARWINDOW() antlr.TerminalNode {
  2276. return s.GetToken(Cobol85PreprocessorParserYEARWINDOW, 0)
  2277. }
  2278. func (s *CompilerOptionContext) YW() antlr.TerminalNode {
  2279. return s.GetToken(Cobol85PreprocessorParserYW, 0)
  2280. }
  2281. func (s *CompilerOptionContext) ZWB() antlr.TerminalNode {
  2282. return s.GetToken(Cobol85PreprocessorParserZWB, 0)
  2283. }
  2284. func (s *CompilerOptionContext) GetRuleContext() antlr.RuleContext {
  2285. return s
  2286. }
  2287. func (s *CompilerOptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  2288. return antlr.TreesStringTree(s, ruleNames, recog)
  2289. }
  2290. func (s *CompilerOptionContext) EnterRule(listener antlr.ParseTreeListener) {
  2291. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  2292. listenerT.EnterCompilerOption(s)
  2293. }
  2294. }
  2295. func (s *CompilerOptionContext) ExitRule(listener antlr.ParseTreeListener) {
  2296. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  2297. listenerT.ExitCompilerOption(s)
  2298. }
  2299. }
  2300. func (p *Cobol85PreprocessorParser) CompilerOption() (localctx ICompilerOptionContext) {
  2301. localctx = NewCompilerOptionContext(p, p.GetParserRuleContext(), p.GetState())
  2302. p.EnterRule(localctx, 6, Cobol85PreprocessorParserRULE_compilerOption)
  2303. var _la int
  2304. defer func() {
  2305. p.ExitRule()
  2306. }()
  2307. defer func() {
  2308. if err := recover(); err != nil {
  2309. if v, ok := err.(antlr.RecognitionException); ok {
  2310. localctx.SetException(v)
  2311. p.GetErrorHandler().ReportError(p, v)
  2312. p.GetErrorHandler().Recover(p, v)
  2313. } else {
  2314. panic(err)
  2315. }
  2316. }
  2317. }()
  2318. p.SetState(445)
  2319. p.GetErrorHandler().Sync(p)
  2320. switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 32, p.GetParserRuleContext()) {
  2321. case 1:
  2322. p.EnterOuterAlt(localctx, 1)
  2323. {
  2324. p.SetState(103)
  2325. p.Match(Cobol85PreprocessorParserADATA)
  2326. }
  2327. case 2:
  2328. p.EnterOuterAlt(localctx, 2)
  2329. {
  2330. p.SetState(104)
  2331. p.Match(Cobol85PreprocessorParserADV)
  2332. }
  2333. case 3:
  2334. p.EnterOuterAlt(localctx, 3)
  2335. {
  2336. p.SetState(105)
  2337. p.Match(Cobol85PreprocessorParserAPOST)
  2338. }
  2339. case 4:
  2340. p.EnterOuterAlt(localctx, 4)
  2341. {
  2342. p.SetState(106)
  2343. _la = p.GetTokenStream().LA(1)
  2344. if !(_la == Cobol85PreprocessorParserAR || _la == Cobol85PreprocessorParserARITH) {
  2345. p.GetErrorHandler().RecoverInline(p)
  2346. } else {
  2347. p.GetErrorHandler().ReportMatch(p)
  2348. p.Consume()
  2349. }
  2350. }
  2351. {
  2352. p.SetState(107)
  2353. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2354. }
  2355. {
  2356. p.SetState(108)
  2357. _la = p.GetTokenStream().LA(1)
  2358. if !(_la == Cobol85PreprocessorParserCOMPAT || _la == Cobol85PreprocessorParserEXTEND || _la == Cobol85PreprocessorParserC_CHAR || _la == Cobol85PreprocessorParserE_CHAR) {
  2359. p.GetErrorHandler().RecoverInline(p)
  2360. } else {
  2361. p.GetErrorHandler().ReportMatch(p)
  2362. p.Consume()
  2363. }
  2364. }
  2365. {
  2366. p.SetState(109)
  2367. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2368. }
  2369. case 5:
  2370. p.EnterOuterAlt(localctx, 5)
  2371. {
  2372. p.SetState(110)
  2373. p.Match(Cobol85PreprocessorParserAWO)
  2374. }
  2375. case 6:
  2376. p.EnterOuterAlt(localctx, 6)
  2377. {
  2378. p.SetState(111)
  2379. p.Match(Cobol85PreprocessorParserBLOCK0)
  2380. }
  2381. case 7:
  2382. p.EnterOuterAlt(localctx, 7)
  2383. {
  2384. p.SetState(112)
  2385. _la = p.GetTokenStream().LA(1)
  2386. if !(_la == Cobol85PreprocessorParserBUF || _la == Cobol85PreprocessorParserBUFSIZE) {
  2387. p.GetErrorHandler().RecoverInline(p)
  2388. } else {
  2389. p.GetErrorHandler().ReportMatch(p)
  2390. p.Consume()
  2391. }
  2392. }
  2393. {
  2394. p.SetState(113)
  2395. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2396. }
  2397. {
  2398. p.SetState(114)
  2399. p.Literal()
  2400. }
  2401. {
  2402. p.SetState(115)
  2403. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2404. }
  2405. case 8:
  2406. p.EnterOuterAlt(localctx, 8)
  2407. {
  2408. p.SetState(117)
  2409. p.Match(Cobol85PreprocessorParserCBLCARD)
  2410. }
  2411. case 9:
  2412. p.EnterOuterAlt(localctx, 9)
  2413. {
  2414. p.SetState(118)
  2415. p.Match(Cobol85PreprocessorParserCICS)
  2416. }
  2417. p.SetState(123)
  2418. p.GetErrorHandler().Sync(p)
  2419. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 7, p.GetParserRuleContext()) == 1 {
  2420. {
  2421. p.SetState(119)
  2422. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2423. }
  2424. {
  2425. p.SetState(120)
  2426. p.Literal()
  2427. }
  2428. {
  2429. p.SetState(121)
  2430. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2431. }
  2432. }
  2433. case 10:
  2434. p.EnterOuterAlt(localctx, 10)
  2435. {
  2436. p.SetState(125)
  2437. p.Match(Cobol85PreprocessorParserCOBOL2)
  2438. }
  2439. case 11:
  2440. p.EnterOuterAlt(localctx, 11)
  2441. {
  2442. p.SetState(126)
  2443. p.Match(Cobol85PreprocessorParserCOBOL3)
  2444. }
  2445. case 12:
  2446. p.EnterOuterAlt(localctx, 12)
  2447. {
  2448. p.SetState(127)
  2449. _la = p.GetTokenStream().LA(1)
  2450. if !(_la == Cobol85PreprocessorParserCODEPAGE || _la == Cobol85PreprocessorParserCP) {
  2451. p.GetErrorHandler().RecoverInline(p)
  2452. } else {
  2453. p.GetErrorHandler().ReportMatch(p)
  2454. p.Consume()
  2455. }
  2456. }
  2457. {
  2458. p.SetState(128)
  2459. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2460. }
  2461. {
  2462. p.SetState(129)
  2463. p.Literal()
  2464. }
  2465. {
  2466. p.SetState(130)
  2467. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2468. }
  2469. case 13:
  2470. p.EnterOuterAlt(localctx, 13)
  2471. {
  2472. p.SetState(132)
  2473. _la = p.GetTokenStream().LA(1)
  2474. if !(_la == Cobol85PreprocessorParserCOMPILE || _la == Cobol85PreprocessorParserC_CHAR) {
  2475. p.GetErrorHandler().RecoverInline(p)
  2476. } else {
  2477. p.GetErrorHandler().ReportMatch(p)
  2478. p.Consume()
  2479. }
  2480. }
  2481. case 14:
  2482. p.EnterOuterAlt(localctx, 14)
  2483. {
  2484. p.SetState(133)
  2485. p.Match(Cobol85PreprocessorParserCPP)
  2486. }
  2487. case 15:
  2488. p.EnterOuterAlt(localctx, 15)
  2489. {
  2490. p.SetState(134)
  2491. p.Match(Cobol85PreprocessorParserCPSM)
  2492. }
  2493. case 16:
  2494. p.EnterOuterAlt(localctx, 16)
  2495. {
  2496. p.SetState(135)
  2497. _la = p.GetTokenStream().LA(1)
  2498. if !(_la == Cobol85PreprocessorParserCURR || _la == Cobol85PreprocessorParserCURRENCY) {
  2499. p.GetErrorHandler().RecoverInline(p)
  2500. } else {
  2501. p.GetErrorHandler().ReportMatch(p)
  2502. p.Consume()
  2503. }
  2504. }
  2505. {
  2506. p.SetState(136)
  2507. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2508. }
  2509. {
  2510. p.SetState(137)
  2511. p.Literal()
  2512. }
  2513. {
  2514. p.SetState(138)
  2515. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2516. }
  2517. case 17:
  2518. p.EnterOuterAlt(localctx, 17)
  2519. {
  2520. p.SetState(140)
  2521. p.Match(Cobol85PreprocessorParserDATA)
  2522. }
  2523. {
  2524. p.SetState(141)
  2525. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2526. }
  2527. {
  2528. p.SetState(142)
  2529. p.Literal()
  2530. }
  2531. {
  2532. p.SetState(143)
  2533. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2534. }
  2535. case 18:
  2536. p.EnterOuterAlt(localctx, 18)
  2537. {
  2538. p.SetState(145)
  2539. _la = p.GetTokenStream().LA(1)
  2540. if !(_la == Cobol85PreprocessorParserDATEPROC || _la == Cobol85PreprocessorParserDP) {
  2541. p.GetErrorHandler().RecoverInline(p)
  2542. } else {
  2543. p.GetErrorHandler().ReportMatch(p)
  2544. p.Consume()
  2545. }
  2546. }
  2547. p.SetState(157)
  2548. p.GetErrorHandler().Sync(p)
  2549. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 11, p.GetParserRuleContext()) == 1 {
  2550. {
  2551. p.SetState(146)
  2552. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2553. }
  2554. p.SetState(148)
  2555. p.GetErrorHandler().Sync(p)
  2556. _la = p.GetTokenStream().LA(1)
  2557. if _la == Cobol85PreprocessorParserFLAG || _la == Cobol85PreprocessorParserNOFLAG {
  2558. {
  2559. p.SetState(147)
  2560. _la = p.GetTokenStream().LA(1)
  2561. if !(_la == Cobol85PreprocessorParserFLAG || _la == Cobol85PreprocessorParserNOFLAG) {
  2562. p.GetErrorHandler().RecoverInline(p)
  2563. } else {
  2564. p.GetErrorHandler().ReportMatch(p)
  2565. p.Consume()
  2566. }
  2567. }
  2568. }
  2569. p.SetState(151)
  2570. p.GetErrorHandler().Sync(p)
  2571. _la = p.GetTokenStream().LA(1)
  2572. if _la == Cobol85PreprocessorParserCOMMACHAR {
  2573. {
  2574. p.SetState(150)
  2575. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  2576. }
  2577. }
  2578. p.SetState(154)
  2579. p.GetErrorHandler().Sync(p)
  2580. _la = p.GetTokenStream().LA(1)
  2581. if _la == Cobol85PreprocessorParserNOTRIG || _la == Cobol85PreprocessorParserTRIG {
  2582. {
  2583. p.SetState(153)
  2584. _la = p.GetTokenStream().LA(1)
  2585. if !(_la == Cobol85PreprocessorParserNOTRIG || _la == Cobol85PreprocessorParserTRIG) {
  2586. p.GetErrorHandler().RecoverInline(p)
  2587. } else {
  2588. p.GetErrorHandler().ReportMatch(p)
  2589. p.Consume()
  2590. }
  2591. }
  2592. }
  2593. {
  2594. p.SetState(156)
  2595. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2596. }
  2597. }
  2598. case 19:
  2599. p.EnterOuterAlt(localctx, 19)
  2600. {
  2601. p.SetState(159)
  2602. p.Match(Cobol85PreprocessorParserDBCS)
  2603. }
  2604. case 20:
  2605. p.EnterOuterAlt(localctx, 20)
  2606. {
  2607. p.SetState(160)
  2608. _la = p.GetTokenStream().LA(1)
  2609. if !(_la == Cobol85PreprocessorParserDECK || _la == Cobol85PreprocessorParserD_CHAR) {
  2610. p.GetErrorHandler().RecoverInline(p)
  2611. } else {
  2612. p.GetErrorHandler().ReportMatch(p)
  2613. p.Consume()
  2614. }
  2615. }
  2616. case 21:
  2617. p.EnterOuterAlt(localctx, 21)
  2618. {
  2619. p.SetState(161)
  2620. p.Match(Cobol85PreprocessorParserDEBUG)
  2621. }
  2622. case 22:
  2623. p.EnterOuterAlt(localctx, 22)
  2624. {
  2625. p.SetState(162)
  2626. _la = p.GetTokenStream().LA(1)
  2627. if !(_la == Cobol85PreprocessorParserDIAGTRUNC || _la == Cobol85PreprocessorParserDTR) {
  2628. p.GetErrorHandler().RecoverInline(p)
  2629. } else {
  2630. p.GetErrorHandler().ReportMatch(p)
  2631. p.Consume()
  2632. }
  2633. }
  2634. case 23:
  2635. p.EnterOuterAlt(localctx, 23)
  2636. {
  2637. p.SetState(163)
  2638. p.Match(Cobol85PreprocessorParserDLL)
  2639. }
  2640. case 24:
  2641. p.EnterOuterAlt(localctx, 24)
  2642. {
  2643. p.SetState(164)
  2644. _la = p.GetTokenStream().LA(1)
  2645. if !(_la == Cobol85PreprocessorParserDU || _la == Cobol85PreprocessorParserDUMP) {
  2646. p.GetErrorHandler().RecoverInline(p)
  2647. } else {
  2648. p.GetErrorHandler().ReportMatch(p)
  2649. p.Consume()
  2650. }
  2651. }
  2652. case 25:
  2653. p.EnterOuterAlt(localctx, 25)
  2654. {
  2655. p.SetState(165)
  2656. _la = p.GetTokenStream().LA(1)
  2657. if !(_la == Cobol85PreprocessorParserDYN || _la == Cobol85PreprocessorParserDYNAM) {
  2658. p.GetErrorHandler().RecoverInline(p)
  2659. } else {
  2660. p.GetErrorHandler().ReportMatch(p)
  2661. p.Consume()
  2662. }
  2663. }
  2664. case 26:
  2665. p.EnterOuterAlt(localctx, 26)
  2666. {
  2667. p.SetState(166)
  2668. p.Match(Cobol85PreprocessorParserEDF)
  2669. }
  2670. case 27:
  2671. p.EnterOuterAlt(localctx, 27)
  2672. {
  2673. p.SetState(167)
  2674. p.Match(Cobol85PreprocessorParserEPILOG)
  2675. }
  2676. case 28:
  2677. p.EnterOuterAlt(localctx, 28)
  2678. {
  2679. p.SetState(168)
  2680. p.Match(Cobol85PreprocessorParserEXIT)
  2681. }
  2682. case 29:
  2683. p.EnterOuterAlt(localctx, 29)
  2684. {
  2685. p.SetState(169)
  2686. _la = p.GetTokenStream().LA(1)
  2687. if !(_la == Cobol85PreprocessorParserEXP || _la == Cobol85PreprocessorParserEXPORTALL) {
  2688. p.GetErrorHandler().RecoverInline(p)
  2689. } else {
  2690. p.GetErrorHandler().ReportMatch(p)
  2691. p.Consume()
  2692. }
  2693. }
  2694. case 30:
  2695. p.EnterOuterAlt(localctx, 30)
  2696. {
  2697. p.SetState(170)
  2698. _la = p.GetTokenStream().LA(1)
  2699. if !(_la == Cobol85PreprocessorParserFASTSRT || _la == Cobol85PreprocessorParserFSRT) {
  2700. p.GetErrorHandler().RecoverInline(p)
  2701. } else {
  2702. p.GetErrorHandler().ReportMatch(p)
  2703. p.Consume()
  2704. }
  2705. }
  2706. case 31:
  2707. p.EnterOuterAlt(localctx, 31)
  2708. {
  2709. p.SetState(171)
  2710. p.Match(Cobol85PreprocessorParserFEPI)
  2711. }
  2712. case 32:
  2713. p.EnterOuterAlt(localctx, 32)
  2714. {
  2715. p.SetState(172)
  2716. _la = p.GetTokenStream().LA(1)
  2717. if !(_la == Cobol85PreprocessorParserFLAG || _la == Cobol85PreprocessorParserF_CHAR) {
  2718. p.GetErrorHandler().RecoverInline(p)
  2719. } else {
  2720. p.GetErrorHandler().ReportMatch(p)
  2721. p.Consume()
  2722. }
  2723. }
  2724. {
  2725. p.SetState(173)
  2726. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2727. }
  2728. {
  2729. p.SetState(174)
  2730. _la = p.GetTokenStream().LA(1)
  2731. if !(((_la-270)&-(0x1f+1)) == 0 && ((1<<uint((_la-270)))&((1<<(Cobol85PreprocessorParserE_CHAR-270))|(1<<(Cobol85PreprocessorParserI_CHAR-270))|(1<<(Cobol85PreprocessorParserS_CHAR-270))|(1<<(Cobol85PreprocessorParserU_CHAR-270))|(1<<(Cobol85PreprocessorParserW_CHAR-270)))) != 0) {
  2732. p.GetErrorHandler().RecoverInline(p)
  2733. } else {
  2734. p.GetErrorHandler().ReportMatch(p)
  2735. p.Consume()
  2736. }
  2737. }
  2738. p.SetState(177)
  2739. p.GetErrorHandler().Sync(p)
  2740. _la = p.GetTokenStream().LA(1)
  2741. if _la == Cobol85PreprocessorParserCOMMACHAR {
  2742. {
  2743. p.SetState(175)
  2744. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  2745. }
  2746. {
  2747. p.SetState(176)
  2748. _la = p.GetTokenStream().LA(1)
  2749. if !(((_la-270)&-(0x1f+1)) == 0 && ((1<<uint((_la-270)))&((1<<(Cobol85PreprocessorParserE_CHAR-270))|(1<<(Cobol85PreprocessorParserI_CHAR-270))|(1<<(Cobol85PreprocessorParserS_CHAR-270))|(1<<(Cobol85PreprocessorParserU_CHAR-270))|(1<<(Cobol85PreprocessorParserW_CHAR-270)))) != 0) {
  2750. p.GetErrorHandler().RecoverInline(p)
  2751. } else {
  2752. p.GetErrorHandler().ReportMatch(p)
  2753. p.Consume()
  2754. }
  2755. }
  2756. }
  2757. {
  2758. p.SetState(179)
  2759. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2760. }
  2761. case 33:
  2762. p.EnterOuterAlt(localctx, 33)
  2763. {
  2764. p.SetState(180)
  2765. p.Match(Cobol85PreprocessorParserFLAGSTD)
  2766. }
  2767. {
  2768. p.SetState(181)
  2769. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2770. }
  2771. {
  2772. p.SetState(182)
  2773. _la = p.GetTokenStream().LA(1)
  2774. if !(((_la-272)&-(0x1f+1)) == 0 && ((1<<uint((_la-272)))&((1<<(Cobol85PreprocessorParserH_CHAR-272))|(1<<(Cobol85PreprocessorParserI_CHAR-272))|(1<<(Cobol85PreprocessorParserM_CHAR-272)))) != 0) {
  2775. p.GetErrorHandler().RecoverInline(p)
  2776. } else {
  2777. p.GetErrorHandler().ReportMatch(p)
  2778. p.Consume()
  2779. }
  2780. }
  2781. p.SetState(185)
  2782. p.GetErrorHandler().Sync(p)
  2783. _la = p.GetTokenStream().LA(1)
  2784. if _la == Cobol85PreprocessorParserCOMMACHAR {
  2785. {
  2786. p.SetState(183)
  2787. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  2788. }
  2789. {
  2790. p.SetState(184)
  2791. _la = p.GetTokenStream().LA(1)
  2792. if !(_la == Cobol85PreprocessorParserDD || _la == Cobol85PreprocessorParserNN || _la == Cobol85PreprocessorParserSS || _la == Cobol85PreprocessorParserD_CHAR || _la == Cobol85PreprocessorParserN_CHAR || _la == Cobol85PreprocessorParserS_CHAR) {
  2793. p.GetErrorHandler().RecoverInline(p)
  2794. } else {
  2795. p.GetErrorHandler().ReportMatch(p)
  2796. p.Consume()
  2797. }
  2798. }
  2799. }
  2800. {
  2801. p.SetState(187)
  2802. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2803. }
  2804. case 34:
  2805. p.EnterOuterAlt(localctx, 34)
  2806. {
  2807. p.SetState(188)
  2808. p.Match(Cobol85PreprocessorParserGDS)
  2809. }
  2810. case 35:
  2811. p.EnterOuterAlt(localctx, 35)
  2812. {
  2813. p.SetState(189)
  2814. p.Match(Cobol85PreprocessorParserGRAPHIC)
  2815. }
  2816. case 36:
  2817. p.EnterOuterAlt(localctx, 36)
  2818. {
  2819. p.SetState(190)
  2820. p.Match(Cobol85PreprocessorParserINTDATE)
  2821. }
  2822. {
  2823. p.SetState(191)
  2824. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2825. }
  2826. {
  2827. p.SetState(192)
  2828. _la = p.GetTokenStream().LA(1)
  2829. if !(_la == Cobol85PreprocessorParserANSI || _la == Cobol85PreprocessorParserLILIAN) {
  2830. p.GetErrorHandler().RecoverInline(p)
  2831. } else {
  2832. p.GetErrorHandler().ReportMatch(p)
  2833. p.Consume()
  2834. }
  2835. }
  2836. {
  2837. p.SetState(193)
  2838. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2839. }
  2840. case 37:
  2841. p.EnterOuterAlt(localctx, 37)
  2842. {
  2843. p.SetState(194)
  2844. _la = p.GetTokenStream().LA(1)
  2845. if !(_la == Cobol85PreprocessorParserLANG || _la == Cobol85PreprocessorParserLANGUAGE) {
  2846. p.GetErrorHandler().RecoverInline(p)
  2847. } else {
  2848. p.GetErrorHandler().ReportMatch(p)
  2849. p.Consume()
  2850. }
  2851. }
  2852. {
  2853. p.SetState(195)
  2854. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2855. }
  2856. {
  2857. p.SetState(196)
  2858. _la = p.GetTokenStream().LA(1)
  2859. if !(_la == Cobol85PreprocessorParserCS || (((_la-50)&-(0x1f+1)) == 0 && ((1<<uint((_la-50)))&((1<<(Cobol85PreprocessorParserEN-50))|(1<<(Cobol85PreprocessorParserENGLISH-50))|(1<<(Cobol85PreprocessorParserJA-50))|(1<<(Cobol85PreprocessorParserJP-50))|(1<<(Cobol85PreprocessorParserKA-50)))) != 0) || _la == Cobol85PreprocessorParserUE) {
  2860. p.GetErrorHandler().RecoverInline(p)
  2861. } else {
  2862. p.GetErrorHandler().ReportMatch(p)
  2863. p.Consume()
  2864. }
  2865. }
  2866. {
  2867. p.SetState(197)
  2868. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2869. }
  2870. case 38:
  2871. p.EnterOuterAlt(localctx, 38)
  2872. {
  2873. p.SetState(198)
  2874. p.Match(Cobol85PreprocessorParserLEASM)
  2875. }
  2876. case 39:
  2877. p.EnterOuterAlt(localctx, 39)
  2878. {
  2879. p.SetState(199)
  2880. p.Match(Cobol85PreprocessorParserLENGTH)
  2881. }
  2882. case 40:
  2883. p.EnterOuterAlt(localctx, 40)
  2884. {
  2885. p.SetState(200)
  2886. p.Match(Cobol85PreprocessorParserLIB)
  2887. }
  2888. case 41:
  2889. p.EnterOuterAlt(localctx, 41)
  2890. {
  2891. p.SetState(201)
  2892. p.Match(Cobol85PreprocessorParserLIN)
  2893. }
  2894. case 42:
  2895. p.EnterOuterAlt(localctx, 42)
  2896. {
  2897. p.SetState(202)
  2898. _la = p.GetTokenStream().LA(1)
  2899. if !(_la == Cobol85PreprocessorParserLC || _la == Cobol85PreprocessorParserLINECOUNT) {
  2900. p.GetErrorHandler().RecoverInline(p)
  2901. } else {
  2902. p.GetErrorHandler().ReportMatch(p)
  2903. p.Consume()
  2904. }
  2905. }
  2906. {
  2907. p.SetState(203)
  2908. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2909. }
  2910. {
  2911. p.SetState(204)
  2912. p.Literal()
  2913. }
  2914. {
  2915. p.SetState(205)
  2916. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2917. }
  2918. case 43:
  2919. p.EnterOuterAlt(localctx, 43)
  2920. {
  2921. p.SetState(207)
  2922. p.Match(Cobol85PreprocessorParserLINKAGE)
  2923. }
  2924. case 44:
  2925. p.EnterOuterAlt(localctx, 44)
  2926. {
  2927. p.SetState(208)
  2928. p.Match(Cobol85PreprocessorParserLIST)
  2929. }
  2930. case 45:
  2931. p.EnterOuterAlt(localctx, 45)
  2932. {
  2933. p.SetState(209)
  2934. p.Match(Cobol85PreprocessorParserMAP)
  2935. }
  2936. case 46:
  2937. p.EnterOuterAlt(localctx, 46)
  2938. {
  2939. p.SetState(210)
  2940. p.Match(Cobol85PreprocessorParserMARGINS)
  2941. }
  2942. {
  2943. p.SetState(211)
  2944. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2945. }
  2946. {
  2947. p.SetState(212)
  2948. p.Literal()
  2949. }
  2950. {
  2951. p.SetState(213)
  2952. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  2953. }
  2954. {
  2955. p.SetState(214)
  2956. p.Literal()
  2957. }
  2958. p.SetState(217)
  2959. p.GetErrorHandler().Sync(p)
  2960. _la = p.GetTokenStream().LA(1)
  2961. if _la == Cobol85PreprocessorParserCOMMACHAR {
  2962. {
  2963. p.SetState(215)
  2964. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  2965. }
  2966. {
  2967. p.SetState(216)
  2968. p.Literal()
  2969. }
  2970. }
  2971. {
  2972. p.SetState(219)
  2973. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  2974. }
  2975. case 47:
  2976. p.EnterOuterAlt(localctx, 47)
  2977. {
  2978. p.SetState(221)
  2979. _la = p.GetTokenStream().LA(1)
  2980. if !(_la == Cobol85PreprocessorParserMD || _la == Cobol85PreprocessorParserMDECK) {
  2981. p.GetErrorHandler().RecoverInline(p)
  2982. } else {
  2983. p.GetErrorHandler().ReportMatch(p)
  2984. p.Consume()
  2985. }
  2986. }
  2987. p.SetState(225)
  2988. p.GetErrorHandler().Sync(p)
  2989. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 15, p.GetParserRuleContext()) == 1 {
  2990. {
  2991. p.SetState(222)
  2992. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  2993. }
  2994. {
  2995. p.SetState(223)
  2996. _la = p.GetTokenStream().LA(1)
  2997. if !(_la == Cobol85PreprocessorParserCOMPILE || _la == Cobol85PreprocessorParserNOC || _la == Cobol85PreprocessorParserNOCOMPILE || _la == Cobol85PreprocessorParserC_CHAR) {
  2998. p.GetErrorHandler().RecoverInline(p)
  2999. } else {
  3000. p.GetErrorHandler().ReportMatch(p)
  3001. p.Consume()
  3002. }
  3003. }
  3004. {
  3005. p.SetState(224)
  3006. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3007. }
  3008. }
  3009. case 48:
  3010. p.EnterOuterAlt(localctx, 48)
  3011. {
  3012. p.SetState(227)
  3013. p.Match(Cobol85PreprocessorParserNAME)
  3014. }
  3015. p.SetState(231)
  3016. p.GetErrorHandler().Sync(p)
  3017. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 16, p.GetParserRuleContext()) == 1 {
  3018. {
  3019. p.SetState(228)
  3020. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3021. }
  3022. {
  3023. p.SetState(229)
  3024. _la = p.GetTokenStream().LA(1)
  3025. if !(_la == Cobol85PreprocessorParserALIAS || _la == Cobol85PreprocessorParserNOALIAS) {
  3026. p.GetErrorHandler().RecoverInline(p)
  3027. } else {
  3028. p.GetErrorHandler().ReportMatch(p)
  3029. p.Consume()
  3030. }
  3031. }
  3032. {
  3033. p.SetState(230)
  3034. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3035. }
  3036. }
  3037. case 49:
  3038. p.EnterOuterAlt(localctx, 49)
  3039. {
  3040. p.SetState(233)
  3041. p.Match(Cobol85PreprocessorParserNATLANG)
  3042. }
  3043. {
  3044. p.SetState(234)
  3045. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3046. }
  3047. {
  3048. p.SetState(235)
  3049. _la = p.GetTokenStream().LA(1)
  3050. if !(_la == Cobol85PreprocessorParserCS || _la == Cobol85PreprocessorParserEN || _la == Cobol85PreprocessorParserKA) {
  3051. p.GetErrorHandler().RecoverInline(p)
  3052. } else {
  3053. p.GetErrorHandler().ReportMatch(p)
  3054. p.Consume()
  3055. }
  3056. }
  3057. {
  3058. p.SetState(236)
  3059. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3060. }
  3061. case 50:
  3062. p.EnterOuterAlt(localctx, 50)
  3063. {
  3064. p.SetState(237)
  3065. p.Match(Cobol85PreprocessorParserNOADATA)
  3066. }
  3067. case 51:
  3068. p.EnterOuterAlt(localctx, 51)
  3069. {
  3070. p.SetState(238)
  3071. p.Match(Cobol85PreprocessorParserNOADV)
  3072. }
  3073. case 52:
  3074. p.EnterOuterAlt(localctx, 52)
  3075. {
  3076. p.SetState(239)
  3077. p.Match(Cobol85PreprocessorParserNOAWO)
  3078. }
  3079. case 53:
  3080. p.EnterOuterAlt(localctx, 53)
  3081. {
  3082. p.SetState(240)
  3083. p.Match(Cobol85PreprocessorParserNOBLOCK0)
  3084. }
  3085. case 54:
  3086. p.EnterOuterAlt(localctx, 54)
  3087. {
  3088. p.SetState(241)
  3089. p.Match(Cobol85PreprocessorParserNOCBLCARD)
  3090. }
  3091. case 55:
  3092. p.EnterOuterAlt(localctx, 55)
  3093. {
  3094. p.SetState(242)
  3095. p.Match(Cobol85PreprocessorParserNOCICS)
  3096. }
  3097. case 56:
  3098. p.EnterOuterAlt(localctx, 56)
  3099. {
  3100. p.SetState(243)
  3101. p.Match(Cobol85PreprocessorParserNOCMPR2)
  3102. }
  3103. case 57:
  3104. p.EnterOuterAlt(localctx, 57)
  3105. {
  3106. p.SetState(244)
  3107. _la = p.GetTokenStream().LA(1)
  3108. if !(_la == Cobol85PreprocessorParserNOC || _la == Cobol85PreprocessorParserNOCOMPILE) {
  3109. p.GetErrorHandler().RecoverInline(p)
  3110. } else {
  3111. p.GetErrorHandler().ReportMatch(p)
  3112. p.Consume()
  3113. }
  3114. }
  3115. p.SetState(248)
  3116. p.GetErrorHandler().Sync(p)
  3117. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 17, p.GetParserRuleContext()) == 1 {
  3118. {
  3119. p.SetState(245)
  3120. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3121. }
  3122. {
  3123. p.SetState(246)
  3124. _la = p.GetTokenStream().LA(1)
  3125. if !(((_la-270)&-(0x1f+1)) == 0 && ((1<<uint((_la-270)))&((1<<(Cobol85PreprocessorParserE_CHAR-270))|(1<<(Cobol85PreprocessorParserS_CHAR-270))|(1<<(Cobol85PreprocessorParserW_CHAR-270)))) != 0) {
  3126. p.GetErrorHandler().RecoverInline(p)
  3127. } else {
  3128. p.GetErrorHandler().ReportMatch(p)
  3129. p.Consume()
  3130. }
  3131. }
  3132. {
  3133. p.SetState(247)
  3134. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3135. }
  3136. }
  3137. case 58:
  3138. p.EnterOuterAlt(localctx, 58)
  3139. {
  3140. p.SetState(250)
  3141. p.Match(Cobol85PreprocessorParserNOCPSM)
  3142. }
  3143. case 59:
  3144. p.EnterOuterAlt(localctx, 59)
  3145. {
  3146. p.SetState(251)
  3147. _la = p.GetTokenStream().LA(1)
  3148. if !(_la == Cobol85PreprocessorParserNOCURR || _la == Cobol85PreprocessorParserNOCURRENCY) {
  3149. p.GetErrorHandler().RecoverInline(p)
  3150. } else {
  3151. p.GetErrorHandler().ReportMatch(p)
  3152. p.Consume()
  3153. }
  3154. }
  3155. case 60:
  3156. p.EnterOuterAlt(localctx, 60)
  3157. {
  3158. p.SetState(252)
  3159. _la = p.GetTokenStream().LA(1)
  3160. if !(_la == Cobol85PreprocessorParserNODATEPROC || _la == Cobol85PreprocessorParserNODP) {
  3161. p.GetErrorHandler().RecoverInline(p)
  3162. } else {
  3163. p.GetErrorHandler().ReportMatch(p)
  3164. p.Consume()
  3165. }
  3166. }
  3167. case 61:
  3168. p.EnterOuterAlt(localctx, 61)
  3169. {
  3170. p.SetState(253)
  3171. p.Match(Cobol85PreprocessorParserNODBCS)
  3172. }
  3173. case 62:
  3174. p.EnterOuterAlt(localctx, 62)
  3175. {
  3176. p.SetState(254)
  3177. p.Match(Cobol85PreprocessorParserNODEBUG)
  3178. }
  3179. case 63:
  3180. p.EnterOuterAlt(localctx, 63)
  3181. {
  3182. p.SetState(255)
  3183. _la = p.GetTokenStream().LA(1)
  3184. if !(_la == Cobol85PreprocessorParserNOD || _la == Cobol85PreprocessorParserNODECK) {
  3185. p.GetErrorHandler().RecoverInline(p)
  3186. } else {
  3187. p.GetErrorHandler().ReportMatch(p)
  3188. p.Consume()
  3189. }
  3190. }
  3191. case 64:
  3192. p.EnterOuterAlt(localctx, 64)
  3193. {
  3194. p.SetState(256)
  3195. p.Match(Cobol85PreprocessorParserNODLL)
  3196. }
  3197. case 65:
  3198. p.EnterOuterAlt(localctx, 65)
  3199. {
  3200. p.SetState(257)
  3201. p.Match(Cobol85PreprocessorParserNODE)
  3202. }
  3203. case 66:
  3204. p.EnterOuterAlt(localctx, 66)
  3205. {
  3206. p.SetState(258)
  3207. _la = p.GetTokenStream().LA(1)
  3208. if !(_la == Cobol85PreprocessorParserNODU || _la == Cobol85PreprocessorParserNODUMP) {
  3209. p.GetErrorHandler().RecoverInline(p)
  3210. } else {
  3211. p.GetErrorHandler().ReportMatch(p)
  3212. p.Consume()
  3213. }
  3214. }
  3215. case 67:
  3216. p.EnterOuterAlt(localctx, 67)
  3217. {
  3218. p.SetState(259)
  3219. _la = p.GetTokenStream().LA(1)
  3220. if !(_la == Cobol85PreprocessorParserNODIAGTRUNC || _la == Cobol85PreprocessorParserNODTR) {
  3221. p.GetErrorHandler().RecoverInline(p)
  3222. } else {
  3223. p.GetErrorHandler().ReportMatch(p)
  3224. p.Consume()
  3225. }
  3226. }
  3227. case 68:
  3228. p.EnterOuterAlt(localctx, 68)
  3229. {
  3230. p.SetState(260)
  3231. _la = p.GetTokenStream().LA(1)
  3232. if !(_la == Cobol85PreprocessorParserNODYN || _la == Cobol85PreprocessorParserNODYNAM) {
  3233. p.GetErrorHandler().RecoverInline(p)
  3234. } else {
  3235. p.GetErrorHandler().ReportMatch(p)
  3236. p.Consume()
  3237. }
  3238. }
  3239. case 69:
  3240. p.EnterOuterAlt(localctx, 69)
  3241. {
  3242. p.SetState(261)
  3243. p.Match(Cobol85PreprocessorParserNOEDF)
  3244. }
  3245. case 70:
  3246. p.EnterOuterAlt(localctx, 70)
  3247. {
  3248. p.SetState(262)
  3249. p.Match(Cobol85PreprocessorParserNOEPILOG)
  3250. }
  3251. case 71:
  3252. p.EnterOuterAlt(localctx, 71)
  3253. {
  3254. p.SetState(263)
  3255. p.Match(Cobol85PreprocessorParserNOEXIT)
  3256. }
  3257. case 72:
  3258. p.EnterOuterAlt(localctx, 72)
  3259. {
  3260. p.SetState(264)
  3261. _la = p.GetTokenStream().LA(1)
  3262. if !(_la == Cobol85PreprocessorParserNOEXP || _la == Cobol85PreprocessorParserNOEXPORTALL) {
  3263. p.GetErrorHandler().RecoverInline(p)
  3264. } else {
  3265. p.GetErrorHandler().ReportMatch(p)
  3266. p.Consume()
  3267. }
  3268. }
  3269. case 73:
  3270. p.EnterOuterAlt(localctx, 73)
  3271. {
  3272. p.SetState(265)
  3273. _la = p.GetTokenStream().LA(1)
  3274. if !(_la == Cobol85PreprocessorParserNOFASTSRT || _la == Cobol85PreprocessorParserNOFSRT) {
  3275. p.GetErrorHandler().RecoverInline(p)
  3276. } else {
  3277. p.GetErrorHandler().ReportMatch(p)
  3278. p.Consume()
  3279. }
  3280. }
  3281. case 74:
  3282. p.EnterOuterAlt(localctx, 74)
  3283. {
  3284. p.SetState(266)
  3285. p.Match(Cobol85PreprocessorParserNOFEPI)
  3286. }
  3287. case 75:
  3288. p.EnterOuterAlt(localctx, 75)
  3289. {
  3290. p.SetState(267)
  3291. _la = p.GetTokenStream().LA(1)
  3292. if !(_la == Cobol85PreprocessorParserNOF || _la == Cobol85PreprocessorParserNOFLAG) {
  3293. p.GetErrorHandler().RecoverInline(p)
  3294. } else {
  3295. p.GetErrorHandler().ReportMatch(p)
  3296. p.Consume()
  3297. }
  3298. }
  3299. case 76:
  3300. p.EnterOuterAlt(localctx, 76)
  3301. {
  3302. p.SetState(268)
  3303. p.Match(Cobol85PreprocessorParserNOFLAGMIG)
  3304. }
  3305. case 77:
  3306. p.EnterOuterAlt(localctx, 77)
  3307. {
  3308. p.SetState(269)
  3309. p.Match(Cobol85PreprocessorParserNOFLAGSTD)
  3310. }
  3311. case 78:
  3312. p.EnterOuterAlt(localctx, 78)
  3313. {
  3314. p.SetState(270)
  3315. p.Match(Cobol85PreprocessorParserNOGRAPHIC)
  3316. }
  3317. case 79:
  3318. p.EnterOuterAlt(localctx, 79)
  3319. {
  3320. p.SetState(271)
  3321. p.Match(Cobol85PreprocessorParserNOLENGTH)
  3322. }
  3323. case 80:
  3324. p.EnterOuterAlt(localctx, 80)
  3325. {
  3326. p.SetState(272)
  3327. p.Match(Cobol85PreprocessorParserNOLIB)
  3328. }
  3329. case 81:
  3330. p.EnterOuterAlt(localctx, 81)
  3331. {
  3332. p.SetState(273)
  3333. p.Match(Cobol85PreprocessorParserNOLINKAGE)
  3334. }
  3335. case 82:
  3336. p.EnterOuterAlt(localctx, 82)
  3337. {
  3338. p.SetState(274)
  3339. p.Match(Cobol85PreprocessorParserNOLIST)
  3340. }
  3341. case 83:
  3342. p.EnterOuterAlt(localctx, 83)
  3343. {
  3344. p.SetState(275)
  3345. p.Match(Cobol85PreprocessorParserNOMAP)
  3346. }
  3347. case 84:
  3348. p.EnterOuterAlt(localctx, 84)
  3349. {
  3350. p.SetState(276)
  3351. _la = p.GetTokenStream().LA(1)
  3352. if !(_la == Cobol85PreprocessorParserNOMD || _la == Cobol85PreprocessorParserNOMDECK) {
  3353. p.GetErrorHandler().RecoverInline(p)
  3354. } else {
  3355. p.GetErrorHandler().ReportMatch(p)
  3356. p.Consume()
  3357. }
  3358. }
  3359. case 85:
  3360. p.EnterOuterAlt(localctx, 85)
  3361. {
  3362. p.SetState(277)
  3363. p.Match(Cobol85PreprocessorParserNONAME)
  3364. }
  3365. case 86:
  3366. p.EnterOuterAlt(localctx, 86)
  3367. {
  3368. p.SetState(278)
  3369. _la = p.GetTokenStream().LA(1)
  3370. if !(_la == Cobol85PreprocessorParserNONUM || _la == Cobol85PreprocessorParserNONUMBER) {
  3371. p.GetErrorHandler().RecoverInline(p)
  3372. } else {
  3373. p.GetErrorHandler().ReportMatch(p)
  3374. p.Consume()
  3375. }
  3376. }
  3377. case 87:
  3378. p.EnterOuterAlt(localctx, 87)
  3379. {
  3380. p.SetState(279)
  3381. _la = p.GetTokenStream().LA(1)
  3382. if !(_la == Cobol85PreprocessorParserNOOBJ || _la == Cobol85PreprocessorParserNOOBJECT) {
  3383. p.GetErrorHandler().RecoverInline(p)
  3384. } else {
  3385. p.GetErrorHandler().ReportMatch(p)
  3386. p.Consume()
  3387. }
  3388. }
  3389. case 88:
  3390. p.EnterOuterAlt(localctx, 88)
  3391. {
  3392. p.SetState(280)
  3393. _la = p.GetTokenStream().LA(1)
  3394. if !(_la == Cobol85PreprocessorParserNOOFF || _la == Cobol85PreprocessorParserNOOFFSET) {
  3395. p.GetErrorHandler().RecoverInline(p)
  3396. } else {
  3397. p.GetErrorHandler().ReportMatch(p)
  3398. p.Consume()
  3399. }
  3400. }
  3401. case 89:
  3402. p.EnterOuterAlt(localctx, 89)
  3403. {
  3404. p.SetState(281)
  3405. p.Match(Cobol85PreprocessorParserNOOPSEQUENCE)
  3406. }
  3407. case 90:
  3408. p.EnterOuterAlt(localctx, 90)
  3409. {
  3410. p.SetState(282)
  3411. _la = p.GetTokenStream().LA(1)
  3412. if !(_la == Cobol85PreprocessorParserNOOPT || _la == Cobol85PreprocessorParserNOOPTIMIZE) {
  3413. p.GetErrorHandler().RecoverInline(p)
  3414. } else {
  3415. p.GetErrorHandler().ReportMatch(p)
  3416. p.Consume()
  3417. }
  3418. }
  3419. case 91:
  3420. p.EnterOuterAlt(localctx, 91)
  3421. {
  3422. p.SetState(283)
  3423. p.Match(Cobol85PreprocessorParserNOOPTIONS)
  3424. }
  3425. case 92:
  3426. p.EnterOuterAlt(localctx, 92)
  3427. {
  3428. p.SetState(284)
  3429. p.Match(Cobol85PreprocessorParserNOP)
  3430. }
  3431. case 93:
  3432. p.EnterOuterAlt(localctx, 93)
  3433. {
  3434. p.SetState(285)
  3435. p.Match(Cobol85PreprocessorParserNOPROLOG)
  3436. }
  3437. case 94:
  3438. p.EnterOuterAlt(localctx, 94)
  3439. {
  3440. p.SetState(286)
  3441. p.Match(Cobol85PreprocessorParserNORENT)
  3442. }
  3443. case 95:
  3444. p.EnterOuterAlt(localctx, 95)
  3445. {
  3446. p.SetState(287)
  3447. _la = p.GetTokenStream().LA(1)
  3448. if !(_la == Cobol85PreprocessorParserNOSEQ || _la == Cobol85PreprocessorParserNOSEQUENCE) {
  3449. p.GetErrorHandler().RecoverInline(p)
  3450. } else {
  3451. p.GetErrorHandler().ReportMatch(p)
  3452. p.Consume()
  3453. }
  3454. }
  3455. case 96:
  3456. p.EnterOuterAlt(localctx, 96)
  3457. {
  3458. p.SetState(288)
  3459. _la = p.GetTokenStream().LA(1)
  3460. if !(_la == Cobol85PreprocessorParserNOS || _la == Cobol85PreprocessorParserNOSOURCE) {
  3461. p.GetErrorHandler().RecoverInline(p)
  3462. } else {
  3463. p.GetErrorHandler().ReportMatch(p)
  3464. p.Consume()
  3465. }
  3466. }
  3467. case 97:
  3468. p.EnterOuterAlt(localctx, 97)
  3469. {
  3470. p.SetState(289)
  3471. p.Match(Cobol85PreprocessorParserNOSPIE)
  3472. }
  3473. case 98:
  3474. p.EnterOuterAlt(localctx, 98)
  3475. {
  3476. p.SetState(290)
  3477. p.Match(Cobol85PreprocessorParserNOSQL)
  3478. }
  3479. case 99:
  3480. p.EnterOuterAlt(localctx, 99)
  3481. {
  3482. p.SetState(291)
  3483. _la = p.GetTokenStream().LA(1)
  3484. if !(_la == Cobol85PreprocessorParserNOSQLC || _la == Cobol85PreprocessorParserNOSQLCCSID) {
  3485. p.GetErrorHandler().RecoverInline(p)
  3486. } else {
  3487. p.GetErrorHandler().ReportMatch(p)
  3488. p.Consume()
  3489. }
  3490. }
  3491. case 100:
  3492. p.EnterOuterAlt(localctx, 100)
  3493. {
  3494. p.SetState(292)
  3495. _la = p.GetTokenStream().LA(1)
  3496. if !(_la == Cobol85PreprocessorParserNOSSR || _la == Cobol85PreprocessorParserNOSSRANGE) {
  3497. p.GetErrorHandler().RecoverInline(p)
  3498. } else {
  3499. p.GetErrorHandler().ReportMatch(p)
  3500. p.Consume()
  3501. }
  3502. }
  3503. case 101:
  3504. p.EnterOuterAlt(localctx, 101)
  3505. {
  3506. p.SetState(293)
  3507. p.Match(Cobol85PreprocessorParserNOSTDTRUNC)
  3508. }
  3509. case 102:
  3510. p.EnterOuterAlt(localctx, 102)
  3511. {
  3512. p.SetState(294)
  3513. _la = p.GetTokenStream().LA(1)
  3514. if !(_la == Cobol85PreprocessorParserNOTERM || _la == Cobol85PreprocessorParserNOTERMINAL) {
  3515. p.GetErrorHandler().RecoverInline(p)
  3516. } else {
  3517. p.GetErrorHandler().ReportMatch(p)
  3518. p.Consume()
  3519. }
  3520. }
  3521. case 103:
  3522. p.EnterOuterAlt(localctx, 103)
  3523. {
  3524. p.SetState(295)
  3525. p.Match(Cobol85PreprocessorParserNOTEST)
  3526. }
  3527. case 104:
  3528. p.EnterOuterAlt(localctx, 104)
  3529. {
  3530. p.SetState(296)
  3531. p.Match(Cobol85PreprocessorParserNOTHREAD)
  3532. }
  3533. case 105:
  3534. p.EnterOuterAlt(localctx, 105)
  3535. {
  3536. p.SetState(297)
  3537. p.Match(Cobol85PreprocessorParserNOVBREF)
  3538. }
  3539. case 106:
  3540. p.EnterOuterAlt(localctx, 106)
  3541. {
  3542. p.SetState(298)
  3543. _la = p.GetTokenStream().LA(1)
  3544. if !(_la == Cobol85PreprocessorParserNOWD || _la == Cobol85PreprocessorParserNOWORD) {
  3545. p.GetErrorHandler().RecoverInline(p)
  3546. } else {
  3547. p.GetErrorHandler().ReportMatch(p)
  3548. p.Consume()
  3549. }
  3550. }
  3551. case 107:
  3552. p.EnterOuterAlt(localctx, 107)
  3553. {
  3554. p.SetState(299)
  3555. p.Match(Cobol85PreprocessorParserNSEQ)
  3556. }
  3557. case 108:
  3558. p.EnterOuterAlt(localctx, 108)
  3559. {
  3560. p.SetState(300)
  3561. _la = p.GetTokenStream().LA(1)
  3562. if !(_la == Cobol85PreprocessorParserNS || _la == Cobol85PreprocessorParserNSYMBOL) {
  3563. p.GetErrorHandler().RecoverInline(p)
  3564. } else {
  3565. p.GetErrorHandler().ReportMatch(p)
  3566. p.Consume()
  3567. }
  3568. }
  3569. {
  3570. p.SetState(301)
  3571. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3572. }
  3573. {
  3574. p.SetState(302)
  3575. _la = p.GetTokenStream().LA(1)
  3576. if !(_la == Cobol85PreprocessorParserDBCS || _la == Cobol85PreprocessorParserNAT || _la == Cobol85PreprocessorParserNATIONAL) {
  3577. p.GetErrorHandler().RecoverInline(p)
  3578. } else {
  3579. p.GetErrorHandler().ReportMatch(p)
  3580. p.Consume()
  3581. }
  3582. }
  3583. {
  3584. p.SetState(303)
  3585. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3586. }
  3587. case 109:
  3588. p.EnterOuterAlt(localctx, 109)
  3589. {
  3590. p.SetState(304)
  3591. p.Match(Cobol85PreprocessorParserNOVBREF)
  3592. }
  3593. case 110:
  3594. p.EnterOuterAlt(localctx, 110)
  3595. {
  3596. p.SetState(305)
  3597. _la = p.GetTokenStream().LA(1)
  3598. if !(_la == Cobol85PreprocessorParserNOX || _la == Cobol85PreprocessorParserNOXREF) {
  3599. p.GetErrorHandler().RecoverInline(p)
  3600. } else {
  3601. p.GetErrorHandler().ReportMatch(p)
  3602. p.Consume()
  3603. }
  3604. }
  3605. case 111:
  3606. p.EnterOuterAlt(localctx, 111)
  3607. {
  3608. p.SetState(306)
  3609. p.Match(Cobol85PreprocessorParserNOZWB)
  3610. }
  3611. case 112:
  3612. p.EnterOuterAlt(localctx, 112)
  3613. {
  3614. p.SetState(307)
  3615. _la = p.GetTokenStream().LA(1)
  3616. if !(_la == Cobol85PreprocessorParserNUM || _la == Cobol85PreprocessorParserNUMBER) {
  3617. p.GetErrorHandler().RecoverInline(p)
  3618. } else {
  3619. p.GetErrorHandler().ReportMatch(p)
  3620. p.Consume()
  3621. }
  3622. }
  3623. case 113:
  3624. p.EnterOuterAlt(localctx, 113)
  3625. {
  3626. p.SetState(308)
  3627. p.Match(Cobol85PreprocessorParserNUMPROC)
  3628. }
  3629. {
  3630. p.SetState(309)
  3631. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3632. }
  3633. {
  3634. p.SetState(310)
  3635. _la = p.GetTokenStream().LA(1)
  3636. if !(_la == Cobol85PreprocessorParserMIG || _la == Cobol85PreprocessorParserNOPFD || _la == Cobol85PreprocessorParserPFD) {
  3637. p.GetErrorHandler().RecoverInline(p)
  3638. } else {
  3639. p.GetErrorHandler().ReportMatch(p)
  3640. p.Consume()
  3641. }
  3642. }
  3643. {
  3644. p.SetState(311)
  3645. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3646. }
  3647. case 114:
  3648. p.EnterOuterAlt(localctx, 114)
  3649. {
  3650. p.SetState(312)
  3651. _la = p.GetTokenStream().LA(1)
  3652. if !(_la == Cobol85PreprocessorParserOBJ || _la == Cobol85PreprocessorParserOBJECT) {
  3653. p.GetErrorHandler().RecoverInline(p)
  3654. } else {
  3655. p.GetErrorHandler().ReportMatch(p)
  3656. p.Consume()
  3657. }
  3658. }
  3659. case 115:
  3660. p.EnterOuterAlt(localctx, 115)
  3661. {
  3662. p.SetState(313)
  3663. _la = p.GetTokenStream().LA(1)
  3664. if !(_la == Cobol85PreprocessorParserOFF || _la == Cobol85PreprocessorParserOFFSET) {
  3665. p.GetErrorHandler().RecoverInline(p)
  3666. } else {
  3667. p.GetErrorHandler().ReportMatch(p)
  3668. p.Consume()
  3669. }
  3670. }
  3671. case 116:
  3672. p.EnterOuterAlt(localctx, 116)
  3673. {
  3674. p.SetState(314)
  3675. p.Match(Cobol85PreprocessorParserOPMARGINS)
  3676. }
  3677. {
  3678. p.SetState(315)
  3679. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3680. }
  3681. {
  3682. p.SetState(316)
  3683. p.Literal()
  3684. }
  3685. {
  3686. p.SetState(317)
  3687. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  3688. }
  3689. {
  3690. p.SetState(318)
  3691. p.Literal()
  3692. }
  3693. p.SetState(321)
  3694. p.GetErrorHandler().Sync(p)
  3695. _la = p.GetTokenStream().LA(1)
  3696. if _la == Cobol85PreprocessorParserCOMMACHAR {
  3697. {
  3698. p.SetState(319)
  3699. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  3700. }
  3701. {
  3702. p.SetState(320)
  3703. p.Literal()
  3704. }
  3705. }
  3706. {
  3707. p.SetState(323)
  3708. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3709. }
  3710. case 117:
  3711. p.EnterOuterAlt(localctx, 117)
  3712. {
  3713. p.SetState(325)
  3714. p.Match(Cobol85PreprocessorParserOPSEQUENCE)
  3715. }
  3716. {
  3717. p.SetState(326)
  3718. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3719. }
  3720. {
  3721. p.SetState(327)
  3722. p.Literal()
  3723. }
  3724. {
  3725. p.SetState(328)
  3726. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  3727. }
  3728. {
  3729. p.SetState(329)
  3730. p.Literal()
  3731. }
  3732. {
  3733. p.SetState(330)
  3734. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3735. }
  3736. case 118:
  3737. p.EnterOuterAlt(localctx, 118)
  3738. {
  3739. p.SetState(332)
  3740. _la = p.GetTokenStream().LA(1)
  3741. if !(_la == Cobol85PreprocessorParserOPT || _la == Cobol85PreprocessorParserOPTIMIZE) {
  3742. p.GetErrorHandler().RecoverInline(p)
  3743. } else {
  3744. p.GetErrorHandler().ReportMatch(p)
  3745. p.Consume()
  3746. }
  3747. }
  3748. p.SetState(336)
  3749. p.GetErrorHandler().Sync(p)
  3750. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 19, p.GetParserRuleContext()) == 1 {
  3751. {
  3752. p.SetState(333)
  3753. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3754. }
  3755. {
  3756. p.SetState(334)
  3757. _la = p.GetTokenStream().LA(1)
  3758. if !(_la == Cobol85PreprocessorParserFULL || _la == Cobol85PreprocessorParserSTD) {
  3759. p.GetErrorHandler().RecoverInline(p)
  3760. } else {
  3761. p.GetErrorHandler().ReportMatch(p)
  3762. p.Consume()
  3763. }
  3764. }
  3765. {
  3766. p.SetState(335)
  3767. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3768. }
  3769. }
  3770. case 119:
  3771. p.EnterOuterAlt(localctx, 119)
  3772. {
  3773. p.SetState(338)
  3774. p.Match(Cobol85PreprocessorParserOPTFILE)
  3775. }
  3776. case 120:
  3777. p.EnterOuterAlt(localctx, 120)
  3778. {
  3779. p.SetState(339)
  3780. p.Match(Cobol85PreprocessorParserOPTIONS)
  3781. }
  3782. case 121:
  3783. p.EnterOuterAlt(localctx, 121)
  3784. {
  3785. p.SetState(340)
  3786. p.Match(Cobol85PreprocessorParserOP)
  3787. }
  3788. case 122:
  3789. p.EnterOuterAlt(localctx, 122)
  3790. {
  3791. p.SetState(341)
  3792. _la = p.GetTokenStream().LA(1)
  3793. if !(_la == Cobol85PreprocessorParserOUT || _la == Cobol85PreprocessorParserOUTDD) {
  3794. p.GetErrorHandler().RecoverInline(p)
  3795. } else {
  3796. p.GetErrorHandler().ReportMatch(p)
  3797. p.Consume()
  3798. }
  3799. }
  3800. {
  3801. p.SetState(342)
  3802. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3803. }
  3804. {
  3805. p.SetState(343)
  3806. p.CobolWord()
  3807. }
  3808. {
  3809. p.SetState(344)
  3810. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3811. }
  3812. case 123:
  3813. p.EnterOuterAlt(localctx, 123)
  3814. {
  3815. p.SetState(346)
  3816. _la = p.GetTokenStream().LA(1)
  3817. if !(_la == Cobol85PreprocessorParserPGMN || _la == Cobol85PreprocessorParserPGMNAME) {
  3818. p.GetErrorHandler().RecoverInline(p)
  3819. } else {
  3820. p.GetErrorHandler().ReportMatch(p)
  3821. p.Consume()
  3822. }
  3823. }
  3824. {
  3825. p.SetState(347)
  3826. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3827. }
  3828. {
  3829. p.SetState(348)
  3830. _la = p.GetTokenStream().LA(1)
  3831. if !(_la == Cobol85PreprocessorParserCO || _la == Cobol85PreprocessorParserCOMPAT || (((_la-85)&-(0x1f+1)) == 0 && ((1<<uint((_la-85)))&((1<<(Cobol85PreprocessorParserLM-85))|(1<<(Cobol85PreprocessorParserLONGMIXED-85))|(1<<(Cobol85PreprocessorParserLONGUPPER-85))|(1<<(Cobol85PreprocessorParserLU-85))|(1<<(Cobol85PreprocessorParserMIXED-85)))) != 0) || (((_la-256)&-(0x1f+1)) == 0 && ((1<<uint((_la-256)))&((1<<(Cobol85PreprocessorParserUPPER-256))|(1<<(Cobol85PreprocessorParserM_CHAR-256))|(1<<(Cobol85PreprocessorParserU_CHAR-256)))) != 0)) {
  3832. p.GetErrorHandler().RecoverInline(p)
  3833. } else {
  3834. p.GetErrorHandler().ReportMatch(p)
  3835. p.Consume()
  3836. }
  3837. }
  3838. {
  3839. p.SetState(349)
  3840. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3841. }
  3842. case 124:
  3843. p.EnterOuterAlt(localctx, 124)
  3844. {
  3845. p.SetState(350)
  3846. p.Match(Cobol85PreprocessorParserPROLOG)
  3847. }
  3848. case 125:
  3849. p.EnterOuterAlt(localctx, 125)
  3850. {
  3851. p.SetState(351)
  3852. _la = p.GetTokenStream().LA(1)
  3853. if !(_la == Cobol85PreprocessorParserQUOTE || _la == Cobol85PreprocessorParserQ_CHAR) {
  3854. p.GetErrorHandler().RecoverInline(p)
  3855. } else {
  3856. p.GetErrorHandler().ReportMatch(p)
  3857. p.Consume()
  3858. }
  3859. }
  3860. case 126:
  3861. p.EnterOuterAlt(localctx, 126)
  3862. {
  3863. p.SetState(352)
  3864. p.Match(Cobol85PreprocessorParserRENT)
  3865. }
  3866. case 127:
  3867. p.EnterOuterAlt(localctx, 127)
  3868. {
  3869. p.SetState(353)
  3870. p.Match(Cobol85PreprocessorParserRMODE)
  3871. }
  3872. {
  3873. p.SetState(354)
  3874. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3875. }
  3876. p.SetState(358)
  3877. p.GetErrorHandler().Sync(p)
  3878. switch p.GetTokenStream().LA(1) {
  3879. case Cobol85PreprocessorParserANY:
  3880. {
  3881. p.SetState(355)
  3882. p.Match(Cobol85PreprocessorParserANY)
  3883. }
  3884. case Cobol85PreprocessorParserAUTO:
  3885. {
  3886. p.SetState(356)
  3887. p.Match(Cobol85PreprocessorParserAUTO)
  3888. }
  3889. case Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL:
  3890. {
  3891. p.SetState(357)
  3892. p.Literal()
  3893. }
  3894. default:
  3895. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  3896. }
  3897. {
  3898. p.SetState(360)
  3899. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3900. }
  3901. case 128:
  3902. p.EnterOuterAlt(localctx, 128)
  3903. {
  3904. p.SetState(361)
  3905. _la = p.GetTokenStream().LA(1)
  3906. if !(_la == Cobol85PreprocessorParserSEQ || _la == Cobol85PreprocessorParserSEQUENCE) {
  3907. p.GetErrorHandler().RecoverInline(p)
  3908. } else {
  3909. p.GetErrorHandler().ReportMatch(p)
  3910. p.Consume()
  3911. }
  3912. }
  3913. p.SetState(368)
  3914. p.GetErrorHandler().Sync(p)
  3915. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 21, p.GetParserRuleContext()) == 1 {
  3916. {
  3917. p.SetState(362)
  3918. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3919. }
  3920. {
  3921. p.SetState(363)
  3922. p.Literal()
  3923. }
  3924. {
  3925. p.SetState(364)
  3926. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  3927. }
  3928. {
  3929. p.SetState(365)
  3930. p.Literal()
  3931. }
  3932. {
  3933. p.SetState(366)
  3934. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3935. }
  3936. }
  3937. case 129:
  3938. p.EnterOuterAlt(localctx, 129)
  3939. {
  3940. p.SetState(370)
  3941. _la = p.GetTokenStream().LA(1)
  3942. if !(_la == Cobol85PreprocessorParserSIZE || _la == Cobol85PreprocessorParserSZ) {
  3943. p.GetErrorHandler().RecoverInline(p)
  3944. } else {
  3945. p.GetErrorHandler().ReportMatch(p)
  3946. p.Consume()
  3947. }
  3948. }
  3949. {
  3950. p.SetState(371)
  3951. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  3952. }
  3953. p.SetState(374)
  3954. p.GetErrorHandler().Sync(p)
  3955. switch p.GetTokenStream().LA(1) {
  3956. case Cobol85PreprocessorParserMAX:
  3957. {
  3958. p.SetState(372)
  3959. p.Match(Cobol85PreprocessorParserMAX)
  3960. }
  3961. case Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL:
  3962. {
  3963. p.SetState(373)
  3964. p.Literal()
  3965. }
  3966. default:
  3967. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  3968. }
  3969. {
  3970. p.SetState(376)
  3971. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  3972. }
  3973. case 130:
  3974. p.EnterOuterAlt(localctx, 130)
  3975. {
  3976. p.SetState(377)
  3977. _la = p.GetTokenStream().LA(1)
  3978. if !(_la == Cobol85PreprocessorParserSOURCE || _la == Cobol85PreprocessorParserS_CHAR) {
  3979. p.GetErrorHandler().RecoverInline(p)
  3980. } else {
  3981. p.GetErrorHandler().ReportMatch(p)
  3982. p.Consume()
  3983. }
  3984. }
  3985. case 131:
  3986. p.EnterOuterAlt(localctx, 131)
  3987. {
  3988. p.SetState(378)
  3989. p.Match(Cobol85PreprocessorParserSP)
  3990. }
  3991. case 132:
  3992. p.EnterOuterAlt(localctx, 132)
  3993. {
  3994. p.SetState(379)
  3995. p.Match(Cobol85PreprocessorParserSPACE)
  3996. }
  3997. {
  3998. p.SetState(380)
  3999. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  4000. }
  4001. {
  4002. p.SetState(381)
  4003. p.Literal()
  4004. }
  4005. {
  4006. p.SetState(382)
  4007. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  4008. }
  4009. case 133:
  4010. p.EnterOuterAlt(localctx, 133)
  4011. {
  4012. p.SetState(384)
  4013. p.Match(Cobol85PreprocessorParserSPIE)
  4014. }
  4015. case 134:
  4016. p.EnterOuterAlt(localctx, 134)
  4017. {
  4018. p.SetState(385)
  4019. p.Match(Cobol85PreprocessorParserSQL)
  4020. }
  4021. p.SetState(390)
  4022. p.GetErrorHandler().Sync(p)
  4023. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 23, p.GetParserRuleContext()) == 1 {
  4024. {
  4025. p.SetState(386)
  4026. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  4027. }
  4028. {
  4029. p.SetState(387)
  4030. p.Literal()
  4031. }
  4032. {
  4033. p.SetState(388)
  4034. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  4035. }
  4036. }
  4037. case 135:
  4038. p.EnterOuterAlt(localctx, 135)
  4039. {
  4040. p.SetState(392)
  4041. _la = p.GetTokenStream().LA(1)
  4042. if !(_la == Cobol85PreprocessorParserSQLC || _la == Cobol85PreprocessorParserSQLCCSID) {
  4043. p.GetErrorHandler().RecoverInline(p)
  4044. } else {
  4045. p.GetErrorHandler().ReportMatch(p)
  4046. p.Consume()
  4047. }
  4048. }
  4049. case 136:
  4050. p.EnterOuterAlt(localctx, 136)
  4051. {
  4052. p.SetState(393)
  4053. _la = p.GetTokenStream().LA(1)
  4054. if !(_la == Cobol85PreprocessorParserSSR || _la == Cobol85PreprocessorParserSSRANGE) {
  4055. p.GetErrorHandler().RecoverInline(p)
  4056. } else {
  4057. p.GetErrorHandler().ReportMatch(p)
  4058. p.Consume()
  4059. }
  4060. }
  4061. case 137:
  4062. p.EnterOuterAlt(localctx, 137)
  4063. {
  4064. p.SetState(394)
  4065. p.Match(Cobol85PreprocessorParserSYSEIB)
  4066. }
  4067. case 138:
  4068. p.EnterOuterAlt(localctx, 138)
  4069. {
  4070. p.SetState(395)
  4071. _la = p.GetTokenStream().LA(1)
  4072. if !(_la == Cobol85PreprocessorParserTERM || _la == Cobol85PreprocessorParserTERMINAL) {
  4073. p.GetErrorHandler().RecoverInline(p)
  4074. } else {
  4075. p.GetErrorHandler().ReportMatch(p)
  4076. p.Consume()
  4077. }
  4078. }
  4079. case 139:
  4080. p.EnterOuterAlt(localctx, 139)
  4081. {
  4082. p.SetState(396)
  4083. p.Match(Cobol85PreprocessorParserTEST)
  4084. }
  4085. p.SetState(414)
  4086. p.GetErrorHandler().Sync(p)
  4087. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 29, p.GetParserRuleContext()) == 1 {
  4088. {
  4089. p.SetState(397)
  4090. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  4091. }
  4092. p.SetState(399)
  4093. p.GetErrorHandler().Sync(p)
  4094. _la = p.GetTokenStream().LA(1)
  4095. if _la == Cobol85PreprocessorParserHOOK || _la == Cobol85PreprocessorParserNOHOOK {
  4096. {
  4097. p.SetState(398)
  4098. _la = p.GetTokenStream().LA(1)
  4099. if !(_la == Cobol85PreprocessorParserHOOK || _la == Cobol85PreprocessorParserNOHOOK) {
  4100. p.GetErrorHandler().RecoverInline(p)
  4101. } else {
  4102. p.GetErrorHandler().ReportMatch(p)
  4103. p.Consume()
  4104. }
  4105. }
  4106. }
  4107. p.SetState(402)
  4108. p.GetErrorHandler().Sync(p)
  4109. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 25, p.GetParserRuleContext()) == 1 {
  4110. {
  4111. p.SetState(401)
  4112. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  4113. }
  4114. }
  4115. p.SetState(405)
  4116. p.GetErrorHandler().Sync(p)
  4117. _la = p.GetTokenStream().LA(1)
  4118. if _la == Cobol85PreprocessorParserNOSEP || _la == Cobol85PreprocessorParserNOSEPARATE || _la == Cobol85PreprocessorParserSEP || _la == Cobol85PreprocessorParserSEPARATE {
  4119. {
  4120. p.SetState(404)
  4121. _la = p.GetTokenStream().LA(1)
  4122. if !(_la == Cobol85PreprocessorParserNOSEP || _la == Cobol85PreprocessorParserNOSEPARATE || _la == Cobol85PreprocessorParserSEP || _la == Cobol85PreprocessorParserSEPARATE) {
  4123. p.GetErrorHandler().RecoverInline(p)
  4124. } else {
  4125. p.GetErrorHandler().ReportMatch(p)
  4126. p.Consume()
  4127. }
  4128. }
  4129. }
  4130. p.SetState(408)
  4131. p.GetErrorHandler().Sync(p)
  4132. _la = p.GetTokenStream().LA(1)
  4133. if _la == Cobol85PreprocessorParserCOMMACHAR {
  4134. {
  4135. p.SetState(407)
  4136. p.Match(Cobol85PreprocessorParserCOMMACHAR)
  4137. }
  4138. }
  4139. p.SetState(411)
  4140. p.GetErrorHandler().Sync(p)
  4141. _la = p.GetTokenStream().LA(1)
  4142. if _la == Cobol85PreprocessorParserEJPD || _la == Cobol85PreprocessorParserNOEJPD {
  4143. {
  4144. p.SetState(410)
  4145. _la = p.GetTokenStream().LA(1)
  4146. if !(_la == Cobol85PreprocessorParserEJPD || _la == Cobol85PreprocessorParserNOEJPD) {
  4147. p.GetErrorHandler().RecoverInline(p)
  4148. } else {
  4149. p.GetErrorHandler().ReportMatch(p)
  4150. p.Consume()
  4151. }
  4152. }
  4153. }
  4154. {
  4155. p.SetState(413)
  4156. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  4157. }
  4158. }
  4159. case 140:
  4160. p.EnterOuterAlt(localctx, 140)
  4161. {
  4162. p.SetState(416)
  4163. p.Match(Cobol85PreprocessorParserTHREAD)
  4164. }
  4165. case 141:
  4166. p.EnterOuterAlt(localctx, 141)
  4167. {
  4168. p.SetState(417)
  4169. p.Match(Cobol85PreprocessorParserTRUNC)
  4170. }
  4171. {
  4172. p.SetState(418)
  4173. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  4174. }
  4175. {
  4176. p.SetState(419)
  4177. _la = p.GetTokenStream().LA(1)
  4178. if !(_la == Cobol85PreprocessorParserBIN || _la == Cobol85PreprocessorParserOPT || _la == Cobol85PreprocessorParserSTD) {
  4179. p.GetErrorHandler().RecoverInline(p)
  4180. } else {
  4181. p.GetErrorHandler().ReportMatch(p)
  4182. p.Consume()
  4183. }
  4184. }
  4185. {
  4186. p.SetState(420)
  4187. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  4188. }
  4189. case 142:
  4190. p.EnterOuterAlt(localctx, 142)
  4191. {
  4192. p.SetState(421)
  4193. p.Match(Cobol85PreprocessorParserVBREF)
  4194. }
  4195. case 143:
  4196. p.EnterOuterAlt(localctx, 143)
  4197. {
  4198. p.SetState(422)
  4199. _la = p.GetTokenStream().LA(1)
  4200. if !(_la == Cobol85PreprocessorParserWD || _la == Cobol85PreprocessorParserWORD) {
  4201. p.GetErrorHandler().RecoverInline(p)
  4202. } else {
  4203. p.GetErrorHandler().ReportMatch(p)
  4204. p.Consume()
  4205. }
  4206. }
  4207. {
  4208. p.SetState(423)
  4209. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  4210. }
  4211. {
  4212. p.SetState(424)
  4213. p.CobolWord()
  4214. }
  4215. {
  4216. p.SetState(425)
  4217. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  4218. }
  4219. case 144:
  4220. p.EnterOuterAlt(localctx, 144)
  4221. {
  4222. p.SetState(427)
  4223. _la = p.GetTokenStream().LA(1)
  4224. if !(_la == Cobol85PreprocessorParserXMLPARSE || _la == Cobol85PreprocessorParserXP) {
  4225. p.GetErrorHandler().RecoverInline(p)
  4226. } else {
  4227. p.GetErrorHandler().ReportMatch(p)
  4228. p.Consume()
  4229. }
  4230. }
  4231. {
  4232. p.SetState(428)
  4233. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  4234. }
  4235. {
  4236. p.SetState(429)
  4237. _la = p.GetTokenStream().LA(1)
  4238. if !(_la == Cobol85PreprocessorParserCOMPAT || (((_la-261)&-(0x1f+1)) == 0 && ((1<<uint((_la-261)))&((1<<(Cobol85PreprocessorParserXMLSS-261))|(1<<(Cobol85PreprocessorParserC_CHAR-261))|(1<<(Cobol85PreprocessorParserX_CHAR-261)))) != 0)) {
  4239. p.GetErrorHandler().RecoverInline(p)
  4240. } else {
  4241. p.GetErrorHandler().ReportMatch(p)
  4242. p.Consume()
  4243. }
  4244. }
  4245. {
  4246. p.SetState(430)
  4247. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  4248. }
  4249. case 145:
  4250. p.EnterOuterAlt(localctx, 145)
  4251. {
  4252. p.SetState(431)
  4253. _la = p.GetTokenStream().LA(1)
  4254. if !(_la == Cobol85PreprocessorParserXREF || _la == Cobol85PreprocessorParserX_CHAR) {
  4255. p.GetErrorHandler().RecoverInline(p)
  4256. } else {
  4257. p.GetErrorHandler().ReportMatch(p)
  4258. p.Consume()
  4259. }
  4260. }
  4261. p.SetState(437)
  4262. p.GetErrorHandler().Sync(p)
  4263. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 31, p.GetParserRuleContext()) == 1 {
  4264. {
  4265. p.SetState(432)
  4266. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  4267. }
  4268. p.SetState(434)
  4269. p.GetErrorHandler().Sync(p)
  4270. _la = p.GetTokenStream().LA(1)
  4271. if _la == Cobol85PreprocessorParserFULL || _la == Cobol85PreprocessorParserSHORT {
  4272. {
  4273. p.SetState(433)
  4274. _la = p.GetTokenStream().LA(1)
  4275. if !(_la == Cobol85PreprocessorParserFULL || _la == Cobol85PreprocessorParserSHORT) {
  4276. p.GetErrorHandler().RecoverInline(p)
  4277. } else {
  4278. p.GetErrorHandler().ReportMatch(p)
  4279. p.Consume()
  4280. }
  4281. }
  4282. }
  4283. {
  4284. p.SetState(436)
  4285. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  4286. }
  4287. }
  4288. case 146:
  4289. p.EnterOuterAlt(localctx, 146)
  4290. {
  4291. p.SetState(439)
  4292. _la = p.GetTokenStream().LA(1)
  4293. if !(_la == Cobol85PreprocessorParserYEARWINDOW || _la == Cobol85PreprocessorParserYW) {
  4294. p.GetErrorHandler().RecoverInline(p)
  4295. } else {
  4296. p.GetErrorHandler().ReportMatch(p)
  4297. p.Consume()
  4298. }
  4299. }
  4300. {
  4301. p.SetState(440)
  4302. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  4303. }
  4304. {
  4305. p.SetState(441)
  4306. p.Literal()
  4307. }
  4308. {
  4309. p.SetState(442)
  4310. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  4311. }
  4312. case 147:
  4313. p.EnterOuterAlt(localctx, 147)
  4314. {
  4315. p.SetState(444)
  4316. p.Match(Cobol85PreprocessorParserZWB)
  4317. }
  4318. }
  4319. return localctx
  4320. }
  4321. // IExecCicsStatementContext is an interface to support dynamic dispatch.
  4322. type IExecCicsStatementContext interface {
  4323. antlr.ParserRuleContext
  4324. // GetParser returns the parser.
  4325. GetParser() antlr.Parser
  4326. // IsExecCicsStatementContext differentiates from other interfaces.
  4327. IsExecCicsStatementContext()
  4328. }
  4329. type ExecCicsStatementContext struct {
  4330. *antlr.BaseParserRuleContext
  4331. parser antlr.Parser
  4332. }
  4333. func NewEmptyExecCicsStatementContext() *ExecCicsStatementContext {
  4334. var p = new(ExecCicsStatementContext)
  4335. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  4336. p.RuleIndex = Cobol85PreprocessorParserRULE_execCicsStatement
  4337. return p
  4338. }
  4339. func (*ExecCicsStatementContext) IsExecCicsStatementContext() {}
  4340. func NewExecCicsStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExecCicsStatementContext {
  4341. var p = new(ExecCicsStatementContext)
  4342. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  4343. p.parser = parser
  4344. p.RuleIndex = Cobol85PreprocessorParserRULE_execCicsStatement
  4345. return p
  4346. }
  4347. func (s *ExecCicsStatementContext) GetParser() antlr.Parser { return s.parser }
  4348. func (s *ExecCicsStatementContext) EXEC() antlr.TerminalNode {
  4349. return s.GetToken(Cobol85PreprocessorParserEXEC, 0)
  4350. }
  4351. func (s *ExecCicsStatementContext) CICS() antlr.TerminalNode {
  4352. return s.GetToken(Cobol85PreprocessorParserCICS, 0)
  4353. }
  4354. func (s *ExecCicsStatementContext) CharData() ICharDataContext {
  4355. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataContext)(nil)).Elem(), 0)
  4356. if t == nil {
  4357. return nil
  4358. }
  4359. return t.(ICharDataContext)
  4360. }
  4361. func (s *ExecCicsStatementContext) END_EXEC() antlr.TerminalNode {
  4362. return s.GetToken(Cobol85PreprocessorParserEND_EXEC, 0)
  4363. }
  4364. func (s *ExecCicsStatementContext) DOT() antlr.TerminalNode {
  4365. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  4366. }
  4367. func (s *ExecCicsStatementContext) GetRuleContext() antlr.RuleContext {
  4368. return s
  4369. }
  4370. func (s *ExecCicsStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  4371. return antlr.TreesStringTree(s, ruleNames, recog)
  4372. }
  4373. func (s *ExecCicsStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  4374. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4375. listenerT.EnterExecCicsStatement(s)
  4376. }
  4377. }
  4378. func (s *ExecCicsStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  4379. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4380. listenerT.ExitExecCicsStatement(s)
  4381. }
  4382. }
  4383. func (p *Cobol85PreprocessorParser) ExecCicsStatement() (localctx IExecCicsStatementContext) {
  4384. localctx = NewExecCicsStatementContext(p, p.GetParserRuleContext(), p.GetState())
  4385. p.EnterRule(localctx, 8, Cobol85PreprocessorParserRULE_execCicsStatement)
  4386. defer func() {
  4387. p.ExitRule()
  4388. }()
  4389. defer func() {
  4390. if err := recover(); err != nil {
  4391. if v, ok := err.(antlr.RecognitionException); ok {
  4392. localctx.SetException(v)
  4393. p.GetErrorHandler().ReportError(p, v)
  4394. p.GetErrorHandler().Recover(p, v)
  4395. } else {
  4396. panic(err)
  4397. }
  4398. }
  4399. }()
  4400. p.EnterOuterAlt(localctx, 1)
  4401. {
  4402. p.SetState(447)
  4403. p.Match(Cobol85PreprocessorParserEXEC)
  4404. }
  4405. {
  4406. p.SetState(448)
  4407. p.Match(Cobol85PreprocessorParserCICS)
  4408. }
  4409. {
  4410. p.SetState(449)
  4411. p.CharData()
  4412. }
  4413. {
  4414. p.SetState(450)
  4415. p.Match(Cobol85PreprocessorParserEND_EXEC)
  4416. }
  4417. p.SetState(452)
  4418. p.GetErrorHandler().Sync(p)
  4419. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 33, p.GetParserRuleContext()) == 1 {
  4420. {
  4421. p.SetState(451)
  4422. p.Match(Cobol85PreprocessorParserDOT)
  4423. }
  4424. }
  4425. return localctx
  4426. }
  4427. // IExecSqlStatementContext is an interface to support dynamic dispatch.
  4428. type IExecSqlStatementContext interface {
  4429. antlr.ParserRuleContext
  4430. // GetParser returns the parser.
  4431. GetParser() antlr.Parser
  4432. // IsExecSqlStatementContext differentiates from other interfaces.
  4433. IsExecSqlStatementContext()
  4434. }
  4435. type ExecSqlStatementContext struct {
  4436. *antlr.BaseParserRuleContext
  4437. parser antlr.Parser
  4438. }
  4439. func NewEmptyExecSqlStatementContext() *ExecSqlStatementContext {
  4440. var p = new(ExecSqlStatementContext)
  4441. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  4442. p.RuleIndex = Cobol85PreprocessorParserRULE_execSqlStatement
  4443. return p
  4444. }
  4445. func (*ExecSqlStatementContext) IsExecSqlStatementContext() {}
  4446. func NewExecSqlStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExecSqlStatementContext {
  4447. var p = new(ExecSqlStatementContext)
  4448. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  4449. p.parser = parser
  4450. p.RuleIndex = Cobol85PreprocessorParserRULE_execSqlStatement
  4451. return p
  4452. }
  4453. func (s *ExecSqlStatementContext) GetParser() antlr.Parser { return s.parser }
  4454. func (s *ExecSqlStatementContext) EXEC() antlr.TerminalNode {
  4455. return s.GetToken(Cobol85PreprocessorParserEXEC, 0)
  4456. }
  4457. func (s *ExecSqlStatementContext) SQL() antlr.TerminalNode {
  4458. return s.GetToken(Cobol85PreprocessorParserSQL, 0)
  4459. }
  4460. func (s *ExecSqlStatementContext) CharDataSql() ICharDataSqlContext {
  4461. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataSqlContext)(nil)).Elem(), 0)
  4462. if t == nil {
  4463. return nil
  4464. }
  4465. return t.(ICharDataSqlContext)
  4466. }
  4467. func (s *ExecSqlStatementContext) END_EXEC() antlr.TerminalNode {
  4468. return s.GetToken(Cobol85PreprocessorParserEND_EXEC, 0)
  4469. }
  4470. func (s *ExecSqlStatementContext) DOT() antlr.TerminalNode {
  4471. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  4472. }
  4473. func (s *ExecSqlStatementContext) GetRuleContext() antlr.RuleContext {
  4474. return s
  4475. }
  4476. func (s *ExecSqlStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  4477. return antlr.TreesStringTree(s, ruleNames, recog)
  4478. }
  4479. func (s *ExecSqlStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  4480. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4481. listenerT.EnterExecSqlStatement(s)
  4482. }
  4483. }
  4484. func (s *ExecSqlStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  4485. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4486. listenerT.ExitExecSqlStatement(s)
  4487. }
  4488. }
  4489. func (p *Cobol85PreprocessorParser) ExecSqlStatement() (localctx IExecSqlStatementContext) {
  4490. localctx = NewExecSqlStatementContext(p, p.GetParserRuleContext(), p.GetState())
  4491. p.EnterRule(localctx, 10, Cobol85PreprocessorParserRULE_execSqlStatement)
  4492. defer func() {
  4493. p.ExitRule()
  4494. }()
  4495. defer func() {
  4496. if err := recover(); err != nil {
  4497. if v, ok := err.(antlr.RecognitionException); ok {
  4498. localctx.SetException(v)
  4499. p.GetErrorHandler().ReportError(p, v)
  4500. p.GetErrorHandler().Recover(p, v)
  4501. } else {
  4502. panic(err)
  4503. }
  4504. }
  4505. }()
  4506. p.EnterOuterAlt(localctx, 1)
  4507. {
  4508. p.SetState(454)
  4509. p.Match(Cobol85PreprocessorParserEXEC)
  4510. }
  4511. {
  4512. p.SetState(455)
  4513. p.Match(Cobol85PreprocessorParserSQL)
  4514. }
  4515. {
  4516. p.SetState(456)
  4517. p.CharDataSql()
  4518. }
  4519. {
  4520. p.SetState(457)
  4521. p.Match(Cobol85PreprocessorParserEND_EXEC)
  4522. }
  4523. p.SetState(459)
  4524. p.GetErrorHandler().Sync(p)
  4525. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 34, p.GetParserRuleContext()) == 1 {
  4526. {
  4527. p.SetState(458)
  4528. p.Match(Cobol85PreprocessorParserDOT)
  4529. }
  4530. }
  4531. return localctx
  4532. }
  4533. // IExecSqlImsStatementContext is an interface to support dynamic dispatch.
  4534. type IExecSqlImsStatementContext interface {
  4535. antlr.ParserRuleContext
  4536. // GetParser returns the parser.
  4537. GetParser() antlr.Parser
  4538. // IsExecSqlImsStatementContext differentiates from other interfaces.
  4539. IsExecSqlImsStatementContext()
  4540. }
  4541. type ExecSqlImsStatementContext struct {
  4542. *antlr.BaseParserRuleContext
  4543. parser antlr.Parser
  4544. }
  4545. func NewEmptyExecSqlImsStatementContext() *ExecSqlImsStatementContext {
  4546. var p = new(ExecSqlImsStatementContext)
  4547. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  4548. p.RuleIndex = Cobol85PreprocessorParserRULE_execSqlImsStatement
  4549. return p
  4550. }
  4551. func (*ExecSqlImsStatementContext) IsExecSqlImsStatementContext() {}
  4552. func NewExecSqlImsStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExecSqlImsStatementContext {
  4553. var p = new(ExecSqlImsStatementContext)
  4554. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  4555. p.parser = parser
  4556. p.RuleIndex = Cobol85PreprocessorParserRULE_execSqlImsStatement
  4557. return p
  4558. }
  4559. func (s *ExecSqlImsStatementContext) GetParser() antlr.Parser { return s.parser }
  4560. func (s *ExecSqlImsStatementContext) EXEC() antlr.TerminalNode {
  4561. return s.GetToken(Cobol85PreprocessorParserEXEC, 0)
  4562. }
  4563. func (s *ExecSqlImsStatementContext) SQLIMS() antlr.TerminalNode {
  4564. return s.GetToken(Cobol85PreprocessorParserSQLIMS, 0)
  4565. }
  4566. func (s *ExecSqlImsStatementContext) CharData() ICharDataContext {
  4567. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataContext)(nil)).Elem(), 0)
  4568. if t == nil {
  4569. return nil
  4570. }
  4571. return t.(ICharDataContext)
  4572. }
  4573. func (s *ExecSqlImsStatementContext) END_EXEC() antlr.TerminalNode {
  4574. return s.GetToken(Cobol85PreprocessorParserEND_EXEC, 0)
  4575. }
  4576. func (s *ExecSqlImsStatementContext) DOT() antlr.TerminalNode {
  4577. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  4578. }
  4579. func (s *ExecSqlImsStatementContext) GetRuleContext() antlr.RuleContext {
  4580. return s
  4581. }
  4582. func (s *ExecSqlImsStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  4583. return antlr.TreesStringTree(s, ruleNames, recog)
  4584. }
  4585. func (s *ExecSqlImsStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  4586. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4587. listenerT.EnterExecSqlImsStatement(s)
  4588. }
  4589. }
  4590. func (s *ExecSqlImsStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  4591. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4592. listenerT.ExitExecSqlImsStatement(s)
  4593. }
  4594. }
  4595. func (p *Cobol85PreprocessorParser) ExecSqlImsStatement() (localctx IExecSqlImsStatementContext) {
  4596. localctx = NewExecSqlImsStatementContext(p, p.GetParserRuleContext(), p.GetState())
  4597. p.EnterRule(localctx, 12, Cobol85PreprocessorParserRULE_execSqlImsStatement)
  4598. defer func() {
  4599. p.ExitRule()
  4600. }()
  4601. defer func() {
  4602. if err := recover(); err != nil {
  4603. if v, ok := err.(antlr.RecognitionException); ok {
  4604. localctx.SetException(v)
  4605. p.GetErrorHandler().ReportError(p, v)
  4606. p.GetErrorHandler().Recover(p, v)
  4607. } else {
  4608. panic(err)
  4609. }
  4610. }
  4611. }()
  4612. p.EnterOuterAlt(localctx, 1)
  4613. {
  4614. p.SetState(461)
  4615. p.Match(Cobol85PreprocessorParserEXEC)
  4616. }
  4617. {
  4618. p.SetState(462)
  4619. p.Match(Cobol85PreprocessorParserSQLIMS)
  4620. }
  4621. {
  4622. p.SetState(463)
  4623. p.CharData()
  4624. }
  4625. {
  4626. p.SetState(464)
  4627. p.Match(Cobol85PreprocessorParserEND_EXEC)
  4628. }
  4629. p.SetState(466)
  4630. p.GetErrorHandler().Sync(p)
  4631. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 35, p.GetParserRuleContext()) == 1 {
  4632. {
  4633. p.SetState(465)
  4634. p.Match(Cobol85PreprocessorParserDOT)
  4635. }
  4636. }
  4637. return localctx
  4638. }
  4639. // ICopyStatementContext is an interface to support dynamic dispatch.
  4640. type ICopyStatementContext interface {
  4641. antlr.ParserRuleContext
  4642. // GetParser returns the parser.
  4643. GetParser() antlr.Parser
  4644. // IsCopyStatementContext differentiates from other interfaces.
  4645. IsCopyStatementContext()
  4646. }
  4647. type CopyStatementContext struct {
  4648. *antlr.BaseParserRuleContext
  4649. parser antlr.Parser
  4650. }
  4651. func NewEmptyCopyStatementContext() *CopyStatementContext {
  4652. var p = new(CopyStatementContext)
  4653. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  4654. p.RuleIndex = Cobol85PreprocessorParserRULE_copyStatement
  4655. return p
  4656. }
  4657. func (*CopyStatementContext) IsCopyStatementContext() {}
  4658. func NewCopyStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CopyStatementContext {
  4659. var p = new(CopyStatementContext)
  4660. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  4661. p.parser = parser
  4662. p.RuleIndex = Cobol85PreprocessorParserRULE_copyStatement
  4663. return p
  4664. }
  4665. func (s *CopyStatementContext) GetParser() antlr.Parser { return s.parser }
  4666. func (s *CopyStatementContext) COPY() antlr.TerminalNode {
  4667. return s.GetToken(Cobol85PreprocessorParserCOPY, 0)
  4668. }
  4669. func (s *CopyStatementContext) CopySource() ICopySourceContext {
  4670. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICopySourceContext)(nil)).Elem(), 0)
  4671. if t == nil {
  4672. return nil
  4673. }
  4674. return t.(ICopySourceContext)
  4675. }
  4676. func (s *CopyStatementContext) DOT() antlr.TerminalNode {
  4677. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  4678. }
  4679. func (s *CopyStatementContext) AllNEWLINE() []antlr.TerminalNode {
  4680. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  4681. }
  4682. func (s *CopyStatementContext) NEWLINE(i int) antlr.TerminalNode {
  4683. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  4684. }
  4685. func (s *CopyStatementContext) AllDirectoryPhrase() []IDirectoryPhraseContext {
  4686. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IDirectoryPhraseContext)(nil)).Elem())
  4687. var tst = make([]IDirectoryPhraseContext, len(ts))
  4688. for i, t := range ts {
  4689. if t != nil {
  4690. tst[i] = t.(IDirectoryPhraseContext)
  4691. }
  4692. }
  4693. return tst
  4694. }
  4695. func (s *CopyStatementContext) DirectoryPhrase(i int) IDirectoryPhraseContext {
  4696. var t = s.GetTypedRuleContext(reflect.TypeOf((*IDirectoryPhraseContext)(nil)).Elem(), i)
  4697. if t == nil {
  4698. return nil
  4699. }
  4700. return t.(IDirectoryPhraseContext)
  4701. }
  4702. func (s *CopyStatementContext) AllFamilyPhrase() []IFamilyPhraseContext {
  4703. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IFamilyPhraseContext)(nil)).Elem())
  4704. var tst = make([]IFamilyPhraseContext, len(ts))
  4705. for i, t := range ts {
  4706. if t != nil {
  4707. tst[i] = t.(IFamilyPhraseContext)
  4708. }
  4709. }
  4710. return tst
  4711. }
  4712. func (s *CopyStatementContext) FamilyPhrase(i int) IFamilyPhraseContext {
  4713. var t = s.GetTypedRuleContext(reflect.TypeOf((*IFamilyPhraseContext)(nil)).Elem(), i)
  4714. if t == nil {
  4715. return nil
  4716. }
  4717. return t.(IFamilyPhraseContext)
  4718. }
  4719. func (s *CopyStatementContext) AllReplacingPhrase() []IReplacingPhraseContext {
  4720. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IReplacingPhraseContext)(nil)).Elem())
  4721. var tst = make([]IReplacingPhraseContext, len(ts))
  4722. for i, t := range ts {
  4723. if t != nil {
  4724. tst[i] = t.(IReplacingPhraseContext)
  4725. }
  4726. }
  4727. return tst
  4728. }
  4729. func (s *CopyStatementContext) ReplacingPhrase(i int) IReplacingPhraseContext {
  4730. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplacingPhraseContext)(nil)).Elem(), i)
  4731. if t == nil {
  4732. return nil
  4733. }
  4734. return t.(IReplacingPhraseContext)
  4735. }
  4736. func (s *CopyStatementContext) AllSUPPRESS() []antlr.TerminalNode {
  4737. return s.GetTokens(Cobol85PreprocessorParserSUPPRESS)
  4738. }
  4739. func (s *CopyStatementContext) SUPPRESS(i int) antlr.TerminalNode {
  4740. return s.GetToken(Cobol85PreprocessorParserSUPPRESS, i)
  4741. }
  4742. func (s *CopyStatementContext) GetRuleContext() antlr.RuleContext {
  4743. return s
  4744. }
  4745. func (s *CopyStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  4746. return antlr.TreesStringTree(s, ruleNames, recog)
  4747. }
  4748. func (s *CopyStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  4749. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4750. listenerT.EnterCopyStatement(s)
  4751. }
  4752. }
  4753. func (s *CopyStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  4754. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4755. listenerT.ExitCopyStatement(s)
  4756. }
  4757. }
  4758. func (p *Cobol85PreprocessorParser) CopyStatement() (localctx ICopyStatementContext) {
  4759. localctx = NewCopyStatementContext(p, p.GetParserRuleContext(), p.GetState())
  4760. p.EnterRule(localctx, 14, Cobol85PreprocessorParserRULE_copyStatement)
  4761. var _la int
  4762. defer func() {
  4763. p.ExitRule()
  4764. }()
  4765. defer func() {
  4766. if err := recover(); err != nil {
  4767. if v, ok := err.(antlr.RecognitionException); ok {
  4768. localctx.SetException(v)
  4769. p.GetErrorHandler().ReportError(p, v)
  4770. p.GetErrorHandler().Recover(p, v)
  4771. } else {
  4772. panic(err)
  4773. }
  4774. }
  4775. }()
  4776. var _alt int
  4777. p.EnterOuterAlt(localctx, 1)
  4778. {
  4779. p.SetState(468)
  4780. p.Match(Cobol85PreprocessorParserCOPY)
  4781. }
  4782. {
  4783. p.SetState(469)
  4784. p.CopySource()
  4785. }
  4786. p.SetState(484)
  4787. p.GetErrorHandler().Sync(p)
  4788. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 38, p.GetParserRuleContext())
  4789. for _alt != 2 && _alt != antlr.ATNInvalidAltNumber {
  4790. if _alt == 1 {
  4791. p.SetState(473)
  4792. p.GetErrorHandler().Sync(p)
  4793. _la = p.GetTokenStream().LA(1)
  4794. for _la == Cobol85PreprocessorParserNEWLINE {
  4795. {
  4796. p.SetState(470)
  4797. p.Match(Cobol85PreprocessorParserNEWLINE)
  4798. }
  4799. p.SetState(475)
  4800. p.GetErrorHandler().Sync(p)
  4801. _la = p.GetTokenStream().LA(1)
  4802. }
  4803. p.SetState(480)
  4804. p.GetErrorHandler().Sync(p)
  4805. switch p.GetTokenStream().LA(1) {
  4806. case Cobol85PreprocessorParserIN, Cobol85PreprocessorParserOF:
  4807. {
  4808. p.SetState(476)
  4809. p.DirectoryPhrase()
  4810. }
  4811. case Cobol85PreprocessorParserON:
  4812. {
  4813. p.SetState(477)
  4814. p.FamilyPhrase()
  4815. }
  4816. case Cobol85PreprocessorParserREPLACING:
  4817. {
  4818. p.SetState(478)
  4819. p.ReplacingPhrase()
  4820. }
  4821. case Cobol85PreprocessorParserSUPPRESS:
  4822. {
  4823. p.SetState(479)
  4824. p.Match(Cobol85PreprocessorParserSUPPRESS)
  4825. }
  4826. default:
  4827. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  4828. }
  4829. }
  4830. p.SetState(486)
  4831. p.GetErrorHandler().Sync(p)
  4832. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 38, p.GetParserRuleContext())
  4833. }
  4834. p.SetState(490)
  4835. p.GetErrorHandler().Sync(p)
  4836. _la = p.GetTokenStream().LA(1)
  4837. for _la == Cobol85PreprocessorParserNEWLINE {
  4838. {
  4839. p.SetState(487)
  4840. p.Match(Cobol85PreprocessorParserNEWLINE)
  4841. }
  4842. p.SetState(492)
  4843. p.GetErrorHandler().Sync(p)
  4844. _la = p.GetTokenStream().LA(1)
  4845. }
  4846. {
  4847. p.SetState(493)
  4848. p.Match(Cobol85PreprocessorParserDOT)
  4849. }
  4850. return localctx
  4851. }
  4852. // ICopySourceContext is an interface to support dynamic dispatch.
  4853. type ICopySourceContext interface {
  4854. antlr.ParserRuleContext
  4855. // GetParser returns the parser.
  4856. GetParser() antlr.Parser
  4857. // IsCopySourceContext differentiates from other interfaces.
  4858. IsCopySourceContext()
  4859. }
  4860. type CopySourceContext struct {
  4861. *antlr.BaseParserRuleContext
  4862. parser antlr.Parser
  4863. }
  4864. func NewEmptyCopySourceContext() *CopySourceContext {
  4865. var p = new(CopySourceContext)
  4866. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  4867. p.RuleIndex = Cobol85PreprocessorParserRULE_copySource
  4868. return p
  4869. }
  4870. func (*CopySourceContext) IsCopySourceContext() {}
  4871. func NewCopySourceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CopySourceContext {
  4872. var p = new(CopySourceContext)
  4873. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  4874. p.parser = parser
  4875. p.RuleIndex = Cobol85PreprocessorParserRULE_copySource
  4876. return p
  4877. }
  4878. func (s *CopySourceContext) GetParser() antlr.Parser { return s.parser }
  4879. func (s *CopySourceContext) Literal() ILiteralContext {
  4880. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), 0)
  4881. if t == nil {
  4882. return nil
  4883. }
  4884. return t.(ILiteralContext)
  4885. }
  4886. func (s *CopySourceContext) CobolWord() ICobolWordContext {
  4887. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICobolWordContext)(nil)).Elem(), 0)
  4888. if t == nil {
  4889. return nil
  4890. }
  4891. return t.(ICobolWordContext)
  4892. }
  4893. func (s *CopySourceContext) Filename() IFilenameContext {
  4894. var t = s.GetTypedRuleContext(reflect.TypeOf((*IFilenameContext)(nil)).Elem(), 0)
  4895. if t == nil {
  4896. return nil
  4897. }
  4898. return t.(IFilenameContext)
  4899. }
  4900. func (s *CopySourceContext) CopyLibrary() ICopyLibraryContext {
  4901. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICopyLibraryContext)(nil)).Elem(), 0)
  4902. if t == nil {
  4903. return nil
  4904. }
  4905. return t.(ICopyLibraryContext)
  4906. }
  4907. func (s *CopySourceContext) OF() antlr.TerminalNode {
  4908. return s.GetToken(Cobol85PreprocessorParserOF, 0)
  4909. }
  4910. func (s *CopySourceContext) IN() antlr.TerminalNode {
  4911. return s.GetToken(Cobol85PreprocessorParserIN, 0)
  4912. }
  4913. func (s *CopySourceContext) GetRuleContext() antlr.RuleContext {
  4914. return s
  4915. }
  4916. func (s *CopySourceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  4917. return antlr.TreesStringTree(s, ruleNames, recog)
  4918. }
  4919. func (s *CopySourceContext) EnterRule(listener antlr.ParseTreeListener) {
  4920. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4921. listenerT.EnterCopySource(s)
  4922. }
  4923. }
  4924. func (s *CopySourceContext) ExitRule(listener antlr.ParseTreeListener) {
  4925. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  4926. listenerT.ExitCopySource(s)
  4927. }
  4928. }
  4929. func (p *Cobol85PreprocessorParser) CopySource() (localctx ICopySourceContext) {
  4930. localctx = NewCopySourceContext(p, p.GetParserRuleContext(), p.GetState())
  4931. p.EnterRule(localctx, 16, Cobol85PreprocessorParserRULE_copySource)
  4932. var _la int
  4933. defer func() {
  4934. p.ExitRule()
  4935. }()
  4936. defer func() {
  4937. if err := recover(); err != nil {
  4938. if v, ok := err.(antlr.RecognitionException); ok {
  4939. localctx.SetException(v)
  4940. p.GetErrorHandler().ReportError(p, v)
  4941. p.GetErrorHandler().Recover(p, v)
  4942. } else {
  4943. panic(err)
  4944. }
  4945. }
  4946. }()
  4947. p.EnterOuterAlt(localctx, 1)
  4948. p.SetState(498)
  4949. p.GetErrorHandler().Sync(p)
  4950. switch p.GetTokenStream().LA(1) {
  4951. case Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL:
  4952. {
  4953. p.SetState(495)
  4954. p.Literal()
  4955. }
  4956. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR, Cobol85PreprocessorParserIDENTIFIER:
  4957. {
  4958. p.SetState(496)
  4959. p.CobolWord()
  4960. }
  4961. case Cobol85PreprocessorParserFILENAME:
  4962. {
  4963. p.SetState(497)
  4964. p.Filename()
  4965. }
  4966. default:
  4967. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  4968. }
  4969. p.SetState(502)
  4970. p.GetErrorHandler().Sync(p)
  4971. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 41, p.GetParserRuleContext()) == 1 {
  4972. {
  4973. p.SetState(500)
  4974. _la = p.GetTokenStream().LA(1)
  4975. if !(_la == Cobol85PreprocessorParserIN || _la == Cobol85PreprocessorParserOF) {
  4976. p.GetErrorHandler().RecoverInline(p)
  4977. } else {
  4978. p.GetErrorHandler().ReportMatch(p)
  4979. p.Consume()
  4980. }
  4981. }
  4982. {
  4983. p.SetState(501)
  4984. p.CopyLibrary()
  4985. }
  4986. }
  4987. return localctx
  4988. }
  4989. // ICopyLibraryContext is an interface to support dynamic dispatch.
  4990. type ICopyLibraryContext interface {
  4991. antlr.ParserRuleContext
  4992. // GetParser returns the parser.
  4993. GetParser() antlr.Parser
  4994. // IsCopyLibraryContext differentiates from other interfaces.
  4995. IsCopyLibraryContext()
  4996. }
  4997. type CopyLibraryContext struct {
  4998. *antlr.BaseParserRuleContext
  4999. parser antlr.Parser
  5000. }
  5001. func NewEmptyCopyLibraryContext() *CopyLibraryContext {
  5002. var p = new(CopyLibraryContext)
  5003. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  5004. p.RuleIndex = Cobol85PreprocessorParserRULE_copyLibrary
  5005. return p
  5006. }
  5007. func (*CopyLibraryContext) IsCopyLibraryContext() {}
  5008. func NewCopyLibraryContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CopyLibraryContext {
  5009. var p = new(CopyLibraryContext)
  5010. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  5011. p.parser = parser
  5012. p.RuleIndex = Cobol85PreprocessorParserRULE_copyLibrary
  5013. return p
  5014. }
  5015. func (s *CopyLibraryContext) GetParser() antlr.Parser { return s.parser }
  5016. func (s *CopyLibraryContext) Literal() ILiteralContext {
  5017. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), 0)
  5018. if t == nil {
  5019. return nil
  5020. }
  5021. return t.(ILiteralContext)
  5022. }
  5023. func (s *CopyLibraryContext) CobolWord() ICobolWordContext {
  5024. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICobolWordContext)(nil)).Elem(), 0)
  5025. if t == nil {
  5026. return nil
  5027. }
  5028. return t.(ICobolWordContext)
  5029. }
  5030. func (s *CopyLibraryContext) GetRuleContext() antlr.RuleContext {
  5031. return s
  5032. }
  5033. func (s *CopyLibraryContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  5034. return antlr.TreesStringTree(s, ruleNames, recog)
  5035. }
  5036. func (s *CopyLibraryContext) EnterRule(listener antlr.ParseTreeListener) {
  5037. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5038. listenerT.EnterCopyLibrary(s)
  5039. }
  5040. }
  5041. func (s *CopyLibraryContext) ExitRule(listener antlr.ParseTreeListener) {
  5042. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5043. listenerT.ExitCopyLibrary(s)
  5044. }
  5045. }
  5046. func (p *Cobol85PreprocessorParser) CopyLibrary() (localctx ICopyLibraryContext) {
  5047. localctx = NewCopyLibraryContext(p, p.GetParserRuleContext(), p.GetState())
  5048. p.EnterRule(localctx, 18, Cobol85PreprocessorParserRULE_copyLibrary)
  5049. defer func() {
  5050. p.ExitRule()
  5051. }()
  5052. defer func() {
  5053. if err := recover(); err != nil {
  5054. if v, ok := err.(antlr.RecognitionException); ok {
  5055. localctx.SetException(v)
  5056. p.GetErrorHandler().ReportError(p, v)
  5057. p.GetErrorHandler().Recover(p, v)
  5058. } else {
  5059. panic(err)
  5060. }
  5061. }
  5062. }()
  5063. p.SetState(506)
  5064. p.GetErrorHandler().Sync(p)
  5065. switch p.GetTokenStream().LA(1) {
  5066. case Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL:
  5067. p.EnterOuterAlt(localctx, 1)
  5068. {
  5069. p.SetState(504)
  5070. p.Literal()
  5071. }
  5072. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR, Cobol85PreprocessorParserIDENTIFIER:
  5073. p.EnterOuterAlt(localctx, 2)
  5074. {
  5075. p.SetState(505)
  5076. p.CobolWord()
  5077. }
  5078. default:
  5079. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  5080. }
  5081. return localctx
  5082. }
  5083. // IReplacingPhraseContext is an interface to support dynamic dispatch.
  5084. type IReplacingPhraseContext interface {
  5085. antlr.ParserRuleContext
  5086. // GetParser returns the parser.
  5087. GetParser() antlr.Parser
  5088. // IsReplacingPhraseContext differentiates from other interfaces.
  5089. IsReplacingPhraseContext()
  5090. }
  5091. type ReplacingPhraseContext struct {
  5092. *antlr.BaseParserRuleContext
  5093. parser antlr.Parser
  5094. }
  5095. func NewEmptyReplacingPhraseContext() *ReplacingPhraseContext {
  5096. var p = new(ReplacingPhraseContext)
  5097. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  5098. p.RuleIndex = Cobol85PreprocessorParserRULE_replacingPhrase
  5099. return p
  5100. }
  5101. func (*ReplacingPhraseContext) IsReplacingPhraseContext() {}
  5102. func NewReplacingPhraseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReplacingPhraseContext {
  5103. var p = new(ReplacingPhraseContext)
  5104. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  5105. p.parser = parser
  5106. p.RuleIndex = Cobol85PreprocessorParserRULE_replacingPhrase
  5107. return p
  5108. }
  5109. func (s *ReplacingPhraseContext) GetParser() antlr.Parser { return s.parser }
  5110. func (s *ReplacingPhraseContext) REPLACING() antlr.TerminalNode {
  5111. return s.GetToken(Cobol85PreprocessorParserREPLACING, 0)
  5112. }
  5113. func (s *ReplacingPhraseContext) AllReplaceClause() []IReplaceClauseContext {
  5114. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IReplaceClauseContext)(nil)).Elem())
  5115. var tst = make([]IReplaceClauseContext, len(ts))
  5116. for i, t := range ts {
  5117. if t != nil {
  5118. tst[i] = t.(IReplaceClauseContext)
  5119. }
  5120. }
  5121. return tst
  5122. }
  5123. func (s *ReplacingPhraseContext) ReplaceClause(i int) IReplaceClauseContext {
  5124. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplaceClauseContext)(nil)).Elem(), i)
  5125. if t == nil {
  5126. return nil
  5127. }
  5128. return t.(IReplaceClauseContext)
  5129. }
  5130. func (s *ReplacingPhraseContext) AllNEWLINE() []antlr.TerminalNode {
  5131. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  5132. }
  5133. func (s *ReplacingPhraseContext) NEWLINE(i int) antlr.TerminalNode {
  5134. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  5135. }
  5136. func (s *ReplacingPhraseContext) GetRuleContext() antlr.RuleContext {
  5137. return s
  5138. }
  5139. func (s *ReplacingPhraseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  5140. return antlr.TreesStringTree(s, ruleNames, recog)
  5141. }
  5142. func (s *ReplacingPhraseContext) EnterRule(listener antlr.ParseTreeListener) {
  5143. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5144. listenerT.EnterReplacingPhrase(s)
  5145. }
  5146. }
  5147. func (s *ReplacingPhraseContext) ExitRule(listener antlr.ParseTreeListener) {
  5148. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5149. listenerT.ExitReplacingPhrase(s)
  5150. }
  5151. }
  5152. func (p *Cobol85PreprocessorParser) ReplacingPhrase() (localctx IReplacingPhraseContext) {
  5153. localctx = NewReplacingPhraseContext(p, p.GetParserRuleContext(), p.GetState())
  5154. p.EnterRule(localctx, 20, Cobol85PreprocessorParserRULE_replacingPhrase)
  5155. var _la int
  5156. defer func() {
  5157. p.ExitRule()
  5158. }()
  5159. defer func() {
  5160. if err := recover(); err != nil {
  5161. if v, ok := err.(antlr.RecognitionException); ok {
  5162. localctx.SetException(v)
  5163. p.GetErrorHandler().ReportError(p, v)
  5164. p.GetErrorHandler().Recover(p, v)
  5165. } else {
  5166. panic(err)
  5167. }
  5168. }
  5169. }()
  5170. var _alt int
  5171. p.EnterOuterAlt(localctx, 1)
  5172. {
  5173. p.SetState(508)
  5174. p.Match(Cobol85PreprocessorParserREPLACING)
  5175. }
  5176. p.SetState(512)
  5177. p.GetErrorHandler().Sync(p)
  5178. _la = p.GetTokenStream().LA(1)
  5179. for _la == Cobol85PreprocessorParserNEWLINE {
  5180. {
  5181. p.SetState(509)
  5182. p.Match(Cobol85PreprocessorParserNEWLINE)
  5183. }
  5184. p.SetState(514)
  5185. p.GetErrorHandler().Sync(p)
  5186. _la = p.GetTokenStream().LA(1)
  5187. }
  5188. {
  5189. p.SetState(515)
  5190. p.ReplaceClause()
  5191. }
  5192. p.SetState(524)
  5193. p.GetErrorHandler().Sync(p)
  5194. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 45, p.GetParserRuleContext())
  5195. for _alt != 2 && _alt != antlr.ATNInvalidAltNumber {
  5196. if _alt == 1 {
  5197. p.SetState(517)
  5198. p.GetErrorHandler().Sync(p)
  5199. _la = p.GetTokenStream().LA(1)
  5200. for ok := true; ok; ok = _la == Cobol85PreprocessorParserNEWLINE {
  5201. {
  5202. p.SetState(516)
  5203. p.Match(Cobol85PreprocessorParserNEWLINE)
  5204. }
  5205. p.SetState(519)
  5206. p.GetErrorHandler().Sync(p)
  5207. _la = p.GetTokenStream().LA(1)
  5208. }
  5209. {
  5210. p.SetState(521)
  5211. p.ReplaceClause()
  5212. }
  5213. }
  5214. p.SetState(526)
  5215. p.GetErrorHandler().Sync(p)
  5216. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 45, p.GetParserRuleContext())
  5217. }
  5218. return localctx
  5219. }
  5220. // IReplaceAreaContext is an interface to support dynamic dispatch.
  5221. type IReplaceAreaContext interface {
  5222. antlr.ParserRuleContext
  5223. // GetParser returns the parser.
  5224. GetParser() antlr.Parser
  5225. // IsReplaceAreaContext differentiates from other interfaces.
  5226. IsReplaceAreaContext()
  5227. }
  5228. type ReplaceAreaContext struct {
  5229. *antlr.BaseParserRuleContext
  5230. parser antlr.Parser
  5231. }
  5232. func NewEmptyReplaceAreaContext() *ReplaceAreaContext {
  5233. var p = new(ReplaceAreaContext)
  5234. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  5235. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceArea
  5236. return p
  5237. }
  5238. func (*ReplaceAreaContext) IsReplaceAreaContext() {}
  5239. func NewReplaceAreaContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReplaceAreaContext {
  5240. var p = new(ReplaceAreaContext)
  5241. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  5242. p.parser = parser
  5243. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceArea
  5244. return p
  5245. }
  5246. func (s *ReplaceAreaContext) GetParser() antlr.Parser { return s.parser }
  5247. func (s *ReplaceAreaContext) ReplaceByStatement() IReplaceByStatementContext {
  5248. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplaceByStatementContext)(nil)).Elem(), 0)
  5249. if t == nil {
  5250. return nil
  5251. }
  5252. return t.(IReplaceByStatementContext)
  5253. }
  5254. func (s *ReplaceAreaContext) AllCopyStatement() []ICopyStatementContext {
  5255. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICopyStatementContext)(nil)).Elem())
  5256. var tst = make([]ICopyStatementContext, len(ts))
  5257. for i, t := range ts {
  5258. if t != nil {
  5259. tst[i] = t.(ICopyStatementContext)
  5260. }
  5261. }
  5262. return tst
  5263. }
  5264. func (s *ReplaceAreaContext) CopyStatement(i int) ICopyStatementContext {
  5265. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICopyStatementContext)(nil)).Elem(), i)
  5266. if t == nil {
  5267. return nil
  5268. }
  5269. return t.(ICopyStatementContext)
  5270. }
  5271. func (s *ReplaceAreaContext) AllCharData() []ICharDataContext {
  5272. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICharDataContext)(nil)).Elem())
  5273. var tst = make([]ICharDataContext, len(ts))
  5274. for i, t := range ts {
  5275. if t != nil {
  5276. tst[i] = t.(ICharDataContext)
  5277. }
  5278. }
  5279. return tst
  5280. }
  5281. func (s *ReplaceAreaContext) CharData(i int) ICharDataContext {
  5282. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataContext)(nil)).Elem(), i)
  5283. if t == nil {
  5284. return nil
  5285. }
  5286. return t.(ICharDataContext)
  5287. }
  5288. func (s *ReplaceAreaContext) ReplaceOffStatement() IReplaceOffStatementContext {
  5289. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplaceOffStatementContext)(nil)).Elem(), 0)
  5290. if t == nil {
  5291. return nil
  5292. }
  5293. return t.(IReplaceOffStatementContext)
  5294. }
  5295. func (s *ReplaceAreaContext) GetRuleContext() antlr.RuleContext {
  5296. return s
  5297. }
  5298. func (s *ReplaceAreaContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  5299. return antlr.TreesStringTree(s, ruleNames, recog)
  5300. }
  5301. func (s *ReplaceAreaContext) EnterRule(listener antlr.ParseTreeListener) {
  5302. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5303. listenerT.EnterReplaceArea(s)
  5304. }
  5305. }
  5306. func (s *ReplaceAreaContext) ExitRule(listener antlr.ParseTreeListener) {
  5307. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5308. listenerT.ExitReplaceArea(s)
  5309. }
  5310. }
  5311. func (p *Cobol85PreprocessorParser) ReplaceArea() (localctx IReplaceAreaContext) {
  5312. localctx = NewReplaceAreaContext(p, p.GetParserRuleContext(), p.GetState())
  5313. p.EnterRule(localctx, 22, Cobol85PreprocessorParserRULE_replaceArea)
  5314. defer func() {
  5315. p.ExitRule()
  5316. }()
  5317. defer func() {
  5318. if err := recover(); err != nil {
  5319. if v, ok := err.(antlr.RecognitionException); ok {
  5320. localctx.SetException(v)
  5321. p.GetErrorHandler().ReportError(p, v)
  5322. p.GetErrorHandler().Recover(p, v)
  5323. } else {
  5324. panic(err)
  5325. }
  5326. }
  5327. }()
  5328. var _alt int
  5329. p.EnterOuterAlt(localctx, 1)
  5330. {
  5331. p.SetState(527)
  5332. p.ReplaceByStatement()
  5333. }
  5334. p.SetState(532)
  5335. p.GetErrorHandler().Sync(p)
  5336. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 47, p.GetParserRuleContext())
  5337. for _alt != 2 && _alt != antlr.ATNInvalidAltNumber {
  5338. if _alt == 1 {
  5339. p.SetState(530)
  5340. p.GetErrorHandler().Sync(p)
  5341. switch p.GetTokenStream().LA(1) {
  5342. case Cobol85PreprocessorParserCOPY:
  5343. {
  5344. p.SetState(528)
  5345. p.CopyStatement()
  5346. }
  5347. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLPARENCHAR, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserRPARENCHAR, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR, Cobol85PreprocessorParserDOT, Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL, Cobol85PreprocessorParserIDENTIFIER, Cobol85PreprocessorParserFILENAME, Cobol85PreprocessorParserNEWLINE, Cobol85PreprocessorParserTEXT:
  5348. {
  5349. p.SetState(529)
  5350. p.CharData()
  5351. }
  5352. default:
  5353. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  5354. }
  5355. }
  5356. p.SetState(534)
  5357. p.GetErrorHandler().Sync(p)
  5358. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 47, p.GetParserRuleContext())
  5359. }
  5360. p.SetState(536)
  5361. p.GetErrorHandler().Sync(p)
  5362. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 48, p.GetParserRuleContext()) == 1 {
  5363. {
  5364. p.SetState(535)
  5365. p.ReplaceOffStatement()
  5366. }
  5367. }
  5368. return localctx
  5369. }
  5370. // IReplaceByStatementContext is an interface to support dynamic dispatch.
  5371. type IReplaceByStatementContext interface {
  5372. antlr.ParserRuleContext
  5373. // GetParser returns the parser.
  5374. GetParser() antlr.Parser
  5375. // IsReplaceByStatementContext differentiates from other interfaces.
  5376. IsReplaceByStatementContext()
  5377. }
  5378. type ReplaceByStatementContext struct {
  5379. *antlr.BaseParserRuleContext
  5380. parser antlr.Parser
  5381. }
  5382. func NewEmptyReplaceByStatementContext() *ReplaceByStatementContext {
  5383. var p = new(ReplaceByStatementContext)
  5384. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  5385. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceByStatement
  5386. return p
  5387. }
  5388. func (*ReplaceByStatementContext) IsReplaceByStatementContext() {}
  5389. func NewReplaceByStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReplaceByStatementContext {
  5390. var p = new(ReplaceByStatementContext)
  5391. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  5392. p.parser = parser
  5393. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceByStatement
  5394. return p
  5395. }
  5396. func (s *ReplaceByStatementContext) GetParser() antlr.Parser { return s.parser }
  5397. func (s *ReplaceByStatementContext) REPLACE() antlr.TerminalNode {
  5398. return s.GetToken(Cobol85PreprocessorParserREPLACE, 0)
  5399. }
  5400. func (s *ReplaceByStatementContext) DOT() antlr.TerminalNode {
  5401. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  5402. }
  5403. func (s *ReplaceByStatementContext) AllReplaceClause() []IReplaceClauseContext {
  5404. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IReplaceClauseContext)(nil)).Elem())
  5405. var tst = make([]IReplaceClauseContext, len(ts))
  5406. for i, t := range ts {
  5407. if t != nil {
  5408. tst[i] = t.(IReplaceClauseContext)
  5409. }
  5410. }
  5411. return tst
  5412. }
  5413. func (s *ReplaceByStatementContext) ReplaceClause(i int) IReplaceClauseContext {
  5414. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplaceClauseContext)(nil)).Elem(), i)
  5415. if t == nil {
  5416. return nil
  5417. }
  5418. return t.(IReplaceClauseContext)
  5419. }
  5420. func (s *ReplaceByStatementContext) AllNEWLINE() []antlr.TerminalNode {
  5421. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  5422. }
  5423. func (s *ReplaceByStatementContext) NEWLINE(i int) antlr.TerminalNode {
  5424. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  5425. }
  5426. func (s *ReplaceByStatementContext) GetRuleContext() antlr.RuleContext {
  5427. return s
  5428. }
  5429. func (s *ReplaceByStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  5430. return antlr.TreesStringTree(s, ruleNames, recog)
  5431. }
  5432. func (s *ReplaceByStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  5433. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5434. listenerT.EnterReplaceByStatement(s)
  5435. }
  5436. }
  5437. func (s *ReplaceByStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  5438. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5439. listenerT.ExitReplaceByStatement(s)
  5440. }
  5441. }
  5442. func (p *Cobol85PreprocessorParser) ReplaceByStatement() (localctx IReplaceByStatementContext) {
  5443. localctx = NewReplaceByStatementContext(p, p.GetParserRuleContext(), p.GetState())
  5444. p.EnterRule(localctx, 24, Cobol85PreprocessorParserRULE_replaceByStatement)
  5445. var _la int
  5446. defer func() {
  5447. p.ExitRule()
  5448. }()
  5449. defer func() {
  5450. if err := recover(); err != nil {
  5451. if v, ok := err.(antlr.RecognitionException); ok {
  5452. localctx.SetException(v)
  5453. p.GetErrorHandler().ReportError(p, v)
  5454. p.GetErrorHandler().Recover(p, v)
  5455. } else {
  5456. panic(err)
  5457. }
  5458. }
  5459. }()
  5460. var _alt int
  5461. p.EnterOuterAlt(localctx, 1)
  5462. {
  5463. p.SetState(538)
  5464. p.Match(Cobol85PreprocessorParserREPLACE)
  5465. }
  5466. p.SetState(546)
  5467. p.GetErrorHandler().Sync(p)
  5468. _alt = 1
  5469. for ok := true; ok; ok = _alt != 2 && _alt != antlr.ATNInvalidAltNumber {
  5470. switch _alt {
  5471. case 1:
  5472. p.SetState(542)
  5473. p.GetErrorHandler().Sync(p)
  5474. _la = p.GetTokenStream().LA(1)
  5475. for _la == Cobol85PreprocessorParserNEWLINE {
  5476. {
  5477. p.SetState(539)
  5478. p.Match(Cobol85PreprocessorParserNEWLINE)
  5479. }
  5480. p.SetState(544)
  5481. p.GetErrorHandler().Sync(p)
  5482. _la = p.GetTokenStream().LA(1)
  5483. }
  5484. {
  5485. p.SetState(545)
  5486. p.ReplaceClause()
  5487. }
  5488. default:
  5489. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  5490. }
  5491. p.SetState(548)
  5492. p.GetErrorHandler().Sync(p)
  5493. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 50, p.GetParserRuleContext())
  5494. }
  5495. {
  5496. p.SetState(550)
  5497. p.Match(Cobol85PreprocessorParserDOT)
  5498. }
  5499. return localctx
  5500. }
  5501. // IReplaceOffStatementContext is an interface to support dynamic dispatch.
  5502. type IReplaceOffStatementContext interface {
  5503. antlr.ParserRuleContext
  5504. // GetParser returns the parser.
  5505. GetParser() antlr.Parser
  5506. // IsReplaceOffStatementContext differentiates from other interfaces.
  5507. IsReplaceOffStatementContext()
  5508. }
  5509. type ReplaceOffStatementContext struct {
  5510. *antlr.BaseParserRuleContext
  5511. parser antlr.Parser
  5512. }
  5513. func NewEmptyReplaceOffStatementContext() *ReplaceOffStatementContext {
  5514. var p = new(ReplaceOffStatementContext)
  5515. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  5516. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceOffStatement
  5517. return p
  5518. }
  5519. func (*ReplaceOffStatementContext) IsReplaceOffStatementContext() {}
  5520. func NewReplaceOffStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReplaceOffStatementContext {
  5521. var p = new(ReplaceOffStatementContext)
  5522. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  5523. p.parser = parser
  5524. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceOffStatement
  5525. return p
  5526. }
  5527. func (s *ReplaceOffStatementContext) GetParser() antlr.Parser { return s.parser }
  5528. func (s *ReplaceOffStatementContext) REPLACE() antlr.TerminalNode {
  5529. return s.GetToken(Cobol85PreprocessorParserREPLACE, 0)
  5530. }
  5531. func (s *ReplaceOffStatementContext) OFF() antlr.TerminalNode {
  5532. return s.GetToken(Cobol85PreprocessorParserOFF, 0)
  5533. }
  5534. func (s *ReplaceOffStatementContext) DOT() antlr.TerminalNode {
  5535. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  5536. }
  5537. func (s *ReplaceOffStatementContext) GetRuleContext() antlr.RuleContext {
  5538. return s
  5539. }
  5540. func (s *ReplaceOffStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  5541. return antlr.TreesStringTree(s, ruleNames, recog)
  5542. }
  5543. func (s *ReplaceOffStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  5544. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5545. listenerT.EnterReplaceOffStatement(s)
  5546. }
  5547. }
  5548. func (s *ReplaceOffStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  5549. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5550. listenerT.ExitReplaceOffStatement(s)
  5551. }
  5552. }
  5553. func (p *Cobol85PreprocessorParser) ReplaceOffStatement() (localctx IReplaceOffStatementContext) {
  5554. localctx = NewReplaceOffStatementContext(p, p.GetParserRuleContext(), p.GetState())
  5555. p.EnterRule(localctx, 26, Cobol85PreprocessorParserRULE_replaceOffStatement)
  5556. defer func() {
  5557. p.ExitRule()
  5558. }()
  5559. defer func() {
  5560. if err := recover(); err != nil {
  5561. if v, ok := err.(antlr.RecognitionException); ok {
  5562. localctx.SetException(v)
  5563. p.GetErrorHandler().ReportError(p, v)
  5564. p.GetErrorHandler().Recover(p, v)
  5565. } else {
  5566. panic(err)
  5567. }
  5568. }
  5569. }()
  5570. p.EnterOuterAlt(localctx, 1)
  5571. {
  5572. p.SetState(552)
  5573. p.Match(Cobol85PreprocessorParserREPLACE)
  5574. }
  5575. {
  5576. p.SetState(553)
  5577. p.Match(Cobol85PreprocessorParserOFF)
  5578. }
  5579. {
  5580. p.SetState(554)
  5581. p.Match(Cobol85PreprocessorParserDOT)
  5582. }
  5583. return localctx
  5584. }
  5585. // IReplaceClauseContext is an interface to support dynamic dispatch.
  5586. type IReplaceClauseContext interface {
  5587. antlr.ParserRuleContext
  5588. // GetParser returns the parser.
  5589. GetParser() antlr.Parser
  5590. // IsReplaceClauseContext differentiates from other interfaces.
  5591. IsReplaceClauseContext()
  5592. }
  5593. type ReplaceClauseContext struct {
  5594. *antlr.BaseParserRuleContext
  5595. parser antlr.Parser
  5596. }
  5597. func NewEmptyReplaceClauseContext() *ReplaceClauseContext {
  5598. var p = new(ReplaceClauseContext)
  5599. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  5600. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceClause
  5601. return p
  5602. }
  5603. func (*ReplaceClauseContext) IsReplaceClauseContext() {}
  5604. func NewReplaceClauseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReplaceClauseContext {
  5605. var p = new(ReplaceClauseContext)
  5606. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  5607. p.parser = parser
  5608. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceClause
  5609. return p
  5610. }
  5611. func (s *ReplaceClauseContext) GetParser() antlr.Parser { return s.parser }
  5612. func (s *ReplaceClauseContext) Replaceable() IReplaceableContext {
  5613. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplaceableContext)(nil)).Elem(), 0)
  5614. if t == nil {
  5615. return nil
  5616. }
  5617. return t.(IReplaceableContext)
  5618. }
  5619. func (s *ReplaceClauseContext) BY() antlr.TerminalNode {
  5620. return s.GetToken(Cobol85PreprocessorParserBY, 0)
  5621. }
  5622. func (s *ReplaceClauseContext) Replacement() IReplacementContext {
  5623. var t = s.GetTypedRuleContext(reflect.TypeOf((*IReplacementContext)(nil)).Elem(), 0)
  5624. if t == nil {
  5625. return nil
  5626. }
  5627. return t.(IReplacementContext)
  5628. }
  5629. func (s *ReplaceClauseContext) AllNEWLINE() []antlr.TerminalNode {
  5630. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  5631. }
  5632. func (s *ReplaceClauseContext) NEWLINE(i int) antlr.TerminalNode {
  5633. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  5634. }
  5635. func (s *ReplaceClauseContext) DirectoryPhrase() IDirectoryPhraseContext {
  5636. var t = s.GetTypedRuleContext(reflect.TypeOf((*IDirectoryPhraseContext)(nil)).Elem(), 0)
  5637. if t == nil {
  5638. return nil
  5639. }
  5640. return t.(IDirectoryPhraseContext)
  5641. }
  5642. func (s *ReplaceClauseContext) FamilyPhrase() IFamilyPhraseContext {
  5643. var t = s.GetTypedRuleContext(reflect.TypeOf((*IFamilyPhraseContext)(nil)).Elem(), 0)
  5644. if t == nil {
  5645. return nil
  5646. }
  5647. return t.(IFamilyPhraseContext)
  5648. }
  5649. func (s *ReplaceClauseContext) GetRuleContext() antlr.RuleContext {
  5650. return s
  5651. }
  5652. func (s *ReplaceClauseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  5653. return antlr.TreesStringTree(s, ruleNames, recog)
  5654. }
  5655. func (s *ReplaceClauseContext) EnterRule(listener antlr.ParseTreeListener) {
  5656. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5657. listenerT.EnterReplaceClause(s)
  5658. }
  5659. }
  5660. func (s *ReplaceClauseContext) ExitRule(listener antlr.ParseTreeListener) {
  5661. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5662. listenerT.ExitReplaceClause(s)
  5663. }
  5664. }
  5665. func (p *Cobol85PreprocessorParser) ReplaceClause() (localctx IReplaceClauseContext) {
  5666. localctx = NewReplaceClauseContext(p, p.GetParserRuleContext(), p.GetState())
  5667. p.EnterRule(localctx, 28, Cobol85PreprocessorParserRULE_replaceClause)
  5668. var _la int
  5669. defer func() {
  5670. p.ExitRule()
  5671. }()
  5672. defer func() {
  5673. if err := recover(); err != nil {
  5674. if v, ok := err.(antlr.RecognitionException); ok {
  5675. localctx.SetException(v)
  5676. p.GetErrorHandler().ReportError(p, v)
  5677. p.GetErrorHandler().Recover(p, v)
  5678. } else {
  5679. panic(err)
  5680. }
  5681. }
  5682. }()
  5683. p.EnterOuterAlt(localctx, 1)
  5684. {
  5685. p.SetState(556)
  5686. p.Replaceable()
  5687. }
  5688. p.SetState(560)
  5689. p.GetErrorHandler().Sync(p)
  5690. _la = p.GetTokenStream().LA(1)
  5691. for _la == Cobol85PreprocessorParserNEWLINE {
  5692. {
  5693. p.SetState(557)
  5694. p.Match(Cobol85PreprocessorParserNEWLINE)
  5695. }
  5696. p.SetState(562)
  5697. p.GetErrorHandler().Sync(p)
  5698. _la = p.GetTokenStream().LA(1)
  5699. }
  5700. {
  5701. p.SetState(563)
  5702. p.Match(Cobol85PreprocessorParserBY)
  5703. }
  5704. p.SetState(567)
  5705. p.GetErrorHandler().Sync(p)
  5706. _la = p.GetTokenStream().LA(1)
  5707. for _la == Cobol85PreprocessorParserNEWLINE {
  5708. {
  5709. p.SetState(564)
  5710. p.Match(Cobol85PreprocessorParserNEWLINE)
  5711. }
  5712. p.SetState(569)
  5713. p.GetErrorHandler().Sync(p)
  5714. _la = p.GetTokenStream().LA(1)
  5715. }
  5716. {
  5717. p.SetState(570)
  5718. p.Replacement()
  5719. }
  5720. p.SetState(578)
  5721. p.GetErrorHandler().Sync(p)
  5722. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 54, p.GetParserRuleContext()) == 1 {
  5723. p.SetState(574)
  5724. p.GetErrorHandler().Sync(p)
  5725. _la = p.GetTokenStream().LA(1)
  5726. for _la == Cobol85PreprocessorParserNEWLINE {
  5727. {
  5728. p.SetState(571)
  5729. p.Match(Cobol85PreprocessorParserNEWLINE)
  5730. }
  5731. p.SetState(576)
  5732. p.GetErrorHandler().Sync(p)
  5733. _la = p.GetTokenStream().LA(1)
  5734. }
  5735. {
  5736. p.SetState(577)
  5737. p.DirectoryPhrase()
  5738. }
  5739. }
  5740. p.SetState(587)
  5741. p.GetErrorHandler().Sync(p)
  5742. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 56, p.GetParserRuleContext()) == 1 {
  5743. p.SetState(583)
  5744. p.GetErrorHandler().Sync(p)
  5745. _la = p.GetTokenStream().LA(1)
  5746. for _la == Cobol85PreprocessorParserNEWLINE {
  5747. {
  5748. p.SetState(580)
  5749. p.Match(Cobol85PreprocessorParserNEWLINE)
  5750. }
  5751. p.SetState(585)
  5752. p.GetErrorHandler().Sync(p)
  5753. _la = p.GetTokenStream().LA(1)
  5754. }
  5755. {
  5756. p.SetState(586)
  5757. p.FamilyPhrase()
  5758. }
  5759. }
  5760. return localctx
  5761. }
  5762. // IDirectoryPhraseContext is an interface to support dynamic dispatch.
  5763. type IDirectoryPhraseContext interface {
  5764. antlr.ParserRuleContext
  5765. // GetParser returns the parser.
  5766. GetParser() antlr.Parser
  5767. // IsDirectoryPhraseContext differentiates from other interfaces.
  5768. IsDirectoryPhraseContext()
  5769. }
  5770. type DirectoryPhraseContext struct {
  5771. *antlr.BaseParserRuleContext
  5772. parser antlr.Parser
  5773. }
  5774. func NewEmptyDirectoryPhraseContext() *DirectoryPhraseContext {
  5775. var p = new(DirectoryPhraseContext)
  5776. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  5777. p.RuleIndex = Cobol85PreprocessorParserRULE_directoryPhrase
  5778. return p
  5779. }
  5780. func (*DirectoryPhraseContext) IsDirectoryPhraseContext() {}
  5781. func NewDirectoryPhraseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DirectoryPhraseContext {
  5782. var p = new(DirectoryPhraseContext)
  5783. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  5784. p.parser = parser
  5785. p.RuleIndex = Cobol85PreprocessorParserRULE_directoryPhrase
  5786. return p
  5787. }
  5788. func (s *DirectoryPhraseContext) GetParser() antlr.Parser { return s.parser }
  5789. func (s *DirectoryPhraseContext) OF() antlr.TerminalNode {
  5790. return s.GetToken(Cobol85PreprocessorParserOF, 0)
  5791. }
  5792. func (s *DirectoryPhraseContext) IN() antlr.TerminalNode {
  5793. return s.GetToken(Cobol85PreprocessorParserIN, 0)
  5794. }
  5795. func (s *DirectoryPhraseContext) Literal() ILiteralContext {
  5796. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), 0)
  5797. if t == nil {
  5798. return nil
  5799. }
  5800. return t.(ILiteralContext)
  5801. }
  5802. func (s *DirectoryPhraseContext) CobolWord() ICobolWordContext {
  5803. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICobolWordContext)(nil)).Elem(), 0)
  5804. if t == nil {
  5805. return nil
  5806. }
  5807. return t.(ICobolWordContext)
  5808. }
  5809. func (s *DirectoryPhraseContext) AllNEWLINE() []antlr.TerminalNode {
  5810. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  5811. }
  5812. func (s *DirectoryPhraseContext) NEWLINE(i int) antlr.TerminalNode {
  5813. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  5814. }
  5815. func (s *DirectoryPhraseContext) GetRuleContext() antlr.RuleContext {
  5816. return s
  5817. }
  5818. func (s *DirectoryPhraseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  5819. return antlr.TreesStringTree(s, ruleNames, recog)
  5820. }
  5821. func (s *DirectoryPhraseContext) EnterRule(listener antlr.ParseTreeListener) {
  5822. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5823. listenerT.EnterDirectoryPhrase(s)
  5824. }
  5825. }
  5826. func (s *DirectoryPhraseContext) ExitRule(listener antlr.ParseTreeListener) {
  5827. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5828. listenerT.ExitDirectoryPhrase(s)
  5829. }
  5830. }
  5831. func (p *Cobol85PreprocessorParser) DirectoryPhrase() (localctx IDirectoryPhraseContext) {
  5832. localctx = NewDirectoryPhraseContext(p, p.GetParserRuleContext(), p.GetState())
  5833. p.EnterRule(localctx, 30, Cobol85PreprocessorParserRULE_directoryPhrase)
  5834. var _la int
  5835. defer func() {
  5836. p.ExitRule()
  5837. }()
  5838. defer func() {
  5839. if err := recover(); err != nil {
  5840. if v, ok := err.(antlr.RecognitionException); ok {
  5841. localctx.SetException(v)
  5842. p.GetErrorHandler().ReportError(p, v)
  5843. p.GetErrorHandler().Recover(p, v)
  5844. } else {
  5845. panic(err)
  5846. }
  5847. }
  5848. }()
  5849. p.EnterOuterAlt(localctx, 1)
  5850. {
  5851. p.SetState(589)
  5852. _la = p.GetTokenStream().LA(1)
  5853. if !(_la == Cobol85PreprocessorParserIN || _la == Cobol85PreprocessorParserOF) {
  5854. p.GetErrorHandler().RecoverInline(p)
  5855. } else {
  5856. p.GetErrorHandler().ReportMatch(p)
  5857. p.Consume()
  5858. }
  5859. }
  5860. p.SetState(593)
  5861. p.GetErrorHandler().Sync(p)
  5862. _la = p.GetTokenStream().LA(1)
  5863. for _la == Cobol85PreprocessorParserNEWLINE {
  5864. {
  5865. p.SetState(590)
  5866. p.Match(Cobol85PreprocessorParserNEWLINE)
  5867. }
  5868. p.SetState(595)
  5869. p.GetErrorHandler().Sync(p)
  5870. _la = p.GetTokenStream().LA(1)
  5871. }
  5872. p.SetState(598)
  5873. p.GetErrorHandler().Sync(p)
  5874. switch p.GetTokenStream().LA(1) {
  5875. case Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL:
  5876. {
  5877. p.SetState(596)
  5878. p.Literal()
  5879. }
  5880. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR, Cobol85PreprocessorParserIDENTIFIER:
  5881. {
  5882. p.SetState(597)
  5883. p.CobolWord()
  5884. }
  5885. default:
  5886. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  5887. }
  5888. return localctx
  5889. }
  5890. // IFamilyPhraseContext is an interface to support dynamic dispatch.
  5891. type IFamilyPhraseContext interface {
  5892. antlr.ParserRuleContext
  5893. // GetParser returns the parser.
  5894. GetParser() antlr.Parser
  5895. // IsFamilyPhraseContext differentiates from other interfaces.
  5896. IsFamilyPhraseContext()
  5897. }
  5898. type FamilyPhraseContext struct {
  5899. *antlr.BaseParserRuleContext
  5900. parser antlr.Parser
  5901. }
  5902. func NewEmptyFamilyPhraseContext() *FamilyPhraseContext {
  5903. var p = new(FamilyPhraseContext)
  5904. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  5905. p.RuleIndex = Cobol85PreprocessorParserRULE_familyPhrase
  5906. return p
  5907. }
  5908. func (*FamilyPhraseContext) IsFamilyPhraseContext() {}
  5909. func NewFamilyPhraseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FamilyPhraseContext {
  5910. var p = new(FamilyPhraseContext)
  5911. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  5912. p.parser = parser
  5913. p.RuleIndex = Cobol85PreprocessorParserRULE_familyPhrase
  5914. return p
  5915. }
  5916. func (s *FamilyPhraseContext) GetParser() antlr.Parser { return s.parser }
  5917. func (s *FamilyPhraseContext) ON() antlr.TerminalNode {
  5918. return s.GetToken(Cobol85PreprocessorParserON, 0)
  5919. }
  5920. func (s *FamilyPhraseContext) Literal() ILiteralContext {
  5921. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), 0)
  5922. if t == nil {
  5923. return nil
  5924. }
  5925. return t.(ILiteralContext)
  5926. }
  5927. func (s *FamilyPhraseContext) CobolWord() ICobolWordContext {
  5928. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICobolWordContext)(nil)).Elem(), 0)
  5929. if t == nil {
  5930. return nil
  5931. }
  5932. return t.(ICobolWordContext)
  5933. }
  5934. func (s *FamilyPhraseContext) AllNEWLINE() []antlr.TerminalNode {
  5935. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  5936. }
  5937. func (s *FamilyPhraseContext) NEWLINE(i int) antlr.TerminalNode {
  5938. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  5939. }
  5940. func (s *FamilyPhraseContext) GetRuleContext() antlr.RuleContext {
  5941. return s
  5942. }
  5943. func (s *FamilyPhraseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  5944. return antlr.TreesStringTree(s, ruleNames, recog)
  5945. }
  5946. func (s *FamilyPhraseContext) EnterRule(listener antlr.ParseTreeListener) {
  5947. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5948. listenerT.EnterFamilyPhrase(s)
  5949. }
  5950. }
  5951. func (s *FamilyPhraseContext) ExitRule(listener antlr.ParseTreeListener) {
  5952. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  5953. listenerT.ExitFamilyPhrase(s)
  5954. }
  5955. }
  5956. func (p *Cobol85PreprocessorParser) FamilyPhrase() (localctx IFamilyPhraseContext) {
  5957. localctx = NewFamilyPhraseContext(p, p.GetParserRuleContext(), p.GetState())
  5958. p.EnterRule(localctx, 32, Cobol85PreprocessorParserRULE_familyPhrase)
  5959. var _la int
  5960. defer func() {
  5961. p.ExitRule()
  5962. }()
  5963. defer func() {
  5964. if err := recover(); err != nil {
  5965. if v, ok := err.(antlr.RecognitionException); ok {
  5966. localctx.SetException(v)
  5967. p.GetErrorHandler().ReportError(p, v)
  5968. p.GetErrorHandler().Recover(p, v)
  5969. } else {
  5970. panic(err)
  5971. }
  5972. }
  5973. }()
  5974. p.EnterOuterAlt(localctx, 1)
  5975. {
  5976. p.SetState(600)
  5977. p.Match(Cobol85PreprocessorParserON)
  5978. }
  5979. p.SetState(604)
  5980. p.GetErrorHandler().Sync(p)
  5981. _la = p.GetTokenStream().LA(1)
  5982. for _la == Cobol85PreprocessorParserNEWLINE {
  5983. {
  5984. p.SetState(601)
  5985. p.Match(Cobol85PreprocessorParserNEWLINE)
  5986. }
  5987. p.SetState(606)
  5988. p.GetErrorHandler().Sync(p)
  5989. _la = p.GetTokenStream().LA(1)
  5990. }
  5991. p.SetState(609)
  5992. p.GetErrorHandler().Sync(p)
  5993. switch p.GetTokenStream().LA(1) {
  5994. case Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL:
  5995. {
  5996. p.SetState(607)
  5997. p.Literal()
  5998. }
  5999. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR, Cobol85PreprocessorParserIDENTIFIER:
  6000. {
  6001. p.SetState(608)
  6002. p.CobolWord()
  6003. }
  6004. default:
  6005. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  6006. }
  6007. return localctx
  6008. }
  6009. // IReplaceableContext is an interface to support dynamic dispatch.
  6010. type IReplaceableContext interface {
  6011. antlr.ParserRuleContext
  6012. // GetParser returns the parser.
  6013. GetParser() antlr.Parser
  6014. // IsReplaceableContext differentiates from other interfaces.
  6015. IsReplaceableContext()
  6016. }
  6017. type ReplaceableContext struct {
  6018. *antlr.BaseParserRuleContext
  6019. parser antlr.Parser
  6020. }
  6021. func NewEmptyReplaceableContext() *ReplaceableContext {
  6022. var p = new(ReplaceableContext)
  6023. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6024. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceable
  6025. return p
  6026. }
  6027. func (*ReplaceableContext) IsReplaceableContext() {}
  6028. func NewReplaceableContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReplaceableContext {
  6029. var p = new(ReplaceableContext)
  6030. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6031. p.parser = parser
  6032. p.RuleIndex = Cobol85PreprocessorParserRULE_replaceable
  6033. return p
  6034. }
  6035. func (s *ReplaceableContext) GetParser() antlr.Parser { return s.parser }
  6036. func (s *ReplaceableContext) Literal() ILiteralContext {
  6037. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), 0)
  6038. if t == nil {
  6039. return nil
  6040. }
  6041. return t.(ILiteralContext)
  6042. }
  6043. func (s *ReplaceableContext) CobolWord() ICobolWordContext {
  6044. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICobolWordContext)(nil)).Elem(), 0)
  6045. if t == nil {
  6046. return nil
  6047. }
  6048. return t.(ICobolWordContext)
  6049. }
  6050. func (s *ReplaceableContext) PseudoText() IPseudoTextContext {
  6051. var t = s.GetTypedRuleContext(reflect.TypeOf((*IPseudoTextContext)(nil)).Elem(), 0)
  6052. if t == nil {
  6053. return nil
  6054. }
  6055. return t.(IPseudoTextContext)
  6056. }
  6057. func (s *ReplaceableContext) CharDataLine() ICharDataLineContext {
  6058. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataLineContext)(nil)).Elem(), 0)
  6059. if t == nil {
  6060. return nil
  6061. }
  6062. return t.(ICharDataLineContext)
  6063. }
  6064. func (s *ReplaceableContext) GetRuleContext() antlr.RuleContext {
  6065. return s
  6066. }
  6067. func (s *ReplaceableContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6068. return antlr.TreesStringTree(s, ruleNames, recog)
  6069. }
  6070. func (s *ReplaceableContext) EnterRule(listener antlr.ParseTreeListener) {
  6071. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6072. listenerT.EnterReplaceable(s)
  6073. }
  6074. }
  6075. func (s *ReplaceableContext) ExitRule(listener antlr.ParseTreeListener) {
  6076. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6077. listenerT.ExitReplaceable(s)
  6078. }
  6079. }
  6080. func (p *Cobol85PreprocessorParser) Replaceable() (localctx IReplaceableContext) {
  6081. localctx = NewReplaceableContext(p, p.GetParserRuleContext(), p.GetState())
  6082. p.EnterRule(localctx, 34, Cobol85PreprocessorParserRULE_replaceable)
  6083. defer func() {
  6084. p.ExitRule()
  6085. }()
  6086. defer func() {
  6087. if err := recover(); err != nil {
  6088. if v, ok := err.(antlr.RecognitionException); ok {
  6089. localctx.SetException(v)
  6090. p.GetErrorHandler().ReportError(p, v)
  6091. p.GetErrorHandler().Recover(p, v)
  6092. } else {
  6093. panic(err)
  6094. }
  6095. }
  6096. }()
  6097. p.SetState(615)
  6098. p.GetErrorHandler().Sync(p)
  6099. switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 61, p.GetParserRuleContext()) {
  6100. case 1:
  6101. p.EnterOuterAlt(localctx, 1)
  6102. {
  6103. p.SetState(611)
  6104. p.Literal()
  6105. }
  6106. case 2:
  6107. p.EnterOuterAlt(localctx, 2)
  6108. {
  6109. p.SetState(612)
  6110. p.CobolWord()
  6111. }
  6112. case 3:
  6113. p.EnterOuterAlt(localctx, 3)
  6114. {
  6115. p.SetState(613)
  6116. p.PseudoText()
  6117. }
  6118. case 4:
  6119. p.EnterOuterAlt(localctx, 4)
  6120. {
  6121. p.SetState(614)
  6122. p.CharDataLine()
  6123. }
  6124. }
  6125. return localctx
  6126. }
  6127. // IReplacementContext is an interface to support dynamic dispatch.
  6128. type IReplacementContext interface {
  6129. antlr.ParserRuleContext
  6130. // GetParser returns the parser.
  6131. GetParser() antlr.Parser
  6132. // IsReplacementContext differentiates from other interfaces.
  6133. IsReplacementContext()
  6134. }
  6135. type ReplacementContext struct {
  6136. *antlr.BaseParserRuleContext
  6137. parser antlr.Parser
  6138. }
  6139. func NewEmptyReplacementContext() *ReplacementContext {
  6140. var p = new(ReplacementContext)
  6141. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6142. p.RuleIndex = Cobol85PreprocessorParserRULE_replacement
  6143. return p
  6144. }
  6145. func (*ReplacementContext) IsReplacementContext() {}
  6146. func NewReplacementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ReplacementContext {
  6147. var p = new(ReplacementContext)
  6148. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6149. p.parser = parser
  6150. p.RuleIndex = Cobol85PreprocessorParserRULE_replacement
  6151. return p
  6152. }
  6153. func (s *ReplacementContext) GetParser() antlr.Parser { return s.parser }
  6154. func (s *ReplacementContext) Literal() ILiteralContext {
  6155. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), 0)
  6156. if t == nil {
  6157. return nil
  6158. }
  6159. return t.(ILiteralContext)
  6160. }
  6161. func (s *ReplacementContext) CobolWord() ICobolWordContext {
  6162. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICobolWordContext)(nil)).Elem(), 0)
  6163. if t == nil {
  6164. return nil
  6165. }
  6166. return t.(ICobolWordContext)
  6167. }
  6168. func (s *ReplacementContext) PseudoText() IPseudoTextContext {
  6169. var t = s.GetTypedRuleContext(reflect.TypeOf((*IPseudoTextContext)(nil)).Elem(), 0)
  6170. if t == nil {
  6171. return nil
  6172. }
  6173. return t.(IPseudoTextContext)
  6174. }
  6175. func (s *ReplacementContext) CharDataLine() ICharDataLineContext {
  6176. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataLineContext)(nil)).Elem(), 0)
  6177. if t == nil {
  6178. return nil
  6179. }
  6180. return t.(ICharDataLineContext)
  6181. }
  6182. func (s *ReplacementContext) GetRuleContext() antlr.RuleContext {
  6183. return s
  6184. }
  6185. func (s *ReplacementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6186. return antlr.TreesStringTree(s, ruleNames, recog)
  6187. }
  6188. func (s *ReplacementContext) EnterRule(listener antlr.ParseTreeListener) {
  6189. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6190. listenerT.EnterReplacement(s)
  6191. }
  6192. }
  6193. func (s *ReplacementContext) ExitRule(listener antlr.ParseTreeListener) {
  6194. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6195. listenerT.ExitReplacement(s)
  6196. }
  6197. }
  6198. func (p *Cobol85PreprocessorParser) Replacement() (localctx IReplacementContext) {
  6199. localctx = NewReplacementContext(p, p.GetParserRuleContext(), p.GetState())
  6200. p.EnterRule(localctx, 36, Cobol85PreprocessorParserRULE_replacement)
  6201. defer func() {
  6202. p.ExitRule()
  6203. }()
  6204. defer func() {
  6205. if err := recover(); err != nil {
  6206. if v, ok := err.(antlr.RecognitionException); ok {
  6207. localctx.SetException(v)
  6208. p.GetErrorHandler().ReportError(p, v)
  6209. p.GetErrorHandler().Recover(p, v)
  6210. } else {
  6211. panic(err)
  6212. }
  6213. }
  6214. }()
  6215. p.SetState(621)
  6216. p.GetErrorHandler().Sync(p)
  6217. switch p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 62, p.GetParserRuleContext()) {
  6218. case 1:
  6219. p.EnterOuterAlt(localctx, 1)
  6220. {
  6221. p.SetState(617)
  6222. p.Literal()
  6223. }
  6224. case 2:
  6225. p.EnterOuterAlt(localctx, 2)
  6226. {
  6227. p.SetState(618)
  6228. p.CobolWord()
  6229. }
  6230. case 3:
  6231. p.EnterOuterAlt(localctx, 3)
  6232. {
  6233. p.SetState(619)
  6234. p.PseudoText()
  6235. }
  6236. case 4:
  6237. p.EnterOuterAlt(localctx, 4)
  6238. {
  6239. p.SetState(620)
  6240. p.CharDataLine()
  6241. }
  6242. }
  6243. return localctx
  6244. }
  6245. // IEjectStatementContext is an interface to support dynamic dispatch.
  6246. type IEjectStatementContext interface {
  6247. antlr.ParserRuleContext
  6248. // GetParser returns the parser.
  6249. GetParser() antlr.Parser
  6250. // IsEjectStatementContext differentiates from other interfaces.
  6251. IsEjectStatementContext()
  6252. }
  6253. type EjectStatementContext struct {
  6254. *antlr.BaseParserRuleContext
  6255. parser antlr.Parser
  6256. }
  6257. func NewEmptyEjectStatementContext() *EjectStatementContext {
  6258. var p = new(EjectStatementContext)
  6259. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6260. p.RuleIndex = Cobol85PreprocessorParserRULE_ejectStatement
  6261. return p
  6262. }
  6263. func (*EjectStatementContext) IsEjectStatementContext() {}
  6264. func NewEjectStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EjectStatementContext {
  6265. var p = new(EjectStatementContext)
  6266. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6267. p.parser = parser
  6268. p.RuleIndex = Cobol85PreprocessorParserRULE_ejectStatement
  6269. return p
  6270. }
  6271. func (s *EjectStatementContext) GetParser() antlr.Parser { return s.parser }
  6272. func (s *EjectStatementContext) EJECT() antlr.TerminalNode {
  6273. return s.GetToken(Cobol85PreprocessorParserEJECT, 0)
  6274. }
  6275. func (s *EjectStatementContext) DOT() antlr.TerminalNode {
  6276. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  6277. }
  6278. func (s *EjectStatementContext) GetRuleContext() antlr.RuleContext {
  6279. return s
  6280. }
  6281. func (s *EjectStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6282. return antlr.TreesStringTree(s, ruleNames, recog)
  6283. }
  6284. func (s *EjectStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  6285. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6286. listenerT.EnterEjectStatement(s)
  6287. }
  6288. }
  6289. func (s *EjectStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  6290. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6291. listenerT.ExitEjectStatement(s)
  6292. }
  6293. }
  6294. func (p *Cobol85PreprocessorParser) EjectStatement() (localctx IEjectStatementContext) {
  6295. localctx = NewEjectStatementContext(p, p.GetParserRuleContext(), p.GetState())
  6296. p.EnterRule(localctx, 38, Cobol85PreprocessorParserRULE_ejectStatement)
  6297. defer func() {
  6298. p.ExitRule()
  6299. }()
  6300. defer func() {
  6301. if err := recover(); err != nil {
  6302. if v, ok := err.(antlr.RecognitionException); ok {
  6303. localctx.SetException(v)
  6304. p.GetErrorHandler().ReportError(p, v)
  6305. p.GetErrorHandler().Recover(p, v)
  6306. } else {
  6307. panic(err)
  6308. }
  6309. }
  6310. }()
  6311. p.EnterOuterAlt(localctx, 1)
  6312. {
  6313. p.SetState(623)
  6314. p.Match(Cobol85PreprocessorParserEJECT)
  6315. }
  6316. p.SetState(625)
  6317. p.GetErrorHandler().Sync(p)
  6318. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 63, p.GetParserRuleContext()) == 1 {
  6319. {
  6320. p.SetState(624)
  6321. p.Match(Cobol85PreprocessorParserDOT)
  6322. }
  6323. }
  6324. return localctx
  6325. }
  6326. // ISkipStatementContext is an interface to support dynamic dispatch.
  6327. type ISkipStatementContext interface {
  6328. antlr.ParserRuleContext
  6329. // GetParser returns the parser.
  6330. GetParser() antlr.Parser
  6331. // IsSkipStatementContext differentiates from other interfaces.
  6332. IsSkipStatementContext()
  6333. }
  6334. type SkipStatementContext struct {
  6335. *antlr.BaseParserRuleContext
  6336. parser antlr.Parser
  6337. }
  6338. func NewEmptySkipStatementContext() *SkipStatementContext {
  6339. var p = new(SkipStatementContext)
  6340. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6341. p.RuleIndex = Cobol85PreprocessorParserRULE_skipStatement
  6342. return p
  6343. }
  6344. func (*SkipStatementContext) IsSkipStatementContext() {}
  6345. func NewSkipStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SkipStatementContext {
  6346. var p = new(SkipStatementContext)
  6347. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6348. p.parser = parser
  6349. p.RuleIndex = Cobol85PreprocessorParserRULE_skipStatement
  6350. return p
  6351. }
  6352. func (s *SkipStatementContext) GetParser() antlr.Parser { return s.parser }
  6353. func (s *SkipStatementContext) SKIP1() antlr.TerminalNode {
  6354. return s.GetToken(Cobol85PreprocessorParserSKIP1, 0)
  6355. }
  6356. func (s *SkipStatementContext) SKIP2() antlr.TerminalNode {
  6357. return s.GetToken(Cobol85PreprocessorParserSKIP2, 0)
  6358. }
  6359. func (s *SkipStatementContext) SKIP3() antlr.TerminalNode {
  6360. return s.GetToken(Cobol85PreprocessorParserSKIP3, 0)
  6361. }
  6362. func (s *SkipStatementContext) DOT() antlr.TerminalNode {
  6363. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  6364. }
  6365. func (s *SkipStatementContext) GetRuleContext() antlr.RuleContext {
  6366. return s
  6367. }
  6368. func (s *SkipStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6369. return antlr.TreesStringTree(s, ruleNames, recog)
  6370. }
  6371. func (s *SkipStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  6372. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6373. listenerT.EnterSkipStatement(s)
  6374. }
  6375. }
  6376. func (s *SkipStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  6377. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6378. listenerT.ExitSkipStatement(s)
  6379. }
  6380. }
  6381. func (p *Cobol85PreprocessorParser) SkipStatement() (localctx ISkipStatementContext) {
  6382. localctx = NewSkipStatementContext(p, p.GetParserRuleContext(), p.GetState())
  6383. p.EnterRule(localctx, 40, Cobol85PreprocessorParserRULE_skipStatement)
  6384. var _la int
  6385. defer func() {
  6386. p.ExitRule()
  6387. }()
  6388. defer func() {
  6389. if err := recover(); err != nil {
  6390. if v, ok := err.(antlr.RecognitionException); ok {
  6391. localctx.SetException(v)
  6392. p.GetErrorHandler().ReportError(p, v)
  6393. p.GetErrorHandler().Recover(p, v)
  6394. } else {
  6395. panic(err)
  6396. }
  6397. }
  6398. }()
  6399. p.EnterOuterAlt(localctx, 1)
  6400. {
  6401. p.SetState(627)
  6402. _la = p.GetTokenStream().LA(1)
  6403. if !(((_la-238)&-(0x1f+1)) == 0 && ((1<<uint((_la-238)))&((1<<(Cobol85PreprocessorParserSKIP1-238))|(1<<(Cobol85PreprocessorParserSKIP2-238))|(1<<(Cobol85PreprocessorParserSKIP3-238)))) != 0) {
  6404. p.GetErrorHandler().RecoverInline(p)
  6405. } else {
  6406. p.GetErrorHandler().ReportMatch(p)
  6407. p.Consume()
  6408. }
  6409. }
  6410. p.SetState(629)
  6411. p.GetErrorHandler().Sync(p)
  6412. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 64, p.GetParserRuleContext()) == 1 {
  6413. {
  6414. p.SetState(628)
  6415. p.Match(Cobol85PreprocessorParserDOT)
  6416. }
  6417. }
  6418. return localctx
  6419. }
  6420. // ITitleStatementContext is an interface to support dynamic dispatch.
  6421. type ITitleStatementContext interface {
  6422. antlr.ParserRuleContext
  6423. // GetParser returns the parser.
  6424. GetParser() antlr.Parser
  6425. // IsTitleStatementContext differentiates from other interfaces.
  6426. IsTitleStatementContext()
  6427. }
  6428. type TitleStatementContext struct {
  6429. *antlr.BaseParserRuleContext
  6430. parser antlr.Parser
  6431. }
  6432. func NewEmptyTitleStatementContext() *TitleStatementContext {
  6433. var p = new(TitleStatementContext)
  6434. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6435. p.RuleIndex = Cobol85PreprocessorParserRULE_titleStatement
  6436. return p
  6437. }
  6438. func (*TitleStatementContext) IsTitleStatementContext() {}
  6439. func NewTitleStatementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TitleStatementContext {
  6440. var p = new(TitleStatementContext)
  6441. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6442. p.parser = parser
  6443. p.RuleIndex = Cobol85PreprocessorParserRULE_titleStatement
  6444. return p
  6445. }
  6446. func (s *TitleStatementContext) GetParser() antlr.Parser { return s.parser }
  6447. func (s *TitleStatementContext) TITLE() antlr.TerminalNode {
  6448. return s.GetToken(Cobol85PreprocessorParserTITLE, 0)
  6449. }
  6450. func (s *TitleStatementContext) Literal() ILiteralContext {
  6451. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), 0)
  6452. if t == nil {
  6453. return nil
  6454. }
  6455. return t.(ILiteralContext)
  6456. }
  6457. func (s *TitleStatementContext) DOT() antlr.TerminalNode {
  6458. return s.GetToken(Cobol85PreprocessorParserDOT, 0)
  6459. }
  6460. func (s *TitleStatementContext) GetRuleContext() antlr.RuleContext {
  6461. return s
  6462. }
  6463. func (s *TitleStatementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6464. return antlr.TreesStringTree(s, ruleNames, recog)
  6465. }
  6466. func (s *TitleStatementContext) EnterRule(listener antlr.ParseTreeListener) {
  6467. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6468. listenerT.EnterTitleStatement(s)
  6469. }
  6470. }
  6471. func (s *TitleStatementContext) ExitRule(listener antlr.ParseTreeListener) {
  6472. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6473. listenerT.ExitTitleStatement(s)
  6474. }
  6475. }
  6476. func (p *Cobol85PreprocessorParser) TitleStatement() (localctx ITitleStatementContext) {
  6477. localctx = NewTitleStatementContext(p, p.GetParserRuleContext(), p.GetState())
  6478. p.EnterRule(localctx, 42, Cobol85PreprocessorParserRULE_titleStatement)
  6479. defer func() {
  6480. p.ExitRule()
  6481. }()
  6482. defer func() {
  6483. if err := recover(); err != nil {
  6484. if v, ok := err.(antlr.RecognitionException); ok {
  6485. localctx.SetException(v)
  6486. p.GetErrorHandler().ReportError(p, v)
  6487. p.GetErrorHandler().Recover(p, v)
  6488. } else {
  6489. panic(err)
  6490. }
  6491. }
  6492. }()
  6493. p.EnterOuterAlt(localctx, 1)
  6494. {
  6495. p.SetState(631)
  6496. p.Match(Cobol85PreprocessorParserTITLE)
  6497. }
  6498. {
  6499. p.SetState(632)
  6500. p.Literal()
  6501. }
  6502. p.SetState(634)
  6503. p.GetErrorHandler().Sync(p)
  6504. if p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 65, p.GetParserRuleContext()) == 1 {
  6505. {
  6506. p.SetState(633)
  6507. p.Match(Cobol85PreprocessorParserDOT)
  6508. }
  6509. }
  6510. return localctx
  6511. }
  6512. // IPseudoTextContext is an interface to support dynamic dispatch.
  6513. type IPseudoTextContext interface {
  6514. antlr.ParserRuleContext
  6515. // GetParser returns the parser.
  6516. GetParser() antlr.Parser
  6517. // IsPseudoTextContext differentiates from other interfaces.
  6518. IsPseudoTextContext()
  6519. }
  6520. type PseudoTextContext struct {
  6521. *antlr.BaseParserRuleContext
  6522. parser antlr.Parser
  6523. }
  6524. func NewEmptyPseudoTextContext() *PseudoTextContext {
  6525. var p = new(PseudoTextContext)
  6526. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6527. p.RuleIndex = Cobol85PreprocessorParserRULE_pseudoText
  6528. return p
  6529. }
  6530. func (*PseudoTextContext) IsPseudoTextContext() {}
  6531. func NewPseudoTextContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *PseudoTextContext {
  6532. var p = new(PseudoTextContext)
  6533. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6534. p.parser = parser
  6535. p.RuleIndex = Cobol85PreprocessorParserRULE_pseudoText
  6536. return p
  6537. }
  6538. func (s *PseudoTextContext) GetParser() antlr.Parser { return s.parser }
  6539. func (s *PseudoTextContext) AllDOUBLEEQUALCHAR() []antlr.TerminalNode {
  6540. return s.GetTokens(Cobol85PreprocessorParserDOUBLEEQUALCHAR)
  6541. }
  6542. func (s *PseudoTextContext) DOUBLEEQUALCHAR(i int) antlr.TerminalNode {
  6543. return s.GetToken(Cobol85PreprocessorParserDOUBLEEQUALCHAR, i)
  6544. }
  6545. func (s *PseudoTextContext) CharData() ICharDataContext {
  6546. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataContext)(nil)).Elem(), 0)
  6547. if t == nil {
  6548. return nil
  6549. }
  6550. return t.(ICharDataContext)
  6551. }
  6552. func (s *PseudoTextContext) GetRuleContext() antlr.RuleContext {
  6553. return s
  6554. }
  6555. func (s *PseudoTextContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6556. return antlr.TreesStringTree(s, ruleNames, recog)
  6557. }
  6558. func (s *PseudoTextContext) EnterRule(listener antlr.ParseTreeListener) {
  6559. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6560. listenerT.EnterPseudoText(s)
  6561. }
  6562. }
  6563. func (s *PseudoTextContext) ExitRule(listener antlr.ParseTreeListener) {
  6564. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6565. listenerT.ExitPseudoText(s)
  6566. }
  6567. }
  6568. func (p *Cobol85PreprocessorParser) PseudoText() (localctx IPseudoTextContext) {
  6569. localctx = NewPseudoTextContext(p, p.GetParserRuleContext(), p.GetState())
  6570. p.EnterRule(localctx, 44, Cobol85PreprocessorParserRULE_pseudoText)
  6571. var _la int
  6572. defer func() {
  6573. p.ExitRule()
  6574. }()
  6575. defer func() {
  6576. if err := recover(); err != nil {
  6577. if v, ok := err.(antlr.RecognitionException); ok {
  6578. localctx.SetException(v)
  6579. p.GetErrorHandler().ReportError(p, v)
  6580. p.GetErrorHandler().Recover(p, v)
  6581. } else {
  6582. panic(err)
  6583. }
  6584. }
  6585. }()
  6586. p.EnterOuterAlt(localctx, 1)
  6587. {
  6588. p.SetState(636)
  6589. p.Match(Cobol85PreprocessorParserDOUBLEEQUALCHAR)
  6590. }
  6591. p.SetState(638)
  6592. p.GetErrorHandler().Sync(p)
  6593. _la = p.GetTokenStream().LA(1)
  6594. if (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<Cobol85PreprocessorParserADATA)|(1<<Cobol85PreprocessorParserADV)|(1<<Cobol85PreprocessorParserALIAS)|(1<<Cobol85PreprocessorParserANSI)|(1<<Cobol85PreprocessorParserANY)|(1<<Cobol85PreprocessorParserAPOST)|(1<<Cobol85PreprocessorParserAR)|(1<<Cobol85PreprocessorParserARITH)|(1<<Cobol85PreprocessorParserAUTO)|(1<<Cobol85PreprocessorParserAWO)|(1<<Cobol85PreprocessorParserBIN)|(1<<Cobol85PreprocessorParserBLOCK0)|(1<<Cobol85PreprocessorParserBUF)|(1<<Cobol85PreprocessorParserBUFSIZE)|(1<<Cobol85PreprocessorParserBY)|(1<<Cobol85PreprocessorParserCBL)|(1<<Cobol85PreprocessorParserCBLCARD)|(1<<Cobol85PreprocessorParserCO)|(1<<Cobol85PreprocessorParserCOBOL2)|(1<<Cobol85PreprocessorParserCOBOL3)|(1<<Cobol85PreprocessorParserCODEPAGE)|(1<<Cobol85PreprocessorParserCOMPAT)|(1<<Cobol85PreprocessorParserCOMPILE)|(1<<Cobol85PreprocessorParserCP)|(1<<Cobol85PreprocessorParserCPP)|(1<<Cobol85PreprocessorParserCPSM)|(1<<Cobol85PreprocessorParserCS)|(1<<Cobol85PreprocessorParserCURR)|(1<<Cobol85PreprocessorParserCURRENCY))) != 0) || (((_la-32)&-(0x1f+1)) == 0 && ((1<<uint((_la-32)))&((1<<(Cobol85PreprocessorParserDATA-32))|(1<<(Cobol85PreprocessorParserDATEPROC-32))|(1<<(Cobol85PreprocessorParserDBCS-32))|(1<<(Cobol85PreprocessorParserDD-32))|(1<<(Cobol85PreprocessorParserDEBUG-32))|(1<<(Cobol85PreprocessorParserDECK-32))|(1<<(Cobol85PreprocessorParserDIAGTRUNC-32))|(1<<(Cobol85PreprocessorParserDLI-32))|(1<<(Cobol85PreprocessorParserDLL-32))|(1<<(Cobol85PreprocessorParserDP-32))|(1<<(Cobol85PreprocessorParserDTR-32))|(1<<(Cobol85PreprocessorParserDU-32))|(1<<(Cobol85PreprocessorParserDUMP-32))|(1<<(Cobol85PreprocessorParserDYN-32))|(1<<(Cobol85PreprocessorParserDYNAM-32))|(1<<(Cobol85PreprocessorParserEDF-32))|(1<<(Cobol85PreprocessorParserEJECT-32))|(1<<(Cobol85PreprocessorParserEJPD-32))|(1<<(Cobol85PreprocessorParserEN-32))|(1<<(Cobol85PreprocessorParserENGLISH-32))|(1<<(Cobol85PreprocessorParserEPILOG-32))|(1<<(Cobol85PreprocessorParserEXCI-32))|(1<<(Cobol85PreprocessorParserEXIT-32))|(1<<(Cobol85PreprocessorParserEXP-32))|(1<<(Cobol85PreprocessorParserEXPORTALL-32))|(1<<(Cobol85PreprocessorParserEXTEND-32))|(1<<(Cobol85PreprocessorParserFASTSRT-32))|(1<<(Cobol85PreprocessorParserFLAG-32))|(1<<(Cobol85PreprocessorParserFLAGSTD-32)))) != 0) || (((_la-64)&-(0x1f+1)) == 0 && ((1<<uint((_la-64)))&((1<<(Cobol85PreprocessorParserFSRT-64))|(1<<(Cobol85PreprocessorParserFULL-64))|(1<<(Cobol85PreprocessorParserGDS-64))|(1<<(Cobol85PreprocessorParserGRAPHIC-64))|(1<<(Cobol85PreprocessorParserHOOK-64))|(1<<(Cobol85PreprocessorParserIN-64))|(1<<(Cobol85PreprocessorParserINTDATE-64))|(1<<(Cobol85PreprocessorParserJA-64))|(1<<(Cobol85PreprocessorParserJP-64))|(1<<(Cobol85PreprocessorParserKA-64))|(1<<(Cobol85PreprocessorParserLANG-64))|(1<<(Cobol85PreprocessorParserLANGUAGE-64))|(1<<(Cobol85PreprocessorParserLC-64))|(1<<(Cobol85PreprocessorParserLENGTH-64))|(1<<(Cobol85PreprocessorParserLIB-64))|(1<<(Cobol85PreprocessorParserLILIAN-64))|(1<<(Cobol85PreprocessorParserLIN-64))|(1<<(Cobol85PreprocessorParserLINECOUNT-64))|(1<<(Cobol85PreprocessorParserLINKAGE-64))|(1<<(Cobol85PreprocessorParserLIST-64))|(1<<(Cobol85PreprocessorParserLM-64))|(1<<(Cobol85PreprocessorParserLONGMIXED-64))|(1<<(Cobol85PreprocessorParserLONGUPPER-64))|(1<<(Cobol85PreprocessorParserLPARENCHAR-64))|(1<<(Cobol85PreprocessorParserLU-64))|(1<<(Cobol85PreprocessorParserMAP-64))|(1<<(Cobol85PreprocessorParserMARGINS-64))|(1<<(Cobol85PreprocessorParserMAX-64))|(1<<(Cobol85PreprocessorParserMD-64))|(1<<(Cobol85PreprocessorParserMDECK-64))|(1<<(Cobol85PreprocessorParserMIG-64)))) != 0) || (((_la-96)&-(0x1f+1)) == 0 && ((1<<uint((_la-96)))&((1<<(Cobol85PreprocessorParserMIXED-96))|(1<<(Cobol85PreprocessorParserNAME-96))|(1<<(Cobol85PreprocessorParserNAT-96))|(1<<(Cobol85PreprocessorParserNATIONAL-96))|(1<<(Cobol85PreprocessorParserNATLANG-96))|(1<<(Cobol85PreprocessorParserNN-96))|(1<<(Cobol85PreprocessorParserNO-96))|(1<<(Cobol85PreprocessorParserNOADATA-96))|(1<<(Cobol85PreprocessorParserNOADV-96))|(1<<(Cobol85PreprocessorParserNOALIAS-96))|(1<<(Cobol85PreprocessorParserNOAWO-96))|(1<<(Cobol85PreprocessorParserNOBLOCK0-96))|(1<<(Cobol85PreprocessorParserNOC-96))|(1<<(Cobol85PreprocessorParserNOCBLCARD-96))|(1<<(Cobol85PreprocessorParserNOCICS-96))|(1<<(Cobol85PreprocessorParserNOCMPR2-96))|(1<<(Cobol85PreprocessorParserNOCOMPILE-96))|(1<<(Cobol85PreprocessorParserNOCPSM-96))|(1<<(Cobol85PreprocessorParserNOCURR-96))|(1<<(Cobol85PreprocessorParserNOCURRENCY-96))|(1<<(Cobol85PreprocessorParserNOD-96))|(1<<(Cobol85PreprocessorParserNODATEPROC-96))|(1<<(Cobol85PreprocessorParserNODBCS-96))|(1<<(Cobol85PreprocessorParserNODE-96))|(1<<(Cobol85PreprocessorParserNODEBUG-96))|(1<<(Cobol85PreprocessorParserNODECK-96))|(1<<(Cobol85PreprocessorParserNODIAGTRUNC-96))|(1<<(Cobol85PreprocessorParserNODLL-96))|(1<<(Cobol85PreprocessorParserNODU-96))|(1<<(Cobol85PreprocessorParserNODUMP-96))|(1<<(Cobol85PreprocessorParserNODP-96))|(1<<(Cobol85PreprocessorParserNODTR-96)))) != 0) || (((_la-128)&-(0x1f+1)) == 0 && ((1<<uint((_la-128)))&((1<<(Cobol85PreprocessorParserNODYN-128))|(1<<(Cobol85PreprocessorParserNODYNAM-128))|(1<<(Cobol85PreprocessorParserNOEDF-128))|(1<<(Cobol85PreprocessorParserNOEJPD-128))|(1<<(Cobol85PreprocessorParserNOEPILOG-128))|(1<<(Cobol85PreprocessorParserNOEXIT-128))|(1<<(Cobol85PreprocessorParserNOEXP-128))|(1<<(Cobol85PreprocessorParserNOEXPORTALL-128))|(1<<(Cobol85PreprocessorParserNOF-128))|(1<<(Cobol85PreprocessorParserNOFASTSRT-128))|(1<<(Cobol85PreprocessorParserNOFEPI-128))|(1<<(Cobol85PreprocessorParserNOFLAG-128))|(1<<(Cobol85PreprocessorParserNOFLAGMIG-128))|(1<<(Cobol85PreprocessorParserNOFLAGSTD-128))|(1<<(Cobol85PreprocessorParserNOFSRT-128))|(1<<(Cobol85PreprocessorParserNOGRAPHIC-128))|(1<<(Cobol85PreprocessorParserNOHOOK-128))|(1<<(Cobol85PreprocessorParserNOLENGTH-128))|(1<<(Cobol85PreprocessorParserNOLIB-128))|(1<<(Cobol85PreprocessorParserNOLINKAGE-128))|(1<<(Cobol85PreprocessorParserNOLIST-128))|(1<<(Cobol85PreprocessorParserNOMAP-128))|(1<<(Cobol85PreprocessorParserNOMD-128))|(1<<(Cobol85PreprocessorParserNOMDECK-128))|(1<<(Cobol85PreprocessorParserNONAME-128))|(1<<(Cobol85PreprocessorParserNONUM-128))|(1<<(Cobol85PreprocessorParserNONUMBER-128))|(1<<(Cobol85PreprocessorParserNOOBJ-128))|(1<<(Cobol85PreprocessorParserNOOBJECT-128))|(1<<(Cobol85PreprocessorParserNOOFF-128))|(1<<(Cobol85PreprocessorParserNOOFFSET-128))|(1<<(Cobol85PreprocessorParserNOOPSEQUENCE-128)))) != 0) || (((_la-160)&-(0x1f+1)) == 0 && ((1<<uint((_la-160)))&((1<<(Cobol85PreprocessorParserNOOPT-160))|(1<<(Cobol85PreprocessorParserNOOPTIMIZE-160))|(1<<(Cobol85PreprocessorParserNOOPTIONS-160))|(1<<(Cobol85PreprocessorParserNOP-160))|(1<<(Cobol85PreprocessorParserNOPFD-160))|(1<<(Cobol85PreprocessorParserNOPROLOG-160))|(1<<(Cobol85PreprocessorParserNORENT-160))|(1<<(Cobol85PreprocessorParserNOS-160))|(1<<(Cobol85PreprocessorParserNOSEP-160))|(1<<(Cobol85PreprocessorParserNOSEPARATE-160))|(1<<(Cobol85PreprocessorParserNOSEQ-160))|(1<<(Cobol85PreprocessorParserNOSOURCE-160))|(1<<(Cobol85PreprocessorParserNOSPIE-160))|(1<<(Cobol85PreprocessorParserNOSQL-160))|(1<<(Cobol85PreprocessorParserNOSQLC-160))|(1<<(Cobol85PreprocessorParserNOSQLCCSID-160))|(1<<(Cobol85PreprocessorParserNOSSR-160))|(1<<(Cobol85PreprocessorParserNOSSRANGE-160))|(1<<(Cobol85PreprocessorParserNOSTDTRUNC-160))|(1<<(Cobol85PreprocessorParserNOSEQUENCE-160))|(1<<(Cobol85PreprocessorParserNOTERM-160))|(1<<(Cobol85PreprocessorParserNOTERMINAL-160))|(1<<(Cobol85PreprocessorParserNOTEST-160))|(1<<(Cobol85PreprocessorParserNOTHREAD-160))|(1<<(Cobol85PreprocessorParserNOTRIG-160))|(1<<(Cobol85PreprocessorParserNOVBREF-160))|(1<<(Cobol85PreprocessorParserNOWORD-160))|(1<<(Cobol85PreprocessorParserNOX-160))|(1<<(Cobol85PreprocessorParserNOXREF-160))|(1<<(Cobol85PreprocessorParserNOZWB-160))|(1<<(Cobol85PreprocessorParserNS-160)))) != 0) || (((_la-192)&-(0x1f+1)) == 0 && ((1<<uint((_la-192)))&((1<<(Cobol85PreprocessorParserNSEQ-192))|(1<<(Cobol85PreprocessorParserNSYMBOL-192))|(1<<(Cobol85PreprocessorParserNUM-192))|(1<<(Cobol85PreprocessorParserNUMBER-192))|(1<<(Cobol85PreprocessorParserNUMPROC-192))|(1<<(Cobol85PreprocessorParserOBJ-192))|(1<<(Cobol85PreprocessorParserOBJECT-192))|(1<<(Cobol85PreprocessorParserOF-192))|(1<<(Cobol85PreprocessorParserOFF-192))|(1<<(Cobol85PreprocessorParserOFFSET-192))|(1<<(Cobol85PreprocessorParserON-192))|(1<<(Cobol85PreprocessorParserOP-192))|(1<<(Cobol85PreprocessorParserOPMARGINS-192))|(1<<(Cobol85PreprocessorParserOPSEQUENCE-192))|(1<<(Cobol85PreprocessorParserOPT-192))|(1<<(Cobol85PreprocessorParserOPTFILE-192))|(1<<(Cobol85PreprocessorParserOPTIMIZE-192))|(1<<(Cobol85PreprocessorParserOPTIONS-192))|(1<<(Cobol85PreprocessorParserOUT-192))|(1<<(Cobol85PreprocessorParserOUTDD-192))|(1<<(Cobol85PreprocessorParserPFD-192))|(1<<(Cobol85PreprocessorParserPPTDBG-192))|(1<<(Cobol85PreprocessorParserPGMN-192))|(1<<(Cobol85PreprocessorParserPGMNAME-192))|(1<<(Cobol85PreprocessorParserPROCESS-192))|(1<<(Cobol85PreprocessorParserPROLOG-192))|(1<<(Cobol85PreprocessorParserQUOTE-192))|(1<<(Cobol85PreprocessorParserRENT-192))|(1<<(Cobol85PreprocessorParserREPLACING-192))|(1<<(Cobol85PreprocessorParserRMODE-192))|(1<<(Cobol85PreprocessorParserRPARENCHAR-192)))) != 0) || (((_la-224)&-(0x1f+1)) == 0 && ((1<<uint((_la-224)))&((1<<(Cobol85PreprocessorParserSEP-224))|(1<<(Cobol85PreprocessorParserSEPARATE-224))|(1<<(Cobol85PreprocessorParserSEQ-224))|(1<<(Cobol85PreprocessorParserSEQUENCE-224))|(1<<(Cobol85PreprocessorParserSHORT-224))|(1<<(Cobol85PreprocessorParserSIZE-224))|(1<<(Cobol85PreprocessorParserSOURCE-224))|(1<<(Cobol85PreprocessorParserSP-224))|(1<<(Cobol85PreprocessorParserSPACE-224))|(1<<(Cobol85PreprocessorParserSPIE-224))|(1<<(Cobol85PreprocessorParserSQL-224))|(1<<(Cobol85PreprocessorParserSQLC-224))|(1<<(Cobol85PreprocessorParserSQLCCSID-224))|(1<<(Cobol85PreprocessorParserSS-224))|(1<<(Cobol85PreprocessorParserSSR-224))|(1<<(Cobol85PreprocessorParserSSRANGE-224))|(1<<(Cobol85PreprocessorParserSTD-224))|(1<<(Cobol85PreprocessorParserSYSEIB-224))|(1<<(Cobol85PreprocessorParserSZ-224))|(1<<(Cobol85PreprocessorParserTERM-224))|(1<<(Cobol85PreprocessorParserTERMINAL-224))|(1<<(Cobol85PreprocessorParserTEST-224))|(1<<(Cobol85PreprocessorParserTHREAD-224))|(1<<(Cobol85PreprocessorParserTITLE-224))|(1<<(Cobol85PreprocessorParserTRIG-224))|(1<<(Cobol85PreprocessorParserTRUNC-224))|(1<<(Cobol85PreprocessorParserUE-224)))) != 0) || (((_la-256)&-(0x1f+1)) == 0 && ((1<<uint((_la-256)))&((1<<(Cobol85PreprocessorParserUPPER-256))|(1<<(Cobol85PreprocessorParserVBREF-256))|(1<<(Cobol85PreprocessorParserWD-256))|(1<<(Cobol85PreprocessorParserXMLPARSE-256))|(1<<(Cobol85PreprocessorParserXMLSS-256))|(1<<(Cobol85PreprocessorParserXOPTS-256))|(1<<(Cobol85PreprocessorParserXREF-256))|(1<<(Cobol85PreprocessorParserYEARWINDOW-256))|(1<<(Cobol85PreprocessorParserYW-256))|(1<<(Cobol85PreprocessorParserZWB-256))|(1<<(Cobol85PreprocessorParserC_CHAR-256))|(1<<(Cobol85PreprocessorParserD_CHAR-256))|(1<<(Cobol85PreprocessorParserE_CHAR-256))|(1<<(Cobol85PreprocessorParserF_CHAR-256))|(1<<(Cobol85PreprocessorParserH_CHAR-256))|(1<<(Cobol85PreprocessorParserI_CHAR-256))|(1<<(Cobol85PreprocessorParserM_CHAR-256))|(1<<(Cobol85PreprocessorParserN_CHAR-256))|(1<<(Cobol85PreprocessorParserQ_CHAR-256))|(1<<(Cobol85PreprocessorParserS_CHAR-256))|(1<<(Cobol85PreprocessorParserU_CHAR-256))|(1<<(Cobol85PreprocessorParserW_CHAR-256))|(1<<(Cobol85PreprocessorParserX_CHAR-256))|(1<<(Cobol85PreprocessorParserCOMMACHAR-256))|(1<<(Cobol85PreprocessorParserDOT-256))|(1<<(Cobol85PreprocessorParserNONNUMERICLITERAL-256))|(1<<(Cobol85PreprocessorParserNUMERICLITERAL-256))|(1<<(Cobol85PreprocessorParserIDENTIFIER-256)))) != 0) || (((_la-288)&-(0x1f+1)) == 0 && ((1<<uint((_la-288)))&((1<<(Cobol85PreprocessorParserFILENAME-288))|(1<<(Cobol85PreprocessorParserNEWLINE-288))|(1<<(Cobol85PreprocessorParserTEXT-288)))) != 0) {
  6595. {
  6596. p.SetState(637)
  6597. p.CharData()
  6598. }
  6599. }
  6600. {
  6601. p.SetState(640)
  6602. p.Match(Cobol85PreprocessorParserDOUBLEEQUALCHAR)
  6603. }
  6604. return localctx
  6605. }
  6606. // ICharDataContext is an interface to support dynamic dispatch.
  6607. type ICharDataContext interface {
  6608. antlr.ParserRuleContext
  6609. // GetParser returns the parser.
  6610. GetParser() antlr.Parser
  6611. // IsCharDataContext differentiates from other interfaces.
  6612. IsCharDataContext()
  6613. }
  6614. type CharDataContext struct {
  6615. *antlr.BaseParserRuleContext
  6616. parser antlr.Parser
  6617. }
  6618. func NewEmptyCharDataContext() *CharDataContext {
  6619. var p = new(CharDataContext)
  6620. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6621. p.RuleIndex = Cobol85PreprocessorParserRULE_charData
  6622. return p
  6623. }
  6624. func (*CharDataContext) IsCharDataContext() {}
  6625. func NewCharDataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CharDataContext {
  6626. var p = new(CharDataContext)
  6627. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6628. p.parser = parser
  6629. p.RuleIndex = Cobol85PreprocessorParserRULE_charData
  6630. return p
  6631. }
  6632. func (s *CharDataContext) GetParser() antlr.Parser { return s.parser }
  6633. func (s *CharDataContext) AllCharDataLine() []ICharDataLineContext {
  6634. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICharDataLineContext)(nil)).Elem())
  6635. var tst = make([]ICharDataLineContext, len(ts))
  6636. for i, t := range ts {
  6637. if t != nil {
  6638. tst[i] = t.(ICharDataLineContext)
  6639. }
  6640. }
  6641. return tst
  6642. }
  6643. func (s *CharDataContext) CharDataLine(i int) ICharDataLineContext {
  6644. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataLineContext)(nil)).Elem(), i)
  6645. if t == nil {
  6646. return nil
  6647. }
  6648. return t.(ICharDataLineContext)
  6649. }
  6650. func (s *CharDataContext) AllNEWLINE() []antlr.TerminalNode {
  6651. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  6652. }
  6653. func (s *CharDataContext) NEWLINE(i int) antlr.TerminalNode {
  6654. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  6655. }
  6656. func (s *CharDataContext) GetRuleContext() antlr.RuleContext {
  6657. return s
  6658. }
  6659. func (s *CharDataContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6660. return antlr.TreesStringTree(s, ruleNames, recog)
  6661. }
  6662. func (s *CharDataContext) EnterRule(listener antlr.ParseTreeListener) {
  6663. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6664. listenerT.EnterCharData(s)
  6665. }
  6666. }
  6667. func (s *CharDataContext) ExitRule(listener antlr.ParseTreeListener) {
  6668. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6669. listenerT.ExitCharData(s)
  6670. }
  6671. }
  6672. func (p *Cobol85PreprocessorParser) CharData() (localctx ICharDataContext) {
  6673. localctx = NewCharDataContext(p, p.GetParserRuleContext(), p.GetState())
  6674. p.EnterRule(localctx, 46, Cobol85PreprocessorParserRULE_charData)
  6675. defer func() {
  6676. p.ExitRule()
  6677. }()
  6678. defer func() {
  6679. if err := recover(); err != nil {
  6680. if v, ok := err.(antlr.RecognitionException); ok {
  6681. localctx.SetException(v)
  6682. p.GetErrorHandler().ReportError(p, v)
  6683. p.GetErrorHandler().Recover(p, v)
  6684. } else {
  6685. panic(err)
  6686. }
  6687. }
  6688. }()
  6689. var _alt int
  6690. p.EnterOuterAlt(localctx, 1)
  6691. p.SetState(644)
  6692. p.GetErrorHandler().Sync(p)
  6693. _alt = 1
  6694. for ok := true; ok; ok = _alt != 2 && _alt != antlr.ATNInvalidAltNumber {
  6695. switch _alt {
  6696. case 1:
  6697. p.SetState(644)
  6698. p.GetErrorHandler().Sync(p)
  6699. switch p.GetTokenStream().LA(1) {
  6700. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLPARENCHAR, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserRPARENCHAR, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR, Cobol85PreprocessorParserDOT, Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL, Cobol85PreprocessorParserIDENTIFIER, Cobol85PreprocessorParserFILENAME, Cobol85PreprocessorParserTEXT:
  6701. {
  6702. p.SetState(642)
  6703. p.CharDataLine()
  6704. }
  6705. case Cobol85PreprocessorParserNEWLINE:
  6706. {
  6707. p.SetState(643)
  6708. p.Match(Cobol85PreprocessorParserNEWLINE)
  6709. }
  6710. default:
  6711. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  6712. }
  6713. default:
  6714. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  6715. }
  6716. p.SetState(646)
  6717. p.GetErrorHandler().Sync(p)
  6718. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 68, p.GetParserRuleContext())
  6719. }
  6720. return localctx
  6721. }
  6722. // ICharDataSqlContext is an interface to support dynamic dispatch.
  6723. type ICharDataSqlContext interface {
  6724. antlr.ParserRuleContext
  6725. // GetParser returns the parser.
  6726. GetParser() antlr.Parser
  6727. // IsCharDataSqlContext differentiates from other interfaces.
  6728. IsCharDataSqlContext()
  6729. }
  6730. type CharDataSqlContext struct {
  6731. *antlr.BaseParserRuleContext
  6732. parser antlr.Parser
  6733. }
  6734. func NewEmptyCharDataSqlContext() *CharDataSqlContext {
  6735. var p = new(CharDataSqlContext)
  6736. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6737. p.RuleIndex = Cobol85PreprocessorParserRULE_charDataSql
  6738. return p
  6739. }
  6740. func (*CharDataSqlContext) IsCharDataSqlContext() {}
  6741. func NewCharDataSqlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CharDataSqlContext {
  6742. var p = new(CharDataSqlContext)
  6743. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6744. p.parser = parser
  6745. p.RuleIndex = Cobol85PreprocessorParserRULE_charDataSql
  6746. return p
  6747. }
  6748. func (s *CharDataSqlContext) GetParser() antlr.Parser { return s.parser }
  6749. func (s *CharDataSqlContext) AllCharDataLine() []ICharDataLineContext {
  6750. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICharDataLineContext)(nil)).Elem())
  6751. var tst = make([]ICharDataLineContext, len(ts))
  6752. for i, t := range ts {
  6753. if t != nil {
  6754. tst[i] = t.(ICharDataLineContext)
  6755. }
  6756. }
  6757. return tst
  6758. }
  6759. func (s *CharDataSqlContext) CharDataLine(i int) ICharDataLineContext {
  6760. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataLineContext)(nil)).Elem(), i)
  6761. if t == nil {
  6762. return nil
  6763. }
  6764. return t.(ICharDataLineContext)
  6765. }
  6766. func (s *CharDataSqlContext) AllCOPY() []antlr.TerminalNode {
  6767. return s.GetTokens(Cobol85PreprocessorParserCOPY)
  6768. }
  6769. func (s *CharDataSqlContext) COPY(i int) antlr.TerminalNode {
  6770. return s.GetToken(Cobol85PreprocessorParserCOPY, i)
  6771. }
  6772. func (s *CharDataSqlContext) AllREPLACE() []antlr.TerminalNode {
  6773. return s.GetTokens(Cobol85PreprocessorParserREPLACE)
  6774. }
  6775. func (s *CharDataSqlContext) REPLACE(i int) antlr.TerminalNode {
  6776. return s.GetToken(Cobol85PreprocessorParserREPLACE, i)
  6777. }
  6778. func (s *CharDataSqlContext) AllNEWLINE() []antlr.TerminalNode {
  6779. return s.GetTokens(Cobol85PreprocessorParserNEWLINE)
  6780. }
  6781. func (s *CharDataSqlContext) NEWLINE(i int) antlr.TerminalNode {
  6782. return s.GetToken(Cobol85PreprocessorParserNEWLINE, i)
  6783. }
  6784. func (s *CharDataSqlContext) GetRuleContext() antlr.RuleContext {
  6785. return s
  6786. }
  6787. func (s *CharDataSqlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6788. return antlr.TreesStringTree(s, ruleNames, recog)
  6789. }
  6790. func (s *CharDataSqlContext) EnterRule(listener antlr.ParseTreeListener) {
  6791. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6792. listenerT.EnterCharDataSql(s)
  6793. }
  6794. }
  6795. func (s *CharDataSqlContext) ExitRule(listener antlr.ParseTreeListener) {
  6796. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6797. listenerT.ExitCharDataSql(s)
  6798. }
  6799. }
  6800. func (p *Cobol85PreprocessorParser) CharDataSql() (localctx ICharDataSqlContext) {
  6801. localctx = NewCharDataSqlContext(p, p.GetParserRuleContext(), p.GetState())
  6802. p.EnterRule(localctx, 48, Cobol85PreprocessorParserRULE_charDataSql)
  6803. var _la int
  6804. defer func() {
  6805. p.ExitRule()
  6806. }()
  6807. defer func() {
  6808. if err := recover(); err != nil {
  6809. if v, ok := err.(antlr.RecognitionException); ok {
  6810. localctx.SetException(v)
  6811. p.GetErrorHandler().ReportError(p, v)
  6812. p.GetErrorHandler().Recover(p, v)
  6813. } else {
  6814. panic(err)
  6815. }
  6816. }
  6817. }()
  6818. p.EnterOuterAlt(localctx, 1)
  6819. p.SetState(652)
  6820. p.GetErrorHandler().Sync(p)
  6821. _la = p.GetTokenStream().LA(1)
  6822. for ok := true; ok; ok = (((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<Cobol85PreprocessorParserADATA)|(1<<Cobol85PreprocessorParserADV)|(1<<Cobol85PreprocessorParserALIAS)|(1<<Cobol85PreprocessorParserANSI)|(1<<Cobol85PreprocessorParserANY)|(1<<Cobol85PreprocessorParserAPOST)|(1<<Cobol85PreprocessorParserAR)|(1<<Cobol85PreprocessorParserARITH)|(1<<Cobol85PreprocessorParserAUTO)|(1<<Cobol85PreprocessorParserAWO)|(1<<Cobol85PreprocessorParserBIN)|(1<<Cobol85PreprocessorParserBLOCK0)|(1<<Cobol85PreprocessorParserBUF)|(1<<Cobol85PreprocessorParserBUFSIZE)|(1<<Cobol85PreprocessorParserBY)|(1<<Cobol85PreprocessorParserCBL)|(1<<Cobol85PreprocessorParserCBLCARD)|(1<<Cobol85PreprocessorParserCO)|(1<<Cobol85PreprocessorParserCOBOL2)|(1<<Cobol85PreprocessorParserCOBOL3)|(1<<Cobol85PreprocessorParserCODEPAGE)|(1<<Cobol85PreprocessorParserCOMPAT)|(1<<Cobol85PreprocessorParserCOMPILE)|(1<<Cobol85PreprocessorParserCOPY)|(1<<Cobol85PreprocessorParserCP)|(1<<Cobol85PreprocessorParserCPP)|(1<<Cobol85PreprocessorParserCPSM)|(1<<Cobol85PreprocessorParserCS)|(1<<Cobol85PreprocessorParserCURR)|(1<<Cobol85PreprocessorParserCURRENCY))) != 0) || (((_la-32)&-(0x1f+1)) == 0 && ((1<<uint((_la-32)))&((1<<(Cobol85PreprocessorParserDATA-32))|(1<<(Cobol85PreprocessorParserDATEPROC-32))|(1<<(Cobol85PreprocessorParserDBCS-32))|(1<<(Cobol85PreprocessorParserDD-32))|(1<<(Cobol85PreprocessorParserDEBUG-32))|(1<<(Cobol85PreprocessorParserDECK-32))|(1<<(Cobol85PreprocessorParserDIAGTRUNC-32))|(1<<(Cobol85PreprocessorParserDLI-32))|(1<<(Cobol85PreprocessorParserDLL-32))|(1<<(Cobol85PreprocessorParserDP-32))|(1<<(Cobol85PreprocessorParserDTR-32))|(1<<(Cobol85PreprocessorParserDU-32))|(1<<(Cobol85PreprocessorParserDUMP-32))|(1<<(Cobol85PreprocessorParserDYN-32))|(1<<(Cobol85PreprocessorParserDYNAM-32))|(1<<(Cobol85PreprocessorParserEDF-32))|(1<<(Cobol85PreprocessorParserEJECT-32))|(1<<(Cobol85PreprocessorParserEJPD-32))|(1<<(Cobol85PreprocessorParserEN-32))|(1<<(Cobol85PreprocessorParserENGLISH-32))|(1<<(Cobol85PreprocessorParserEPILOG-32))|(1<<(Cobol85PreprocessorParserEXCI-32))|(1<<(Cobol85PreprocessorParserEXIT-32))|(1<<(Cobol85PreprocessorParserEXP-32))|(1<<(Cobol85PreprocessorParserEXPORTALL-32))|(1<<(Cobol85PreprocessorParserEXTEND-32))|(1<<(Cobol85PreprocessorParserFASTSRT-32))|(1<<(Cobol85PreprocessorParserFLAG-32))|(1<<(Cobol85PreprocessorParserFLAGSTD-32)))) != 0) || (((_la-64)&-(0x1f+1)) == 0 && ((1<<uint((_la-64)))&((1<<(Cobol85PreprocessorParserFSRT-64))|(1<<(Cobol85PreprocessorParserFULL-64))|(1<<(Cobol85PreprocessorParserGDS-64))|(1<<(Cobol85PreprocessorParserGRAPHIC-64))|(1<<(Cobol85PreprocessorParserHOOK-64))|(1<<(Cobol85PreprocessorParserIN-64))|(1<<(Cobol85PreprocessorParserINTDATE-64))|(1<<(Cobol85PreprocessorParserJA-64))|(1<<(Cobol85PreprocessorParserJP-64))|(1<<(Cobol85PreprocessorParserKA-64))|(1<<(Cobol85PreprocessorParserLANG-64))|(1<<(Cobol85PreprocessorParserLANGUAGE-64))|(1<<(Cobol85PreprocessorParserLC-64))|(1<<(Cobol85PreprocessorParserLENGTH-64))|(1<<(Cobol85PreprocessorParserLIB-64))|(1<<(Cobol85PreprocessorParserLILIAN-64))|(1<<(Cobol85PreprocessorParserLIN-64))|(1<<(Cobol85PreprocessorParserLINECOUNT-64))|(1<<(Cobol85PreprocessorParserLINKAGE-64))|(1<<(Cobol85PreprocessorParserLIST-64))|(1<<(Cobol85PreprocessorParserLM-64))|(1<<(Cobol85PreprocessorParserLONGMIXED-64))|(1<<(Cobol85PreprocessorParserLONGUPPER-64))|(1<<(Cobol85PreprocessorParserLPARENCHAR-64))|(1<<(Cobol85PreprocessorParserLU-64))|(1<<(Cobol85PreprocessorParserMAP-64))|(1<<(Cobol85PreprocessorParserMARGINS-64))|(1<<(Cobol85PreprocessorParserMAX-64))|(1<<(Cobol85PreprocessorParserMD-64))|(1<<(Cobol85PreprocessorParserMDECK-64))|(1<<(Cobol85PreprocessorParserMIG-64)))) != 0) || (((_la-96)&-(0x1f+1)) == 0 && ((1<<uint((_la-96)))&((1<<(Cobol85PreprocessorParserMIXED-96))|(1<<(Cobol85PreprocessorParserNAME-96))|(1<<(Cobol85PreprocessorParserNAT-96))|(1<<(Cobol85PreprocessorParserNATIONAL-96))|(1<<(Cobol85PreprocessorParserNATLANG-96))|(1<<(Cobol85PreprocessorParserNN-96))|(1<<(Cobol85PreprocessorParserNO-96))|(1<<(Cobol85PreprocessorParserNOADATA-96))|(1<<(Cobol85PreprocessorParserNOADV-96))|(1<<(Cobol85PreprocessorParserNOALIAS-96))|(1<<(Cobol85PreprocessorParserNOAWO-96))|(1<<(Cobol85PreprocessorParserNOBLOCK0-96))|(1<<(Cobol85PreprocessorParserNOC-96))|(1<<(Cobol85PreprocessorParserNOCBLCARD-96))|(1<<(Cobol85PreprocessorParserNOCICS-96))|(1<<(Cobol85PreprocessorParserNOCMPR2-96))|(1<<(Cobol85PreprocessorParserNOCOMPILE-96))|(1<<(Cobol85PreprocessorParserNOCPSM-96))|(1<<(Cobol85PreprocessorParserNOCURR-96))|(1<<(Cobol85PreprocessorParserNOCURRENCY-96))|(1<<(Cobol85PreprocessorParserNOD-96))|(1<<(Cobol85PreprocessorParserNODATEPROC-96))|(1<<(Cobol85PreprocessorParserNODBCS-96))|(1<<(Cobol85PreprocessorParserNODE-96))|(1<<(Cobol85PreprocessorParserNODEBUG-96))|(1<<(Cobol85PreprocessorParserNODECK-96))|(1<<(Cobol85PreprocessorParserNODIAGTRUNC-96))|(1<<(Cobol85PreprocessorParserNODLL-96))|(1<<(Cobol85PreprocessorParserNODU-96))|(1<<(Cobol85PreprocessorParserNODUMP-96))|(1<<(Cobol85PreprocessorParserNODP-96))|(1<<(Cobol85PreprocessorParserNODTR-96)))) != 0) || (((_la-128)&-(0x1f+1)) == 0 && ((1<<uint((_la-128)))&((1<<(Cobol85PreprocessorParserNODYN-128))|(1<<(Cobol85PreprocessorParserNODYNAM-128))|(1<<(Cobol85PreprocessorParserNOEDF-128))|(1<<(Cobol85PreprocessorParserNOEJPD-128))|(1<<(Cobol85PreprocessorParserNOEPILOG-128))|(1<<(Cobol85PreprocessorParserNOEXIT-128))|(1<<(Cobol85PreprocessorParserNOEXP-128))|(1<<(Cobol85PreprocessorParserNOEXPORTALL-128))|(1<<(Cobol85PreprocessorParserNOF-128))|(1<<(Cobol85PreprocessorParserNOFASTSRT-128))|(1<<(Cobol85PreprocessorParserNOFEPI-128))|(1<<(Cobol85PreprocessorParserNOFLAG-128))|(1<<(Cobol85PreprocessorParserNOFLAGMIG-128))|(1<<(Cobol85PreprocessorParserNOFLAGSTD-128))|(1<<(Cobol85PreprocessorParserNOFSRT-128))|(1<<(Cobol85PreprocessorParserNOGRAPHIC-128))|(1<<(Cobol85PreprocessorParserNOHOOK-128))|(1<<(Cobol85PreprocessorParserNOLENGTH-128))|(1<<(Cobol85PreprocessorParserNOLIB-128))|(1<<(Cobol85PreprocessorParserNOLINKAGE-128))|(1<<(Cobol85PreprocessorParserNOLIST-128))|(1<<(Cobol85PreprocessorParserNOMAP-128))|(1<<(Cobol85PreprocessorParserNOMD-128))|(1<<(Cobol85PreprocessorParserNOMDECK-128))|(1<<(Cobol85PreprocessorParserNONAME-128))|(1<<(Cobol85PreprocessorParserNONUM-128))|(1<<(Cobol85PreprocessorParserNONUMBER-128))|(1<<(Cobol85PreprocessorParserNOOBJ-128))|(1<<(Cobol85PreprocessorParserNOOBJECT-128))|(1<<(Cobol85PreprocessorParserNOOFF-128))|(1<<(Cobol85PreprocessorParserNOOFFSET-128))|(1<<(Cobol85PreprocessorParserNOOPSEQUENCE-128)))) != 0) || (((_la-160)&-(0x1f+1)) == 0 && ((1<<uint((_la-160)))&((1<<(Cobol85PreprocessorParserNOOPT-160))|(1<<(Cobol85PreprocessorParserNOOPTIMIZE-160))|(1<<(Cobol85PreprocessorParserNOOPTIONS-160))|(1<<(Cobol85PreprocessorParserNOP-160))|(1<<(Cobol85PreprocessorParserNOPFD-160))|(1<<(Cobol85PreprocessorParserNOPROLOG-160))|(1<<(Cobol85PreprocessorParserNORENT-160))|(1<<(Cobol85PreprocessorParserNOS-160))|(1<<(Cobol85PreprocessorParserNOSEP-160))|(1<<(Cobol85PreprocessorParserNOSEPARATE-160))|(1<<(Cobol85PreprocessorParserNOSEQ-160))|(1<<(Cobol85PreprocessorParserNOSOURCE-160))|(1<<(Cobol85PreprocessorParserNOSPIE-160))|(1<<(Cobol85PreprocessorParserNOSQL-160))|(1<<(Cobol85PreprocessorParserNOSQLC-160))|(1<<(Cobol85PreprocessorParserNOSQLCCSID-160))|(1<<(Cobol85PreprocessorParserNOSSR-160))|(1<<(Cobol85PreprocessorParserNOSSRANGE-160))|(1<<(Cobol85PreprocessorParserNOSTDTRUNC-160))|(1<<(Cobol85PreprocessorParserNOSEQUENCE-160))|(1<<(Cobol85PreprocessorParserNOTERM-160))|(1<<(Cobol85PreprocessorParserNOTERMINAL-160))|(1<<(Cobol85PreprocessorParserNOTEST-160))|(1<<(Cobol85PreprocessorParserNOTHREAD-160))|(1<<(Cobol85PreprocessorParserNOTRIG-160))|(1<<(Cobol85PreprocessorParserNOVBREF-160))|(1<<(Cobol85PreprocessorParserNOWORD-160))|(1<<(Cobol85PreprocessorParserNOX-160))|(1<<(Cobol85PreprocessorParserNOXREF-160))|(1<<(Cobol85PreprocessorParserNOZWB-160))|(1<<(Cobol85PreprocessorParserNS-160)))) != 0) || (((_la-192)&-(0x1f+1)) == 0 && ((1<<uint((_la-192)))&((1<<(Cobol85PreprocessorParserNSEQ-192))|(1<<(Cobol85PreprocessorParserNSYMBOL-192))|(1<<(Cobol85PreprocessorParserNUM-192))|(1<<(Cobol85PreprocessorParserNUMBER-192))|(1<<(Cobol85PreprocessorParserNUMPROC-192))|(1<<(Cobol85PreprocessorParserOBJ-192))|(1<<(Cobol85PreprocessorParserOBJECT-192))|(1<<(Cobol85PreprocessorParserOF-192))|(1<<(Cobol85PreprocessorParserOFF-192))|(1<<(Cobol85PreprocessorParserOFFSET-192))|(1<<(Cobol85PreprocessorParserON-192))|(1<<(Cobol85PreprocessorParserOP-192))|(1<<(Cobol85PreprocessorParserOPMARGINS-192))|(1<<(Cobol85PreprocessorParserOPSEQUENCE-192))|(1<<(Cobol85PreprocessorParserOPT-192))|(1<<(Cobol85PreprocessorParserOPTFILE-192))|(1<<(Cobol85PreprocessorParserOPTIMIZE-192))|(1<<(Cobol85PreprocessorParserOPTIONS-192))|(1<<(Cobol85PreprocessorParserOUT-192))|(1<<(Cobol85PreprocessorParserOUTDD-192))|(1<<(Cobol85PreprocessorParserPFD-192))|(1<<(Cobol85PreprocessorParserPPTDBG-192))|(1<<(Cobol85PreprocessorParserPGMN-192))|(1<<(Cobol85PreprocessorParserPGMNAME-192))|(1<<(Cobol85PreprocessorParserPROCESS-192))|(1<<(Cobol85PreprocessorParserPROLOG-192))|(1<<(Cobol85PreprocessorParserQUOTE-192))|(1<<(Cobol85PreprocessorParserRENT-192))|(1<<(Cobol85PreprocessorParserREPLACE-192))|(1<<(Cobol85PreprocessorParserREPLACING-192))|(1<<(Cobol85PreprocessorParserRMODE-192))|(1<<(Cobol85PreprocessorParserRPARENCHAR-192)))) != 0) || (((_la-224)&-(0x1f+1)) == 0 && ((1<<uint((_la-224)))&((1<<(Cobol85PreprocessorParserSEP-224))|(1<<(Cobol85PreprocessorParserSEPARATE-224))|(1<<(Cobol85PreprocessorParserSEQ-224))|(1<<(Cobol85PreprocessorParserSEQUENCE-224))|(1<<(Cobol85PreprocessorParserSHORT-224))|(1<<(Cobol85PreprocessorParserSIZE-224))|(1<<(Cobol85PreprocessorParserSOURCE-224))|(1<<(Cobol85PreprocessorParserSP-224))|(1<<(Cobol85PreprocessorParserSPACE-224))|(1<<(Cobol85PreprocessorParserSPIE-224))|(1<<(Cobol85PreprocessorParserSQL-224))|(1<<(Cobol85PreprocessorParserSQLC-224))|(1<<(Cobol85PreprocessorParserSQLCCSID-224))|(1<<(Cobol85PreprocessorParserSS-224))|(1<<(Cobol85PreprocessorParserSSR-224))|(1<<(Cobol85PreprocessorParserSSRANGE-224))|(1<<(Cobol85PreprocessorParserSTD-224))|(1<<(Cobol85PreprocessorParserSYSEIB-224))|(1<<(Cobol85PreprocessorParserSZ-224))|(1<<(Cobol85PreprocessorParserTERM-224))|(1<<(Cobol85PreprocessorParserTERMINAL-224))|(1<<(Cobol85PreprocessorParserTEST-224))|(1<<(Cobol85PreprocessorParserTHREAD-224))|(1<<(Cobol85PreprocessorParserTITLE-224))|(1<<(Cobol85PreprocessorParserTRIG-224))|(1<<(Cobol85PreprocessorParserTRUNC-224))|(1<<(Cobol85PreprocessorParserUE-224)))) != 0) || (((_la-256)&-(0x1f+1)) == 0 && ((1<<uint((_la-256)))&((1<<(Cobol85PreprocessorParserUPPER-256))|(1<<(Cobol85PreprocessorParserVBREF-256))|(1<<(Cobol85PreprocessorParserWD-256))|(1<<(Cobol85PreprocessorParserXMLPARSE-256))|(1<<(Cobol85PreprocessorParserXMLSS-256))|(1<<(Cobol85PreprocessorParserXOPTS-256))|(1<<(Cobol85PreprocessorParserXREF-256))|(1<<(Cobol85PreprocessorParserYEARWINDOW-256))|(1<<(Cobol85PreprocessorParserYW-256))|(1<<(Cobol85PreprocessorParserZWB-256))|(1<<(Cobol85PreprocessorParserC_CHAR-256))|(1<<(Cobol85PreprocessorParserD_CHAR-256))|(1<<(Cobol85PreprocessorParserE_CHAR-256))|(1<<(Cobol85PreprocessorParserF_CHAR-256))|(1<<(Cobol85PreprocessorParserH_CHAR-256))|(1<<(Cobol85PreprocessorParserI_CHAR-256))|(1<<(Cobol85PreprocessorParserM_CHAR-256))|(1<<(Cobol85PreprocessorParserN_CHAR-256))|(1<<(Cobol85PreprocessorParserQ_CHAR-256))|(1<<(Cobol85PreprocessorParserS_CHAR-256))|(1<<(Cobol85PreprocessorParserU_CHAR-256))|(1<<(Cobol85PreprocessorParserW_CHAR-256))|(1<<(Cobol85PreprocessorParserX_CHAR-256))|(1<<(Cobol85PreprocessorParserCOMMACHAR-256))|(1<<(Cobol85PreprocessorParserDOT-256))|(1<<(Cobol85PreprocessorParserNONNUMERICLITERAL-256))|(1<<(Cobol85PreprocessorParserNUMERICLITERAL-256))|(1<<(Cobol85PreprocessorParserIDENTIFIER-256)))) != 0) || (((_la-288)&-(0x1f+1)) == 0 && ((1<<uint((_la-288)))&((1<<(Cobol85PreprocessorParserFILENAME-288))|(1<<(Cobol85PreprocessorParserNEWLINE-288))|(1<<(Cobol85PreprocessorParserTEXT-288)))) != 0) {
  6823. p.SetState(652)
  6824. p.GetErrorHandler().Sync(p)
  6825. switch p.GetTokenStream().LA(1) {
  6826. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLPARENCHAR, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserRPARENCHAR, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR, Cobol85PreprocessorParserDOT, Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL, Cobol85PreprocessorParserIDENTIFIER, Cobol85PreprocessorParserFILENAME, Cobol85PreprocessorParserTEXT:
  6827. {
  6828. p.SetState(648)
  6829. p.CharDataLine()
  6830. }
  6831. case Cobol85PreprocessorParserCOPY:
  6832. {
  6833. p.SetState(649)
  6834. p.Match(Cobol85PreprocessorParserCOPY)
  6835. }
  6836. case Cobol85PreprocessorParserREPLACE:
  6837. {
  6838. p.SetState(650)
  6839. p.Match(Cobol85PreprocessorParserREPLACE)
  6840. }
  6841. case Cobol85PreprocessorParserNEWLINE:
  6842. {
  6843. p.SetState(651)
  6844. p.Match(Cobol85PreprocessorParserNEWLINE)
  6845. }
  6846. default:
  6847. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  6848. }
  6849. p.SetState(654)
  6850. p.GetErrorHandler().Sync(p)
  6851. _la = p.GetTokenStream().LA(1)
  6852. }
  6853. return localctx
  6854. }
  6855. // ICharDataLineContext is an interface to support dynamic dispatch.
  6856. type ICharDataLineContext interface {
  6857. antlr.ParserRuleContext
  6858. // GetParser returns the parser.
  6859. GetParser() antlr.Parser
  6860. // IsCharDataLineContext differentiates from other interfaces.
  6861. IsCharDataLineContext()
  6862. }
  6863. type CharDataLineContext struct {
  6864. *antlr.BaseParserRuleContext
  6865. parser antlr.Parser
  6866. }
  6867. func NewEmptyCharDataLineContext() *CharDataLineContext {
  6868. var p = new(CharDataLineContext)
  6869. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  6870. p.RuleIndex = Cobol85PreprocessorParserRULE_charDataLine
  6871. return p
  6872. }
  6873. func (*CharDataLineContext) IsCharDataLineContext() {}
  6874. func NewCharDataLineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CharDataLineContext {
  6875. var p = new(CharDataLineContext)
  6876. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  6877. p.parser = parser
  6878. p.RuleIndex = Cobol85PreprocessorParserRULE_charDataLine
  6879. return p
  6880. }
  6881. func (s *CharDataLineContext) GetParser() antlr.Parser { return s.parser }
  6882. func (s *CharDataLineContext) AllCobolWord() []ICobolWordContext {
  6883. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ICobolWordContext)(nil)).Elem())
  6884. var tst = make([]ICobolWordContext, len(ts))
  6885. for i, t := range ts {
  6886. if t != nil {
  6887. tst[i] = t.(ICobolWordContext)
  6888. }
  6889. }
  6890. return tst
  6891. }
  6892. func (s *CharDataLineContext) CobolWord(i int) ICobolWordContext {
  6893. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICobolWordContext)(nil)).Elem(), i)
  6894. if t == nil {
  6895. return nil
  6896. }
  6897. return t.(ICobolWordContext)
  6898. }
  6899. func (s *CharDataLineContext) AllLiteral() []ILiteralContext {
  6900. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*ILiteralContext)(nil)).Elem())
  6901. var tst = make([]ILiteralContext, len(ts))
  6902. for i, t := range ts {
  6903. if t != nil {
  6904. tst[i] = t.(ILiteralContext)
  6905. }
  6906. }
  6907. return tst
  6908. }
  6909. func (s *CharDataLineContext) Literal(i int) ILiteralContext {
  6910. var t = s.GetTypedRuleContext(reflect.TypeOf((*ILiteralContext)(nil)).Elem(), i)
  6911. if t == nil {
  6912. return nil
  6913. }
  6914. return t.(ILiteralContext)
  6915. }
  6916. func (s *CharDataLineContext) AllFilename() []IFilenameContext {
  6917. var ts = s.GetTypedRuleContexts(reflect.TypeOf((*IFilenameContext)(nil)).Elem())
  6918. var tst = make([]IFilenameContext, len(ts))
  6919. for i, t := range ts {
  6920. if t != nil {
  6921. tst[i] = t.(IFilenameContext)
  6922. }
  6923. }
  6924. return tst
  6925. }
  6926. func (s *CharDataLineContext) Filename(i int) IFilenameContext {
  6927. var t = s.GetTypedRuleContext(reflect.TypeOf((*IFilenameContext)(nil)).Elem(), i)
  6928. if t == nil {
  6929. return nil
  6930. }
  6931. return t.(IFilenameContext)
  6932. }
  6933. func (s *CharDataLineContext) AllTEXT() []antlr.TerminalNode {
  6934. return s.GetTokens(Cobol85PreprocessorParserTEXT)
  6935. }
  6936. func (s *CharDataLineContext) TEXT(i int) antlr.TerminalNode {
  6937. return s.GetToken(Cobol85PreprocessorParserTEXT, i)
  6938. }
  6939. func (s *CharDataLineContext) AllDOT() []antlr.TerminalNode {
  6940. return s.GetTokens(Cobol85PreprocessorParserDOT)
  6941. }
  6942. func (s *CharDataLineContext) DOT(i int) antlr.TerminalNode {
  6943. return s.GetToken(Cobol85PreprocessorParserDOT, i)
  6944. }
  6945. func (s *CharDataLineContext) AllLPARENCHAR() []antlr.TerminalNode {
  6946. return s.GetTokens(Cobol85PreprocessorParserLPARENCHAR)
  6947. }
  6948. func (s *CharDataLineContext) LPARENCHAR(i int) antlr.TerminalNode {
  6949. return s.GetToken(Cobol85PreprocessorParserLPARENCHAR, i)
  6950. }
  6951. func (s *CharDataLineContext) AllRPARENCHAR() []antlr.TerminalNode {
  6952. return s.GetTokens(Cobol85PreprocessorParserRPARENCHAR)
  6953. }
  6954. func (s *CharDataLineContext) RPARENCHAR(i int) antlr.TerminalNode {
  6955. return s.GetToken(Cobol85PreprocessorParserRPARENCHAR, i)
  6956. }
  6957. func (s *CharDataLineContext) GetRuleContext() antlr.RuleContext {
  6958. return s
  6959. }
  6960. func (s *CharDataLineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  6961. return antlr.TreesStringTree(s, ruleNames, recog)
  6962. }
  6963. func (s *CharDataLineContext) EnterRule(listener antlr.ParseTreeListener) {
  6964. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6965. listenerT.EnterCharDataLine(s)
  6966. }
  6967. }
  6968. func (s *CharDataLineContext) ExitRule(listener antlr.ParseTreeListener) {
  6969. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  6970. listenerT.ExitCharDataLine(s)
  6971. }
  6972. }
  6973. func (p *Cobol85PreprocessorParser) CharDataLine() (localctx ICharDataLineContext) {
  6974. localctx = NewCharDataLineContext(p, p.GetParserRuleContext(), p.GetState())
  6975. p.EnterRule(localctx, 50, Cobol85PreprocessorParserRULE_charDataLine)
  6976. defer func() {
  6977. p.ExitRule()
  6978. }()
  6979. defer func() {
  6980. if err := recover(); err != nil {
  6981. if v, ok := err.(antlr.RecognitionException); ok {
  6982. localctx.SetException(v)
  6983. p.GetErrorHandler().ReportError(p, v)
  6984. p.GetErrorHandler().Recover(p, v)
  6985. } else {
  6986. panic(err)
  6987. }
  6988. }
  6989. }()
  6990. var _alt int
  6991. p.EnterOuterAlt(localctx, 1)
  6992. p.SetState(663)
  6993. p.GetErrorHandler().Sync(p)
  6994. _alt = 1
  6995. for ok := true; ok; ok = _alt != 2 && _alt != antlr.ATNInvalidAltNumber {
  6996. switch _alt {
  6997. case 1:
  6998. p.SetState(663)
  6999. p.GetErrorHandler().Sync(p)
  7000. switch p.GetTokenStream().LA(1) {
  7001. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR, Cobol85PreprocessorParserIDENTIFIER:
  7002. {
  7003. p.SetState(656)
  7004. p.CobolWord()
  7005. }
  7006. case Cobol85PreprocessorParserNONNUMERICLITERAL, Cobol85PreprocessorParserNUMERICLITERAL:
  7007. {
  7008. p.SetState(657)
  7009. p.Literal()
  7010. }
  7011. case Cobol85PreprocessorParserFILENAME:
  7012. {
  7013. p.SetState(658)
  7014. p.Filename()
  7015. }
  7016. case Cobol85PreprocessorParserTEXT:
  7017. {
  7018. p.SetState(659)
  7019. p.Match(Cobol85PreprocessorParserTEXT)
  7020. }
  7021. case Cobol85PreprocessorParserDOT:
  7022. {
  7023. p.SetState(660)
  7024. p.Match(Cobol85PreprocessorParserDOT)
  7025. }
  7026. case Cobol85PreprocessorParserLPARENCHAR:
  7027. {
  7028. p.SetState(661)
  7029. p.Match(Cobol85PreprocessorParserLPARENCHAR)
  7030. }
  7031. case Cobol85PreprocessorParserRPARENCHAR:
  7032. {
  7033. p.SetState(662)
  7034. p.Match(Cobol85PreprocessorParserRPARENCHAR)
  7035. }
  7036. default:
  7037. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  7038. }
  7039. default:
  7040. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  7041. }
  7042. p.SetState(665)
  7043. p.GetErrorHandler().Sync(p)
  7044. _alt = p.GetInterpreter().AdaptivePredict(p.GetTokenStream(), 72, p.GetParserRuleContext())
  7045. }
  7046. return localctx
  7047. }
  7048. // ICobolWordContext is an interface to support dynamic dispatch.
  7049. type ICobolWordContext interface {
  7050. antlr.ParserRuleContext
  7051. // GetParser returns the parser.
  7052. GetParser() antlr.Parser
  7053. // IsCobolWordContext differentiates from other interfaces.
  7054. IsCobolWordContext()
  7055. }
  7056. type CobolWordContext struct {
  7057. *antlr.BaseParserRuleContext
  7058. parser antlr.Parser
  7059. }
  7060. func NewEmptyCobolWordContext() *CobolWordContext {
  7061. var p = new(CobolWordContext)
  7062. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  7063. p.RuleIndex = Cobol85PreprocessorParserRULE_cobolWord
  7064. return p
  7065. }
  7066. func (*CobolWordContext) IsCobolWordContext() {}
  7067. func NewCobolWordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CobolWordContext {
  7068. var p = new(CobolWordContext)
  7069. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  7070. p.parser = parser
  7071. p.RuleIndex = Cobol85PreprocessorParserRULE_cobolWord
  7072. return p
  7073. }
  7074. func (s *CobolWordContext) GetParser() antlr.Parser { return s.parser }
  7075. func (s *CobolWordContext) IDENTIFIER() antlr.TerminalNode {
  7076. return s.GetToken(Cobol85PreprocessorParserIDENTIFIER, 0)
  7077. }
  7078. func (s *CobolWordContext) CharDataKeyword() ICharDataKeywordContext {
  7079. var t = s.GetTypedRuleContext(reflect.TypeOf((*ICharDataKeywordContext)(nil)).Elem(), 0)
  7080. if t == nil {
  7081. return nil
  7082. }
  7083. return t.(ICharDataKeywordContext)
  7084. }
  7085. func (s *CobolWordContext) GetRuleContext() antlr.RuleContext {
  7086. return s
  7087. }
  7088. func (s *CobolWordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  7089. return antlr.TreesStringTree(s, ruleNames, recog)
  7090. }
  7091. func (s *CobolWordContext) EnterRule(listener antlr.ParseTreeListener) {
  7092. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  7093. listenerT.EnterCobolWord(s)
  7094. }
  7095. }
  7096. func (s *CobolWordContext) ExitRule(listener antlr.ParseTreeListener) {
  7097. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  7098. listenerT.ExitCobolWord(s)
  7099. }
  7100. }
  7101. func (p *Cobol85PreprocessorParser) CobolWord() (localctx ICobolWordContext) {
  7102. localctx = NewCobolWordContext(p, p.GetParserRuleContext(), p.GetState())
  7103. p.EnterRule(localctx, 52, Cobol85PreprocessorParserRULE_cobolWord)
  7104. defer func() {
  7105. p.ExitRule()
  7106. }()
  7107. defer func() {
  7108. if err := recover(); err != nil {
  7109. if v, ok := err.(antlr.RecognitionException); ok {
  7110. localctx.SetException(v)
  7111. p.GetErrorHandler().ReportError(p, v)
  7112. p.GetErrorHandler().Recover(p, v)
  7113. } else {
  7114. panic(err)
  7115. }
  7116. }
  7117. }()
  7118. p.SetState(669)
  7119. p.GetErrorHandler().Sync(p)
  7120. switch p.GetTokenStream().LA(1) {
  7121. case Cobol85PreprocessorParserIDENTIFIER:
  7122. p.EnterOuterAlt(localctx, 1)
  7123. {
  7124. p.SetState(667)
  7125. p.Match(Cobol85PreprocessorParserIDENTIFIER)
  7126. }
  7127. case Cobol85PreprocessorParserADATA, Cobol85PreprocessorParserADV, Cobol85PreprocessorParserALIAS, Cobol85PreprocessorParserANSI, Cobol85PreprocessorParserANY, Cobol85PreprocessorParserAPOST, Cobol85PreprocessorParserAR, Cobol85PreprocessorParserARITH, Cobol85PreprocessorParserAUTO, Cobol85PreprocessorParserAWO, Cobol85PreprocessorParserBIN, Cobol85PreprocessorParserBLOCK0, Cobol85PreprocessorParserBUF, Cobol85PreprocessorParserBUFSIZE, Cobol85PreprocessorParserBY, Cobol85PreprocessorParserCBL, Cobol85PreprocessorParserCBLCARD, Cobol85PreprocessorParserCO, Cobol85PreprocessorParserCOBOL2, Cobol85PreprocessorParserCOBOL3, Cobol85PreprocessorParserCODEPAGE, Cobol85PreprocessorParserCOMPAT, Cobol85PreprocessorParserCOMPILE, Cobol85PreprocessorParserCP, Cobol85PreprocessorParserCPP, Cobol85PreprocessorParserCPSM, Cobol85PreprocessorParserCS, Cobol85PreprocessorParserCURR, Cobol85PreprocessorParserCURRENCY, Cobol85PreprocessorParserDATA, Cobol85PreprocessorParserDATEPROC, Cobol85PreprocessorParserDBCS, Cobol85PreprocessorParserDD, Cobol85PreprocessorParserDEBUG, Cobol85PreprocessorParserDECK, Cobol85PreprocessorParserDIAGTRUNC, Cobol85PreprocessorParserDLI, Cobol85PreprocessorParserDLL, Cobol85PreprocessorParserDP, Cobol85PreprocessorParserDTR, Cobol85PreprocessorParserDU, Cobol85PreprocessorParserDUMP, Cobol85PreprocessorParserDYN, Cobol85PreprocessorParserDYNAM, Cobol85PreprocessorParserEDF, Cobol85PreprocessorParserEJECT, Cobol85PreprocessorParserEJPD, Cobol85PreprocessorParserEN, Cobol85PreprocessorParserENGLISH, Cobol85PreprocessorParserEPILOG, Cobol85PreprocessorParserEXCI, Cobol85PreprocessorParserEXIT, Cobol85PreprocessorParserEXP, Cobol85PreprocessorParserEXPORTALL, Cobol85PreprocessorParserEXTEND, Cobol85PreprocessorParserFASTSRT, Cobol85PreprocessorParserFLAG, Cobol85PreprocessorParserFLAGSTD, Cobol85PreprocessorParserFSRT, Cobol85PreprocessorParserFULL, Cobol85PreprocessorParserGDS, Cobol85PreprocessorParserGRAPHIC, Cobol85PreprocessorParserHOOK, Cobol85PreprocessorParserIN, Cobol85PreprocessorParserINTDATE, Cobol85PreprocessorParserJA, Cobol85PreprocessorParserJP, Cobol85PreprocessorParserKA, Cobol85PreprocessorParserLANG, Cobol85PreprocessorParserLANGUAGE, Cobol85PreprocessorParserLC, Cobol85PreprocessorParserLENGTH, Cobol85PreprocessorParserLIB, Cobol85PreprocessorParserLILIAN, Cobol85PreprocessorParserLIN, Cobol85PreprocessorParserLINECOUNT, Cobol85PreprocessorParserLINKAGE, Cobol85PreprocessorParserLIST, Cobol85PreprocessorParserLM, Cobol85PreprocessorParserLONGMIXED, Cobol85PreprocessorParserLONGUPPER, Cobol85PreprocessorParserLU, Cobol85PreprocessorParserMAP, Cobol85PreprocessorParserMARGINS, Cobol85PreprocessorParserMAX, Cobol85PreprocessorParserMD, Cobol85PreprocessorParserMDECK, Cobol85PreprocessorParserMIG, Cobol85PreprocessorParserMIXED, Cobol85PreprocessorParserNAME, Cobol85PreprocessorParserNAT, Cobol85PreprocessorParserNATIONAL, Cobol85PreprocessorParserNATLANG, Cobol85PreprocessorParserNN, Cobol85PreprocessorParserNO, Cobol85PreprocessorParserNOADATA, Cobol85PreprocessorParserNOADV, Cobol85PreprocessorParserNOALIAS, Cobol85PreprocessorParserNOAWO, Cobol85PreprocessorParserNOBLOCK0, Cobol85PreprocessorParserNOC, Cobol85PreprocessorParserNOCBLCARD, Cobol85PreprocessorParserNOCICS, Cobol85PreprocessorParserNOCMPR2, Cobol85PreprocessorParserNOCOMPILE, Cobol85PreprocessorParserNOCPSM, Cobol85PreprocessorParserNOCURR, Cobol85PreprocessorParserNOCURRENCY, Cobol85PreprocessorParserNOD, Cobol85PreprocessorParserNODATEPROC, Cobol85PreprocessorParserNODBCS, Cobol85PreprocessorParserNODE, Cobol85PreprocessorParserNODEBUG, Cobol85PreprocessorParserNODECK, Cobol85PreprocessorParserNODIAGTRUNC, Cobol85PreprocessorParserNODLL, Cobol85PreprocessorParserNODU, Cobol85PreprocessorParserNODUMP, Cobol85PreprocessorParserNODP, Cobol85PreprocessorParserNODTR, Cobol85PreprocessorParserNODYN, Cobol85PreprocessorParserNODYNAM, Cobol85PreprocessorParserNOEDF, Cobol85PreprocessorParserNOEJPD, Cobol85PreprocessorParserNOEPILOG, Cobol85PreprocessorParserNOEXIT, Cobol85PreprocessorParserNOEXP, Cobol85PreprocessorParserNOEXPORTALL, Cobol85PreprocessorParserNOF, Cobol85PreprocessorParserNOFASTSRT, Cobol85PreprocessorParserNOFEPI, Cobol85PreprocessorParserNOFLAG, Cobol85PreprocessorParserNOFLAGMIG, Cobol85PreprocessorParserNOFLAGSTD, Cobol85PreprocessorParserNOFSRT, Cobol85PreprocessorParserNOGRAPHIC, Cobol85PreprocessorParserNOHOOK, Cobol85PreprocessorParserNOLENGTH, Cobol85PreprocessorParserNOLIB, Cobol85PreprocessorParserNOLINKAGE, Cobol85PreprocessorParserNOLIST, Cobol85PreprocessorParserNOMAP, Cobol85PreprocessorParserNOMD, Cobol85PreprocessorParserNOMDECK, Cobol85PreprocessorParserNONAME, Cobol85PreprocessorParserNONUM, Cobol85PreprocessorParserNONUMBER, Cobol85PreprocessorParserNOOBJ, Cobol85PreprocessorParserNOOBJECT, Cobol85PreprocessorParserNOOFF, Cobol85PreprocessorParserNOOFFSET, Cobol85PreprocessorParserNOOPSEQUENCE, Cobol85PreprocessorParserNOOPT, Cobol85PreprocessorParserNOOPTIMIZE, Cobol85PreprocessorParserNOOPTIONS, Cobol85PreprocessorParserNOP, Cobol85PreprocessorParserNOPFD, Cobol85PreprocessorParserNOPROLOG, Cobol85PreprocessorParserNORENT, Cobol85PreprocessorParserNOS, Cobol85PreprocessorParserNOSEP, Cobol85PreprocessorParserNOSEPARATE, Cobol85PreprocessorParserNOSEQ, Cobol85PreprocessorParserNOSOURCE, Cobol85PreprocessorParserNOSPIE, Cobol85PreprocessorParserNOSQL, Cobol85PreprocessorParserNOSQLC, Cobol85PreprocessorParserNOSQLCCSID, Cobol85PreprocessorParserNOSSR, Cobol85PreprocessorParserNOSSRANGE, Cobol85PreprocessorParserNOSTDTRUNC, Cobol85PreprocessorParserNOSEQUENCE, Cobol85PreprocessorParserNOTERM, Cobol85PreprocessorParserNOTERMINAL, Cobol85PreprocessorParserNOTEST, Cobol85PreprocessorParserNOTHREAD, Cobol85PreprocessorParserNOTRIG, Cobol85PreprocessorParserNOVBREF, Cobol85PreprocessorParserNOWORD, Cobol85PreprocessorParserNOX, Cobol85PreprocessorParserNOXREF, Cobol85PreprocessorParserNOZWB, Cobol85PreprocessorParserNS, Cobol85PreprocessorParserNSEQ, Cobol85PreprocessorParserNSYMBOL, Cobol85PreprocessorParserNUM, Cobol85PreprocessorParserNUMBER, Cobol85PreprocessorParserNUMPROC, Cobol85PreprocessorParserOBJ, Cobol85PreprocessorParserOBJECT, Cobol85PreprocessorParserOF, Cobol85PreprocessorParserOFF, Cobol85PreprocessorParserOFFSET, Cobol85PreprocessorParserON, Cobol85PreprocessorParserOP, Cobol85PreprocessorParserOPMARGINS, Cobol85PreprocessorParserOPSEQUENCE, Cobol85PreprocessorParserOPT, Cobol85PreprocessorParserOPTFILE, Cobol85PreprocessorParserOPTIMIZE, Cobol85PreprocessorParserOPTIONS, Cobol85PreprocessorParserOUT, Cobol85PreprocessorParserOUTDD, Cobol85PreprocessorParserPFD, Cobol85PreprocessorParserPPTDBG, Cobol85PreprocessorParserPGMN, Cobol85PreprocessorParserPGMNAME, Cobol85PreprocessorParserPROCESS, Cobol85PreprocessorParserPROLOG, Cobol85PreprocessorParserQUOTE, Cobol85PreprocessorParserRENT, Cobol85PreprocessorParserREPLACING, Cobol85PreprocessorParserRMODE, Cobol85PreprocessorParserSEP, Cobol85PreprocessorParserSEPARATE, Cobol85PreprocessorParserSEQ, Cobol85PreprocessorParserSEQUENCE, Cobol85PreprocessorParserSHORT, Cobol85PreprocessorParserSIZE, Cobol85PreprocessorParserSOURCE, Cobol85PreprocessorParserSP, Cobol85PreprocessorParserSPACE, Cobol85PreprocessorParserSPIE, Cobol85PreprocessorParserSQL, Cobol85PreprocessorParserSQLC, Cobol85PreprocessorParserSQLCCSID, Cobol85PreprocessorParserSS, Cobol85PreprocessorParserSSR, Cobol85PreprocessorParserSSRANGE, Cobol85PreprocessorParserSTD, Cobol85PreprocessorParserSYSEIB, Cobol85PreprocessorParserSZ, Cobol85PreprocessorParserTERM, Cobol85PreprocessorParserTERMINAL, Cobol85PreprocessorParserTEST, Cobol85PreprocessorParserTHREAD, Cobol85PreprocessorParserTITLE, Cobol85PreprocessorParserTRIG, Cobol85PreprocessorParserTRUNC, Cobol85PreprocessorParserUE, Cobol85PreprocessorParserUPPER, Cobol85PreprocessorParserVBREF, Cobol85PreprocessorParserWD, Cobol85PreprocessorParserXMLPARSE, Cobol85PreprocessorParserXMLSS, Cobol85PreprocessorParserXOPTS, Cobol85PreprocessorParserXREF, Cobol85PreprocessorParserYEARWINDOW, Cobol85PreprocessorParserYW, Cobol85PreprocessorParserZWB, Cobol85PreprocessorParserC_CHAR, Cobol85PreprocessorParserD_CHAR, Cobol85PreprocessorParserE_CHAR, Cobol85PreprocessorParserF_CHAR, Cobol85PreprocessorParserH_CHAR, Cobol85PreprocessorParserI_CHAR, Cobol85PreprocessorParserM_CHAR, Cobol85PreprocessorParserN_CHAR, Cobol85PreprocessorParserQ_CHAR, Cobol85PreprocessorParserS_CHAR, Cobol85PreprocessorParserU_CHAR, Cobol85PreprocessorParserW_CHAR, Cobol85PreprocessorParserX_CHAR, Cobol85PreprocessorParserCOMMACHAR:
  7128. p.EnterOuterAlt(localctx, 2)
  7129. {
  7130. p.SetState(668)
  7131. p.CharDataKeyword()
  7132. }
  7133. default:
  7134. panic(antlr.NewNoViableAltException(p, nil, nil, nil, nil, nil))
  7135. }
  7136. return localctx
  7137. }
  7138. // ILiteralContext is an interface to support dynamic dispatch.
  7139. type ILiteralContext interface {
  7140. antlr.ParserRuleContext
  7141. // GetParser returns the parser.
  7142. GetParser() antlr.Parser
  7143. // IsLiteralContext differentiates from other interfaces.
  7144. IsLiteralContext()
  7145. }
  7146. type LiteralContext struct {
  7147. *antlr.BaseParserRuleContext
  7148. parser antlr.Parser
  7149. }
  7150. func NewEmptyLiteralContext() *LiteralContext {
  7151. var p = new(LiteralContext)
  7152. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  7153. p.RuleIndex = Cobol85PreprocessorParserRULE_literal
  7154. return p
  7155. }
  7156. func (*LiteralContext) IsLiteralContext() {}
  7157. func NewLiteralContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LiteralContext {
  7158. var p = new(LiteralContext)
  7159. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  7160. p.parser = parser
  7161. p.RuleIndex = Cobol85PreprocessorParserRULE_literal
  7162. return p
  7163. }
  7164. func (s *LiteralContext) GetParser() antlr.Parser { return s.parser }
  7165. func (s *LiteralContext) NONNUMERICLITERAL() antlr.TerminalNode {
  7166. return s.GetToken(Cobol85PreprocessorParserNONNUMERICLITERAL, 0)
  7167. }
  7168. func (s *LiteralContext) NUMERICLITERAL() antlr.TerminalNode {
  7169. return s.GetToken(Cobol85PreprocessorParserNUMERICLITERAL, 0)
  7170. }
  7171. func (s *LiteralContext) GetRuleContext() antlr.RuleContext {
  7172. return s
  7173. }
  7174. func (s *LiteralContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  7175. return antlr.TreesStringTree(s, ruleNames, recog)
  7176. }
  7177. func (s *LiteralContext) EnterRule(listener antlr.ParseTreeListener) {
  7178. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  7179. listenerT.EnterLiteral(s)
  7180. }
  7181. }
  7182. func (s *LiteralContext) ExitRule(listener antlr.ParseTreeListener) {
  7183. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  7184. listenerT.ExitLiteral(s)
  7185. }
  7186. }
  7187. func (p *Cobol85PreprocessorParser) Literal() (localctx ILiteralContext) {
  7188. localctx = NewLiteralContext(p, p.GetParserRuleContext(), p.GetState())
  7189. p.EnterRule(localctx, 54, Cobol85PreprocessorParserRULE_literal)
  7190. var _la int
  7191. defer func() {
  7192. p.ExitRule()
  7193. }()
  7194. defer func() {
  7195. if err := recover(); err != nil {
  7196. if v, ok := err.(antlr.RecognitionException); ok {
  7197. localctx.SetException(v)
  7198. p.GetErrorHandler().ReportError(p, v)
  7199. p.GetErrorHandler().Recover(p, v)
  7200. } else {
  7201. panic(err)
  7202. }
  7203. }
  7204. }()
  7205. p.EnterOuterAlt(localctx, 1)
  7206. {
  7207. p.SetState(671)
  7208. _la = p.GetTokenStream().LA(1)
  7209. if !(_la == Cobol85PreprocessorParserNONNUMERICLITERAL || _la == Cobol85PreprocessorParserNUMERICLITERAL) {
  7210. p.GetErrorHandler().RecoverInline(p)
  7211. } else {
  7212. p.GetErrorHandler().ReportMatch(p)
  7213. p.Consume()
  7214. }
  7215. }
  7216. return localctx
  7217. }
  7218. // IFilenameContext is an interface to support dynamic dispatch.
  7219. type IFilenameContext interface {
  7220. antlr.ParserRuleContext
  7221. // GetParser returns the parser.
  7222. GetParser() antlr.Parser
  7223. // IsFilenameContext differentiates from other interfaces.
  7224. IsFilenameContext()
  7225. }
  7226. type FilenameContext struct {
  7227. *antlr.BaseParserRuleContext
  7228. parser antlr.Parser
  7229. }
  7230. func NewEmptyFilenameContext() *FilenameContext {
  7231. var p = new(FilenameContext)
  7232. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  7233. p.RuleIndex = Cobol85PreprocessorParserRULE_filename
  7234. return p
  7235. }
  7236. func (*FilenameContext) IsFilenameContext() {}
  7237. func NewFilenameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FilenameContext {
  7238. var p = new(FilenameContext)
  7239. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  7240. p.parser = parser
  7241. p.RuleIndex = Cobol85PreprocessorParserRULE_filename
  7242. return p
  7243. }
  7244. func (s *FilenameContext) GetParser() antlr.Parser { return s.parser }
  7245. func (s *FilenameContext) FILENAME() antlr.TerminalNode {
  7246. return s.GetToken(Cobol85PreprocessorParserFILENAME, 0)
  7247. }
  7248. func (s *FilenameContext) GetRuleContext() antlr.RuleContext {
  7249. return s
  7250. }
  7251. func (s *FilenameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  7252. return antlr.TreesStringTree(s, ruleNames, recog)
  7253. }
  7254. func (s *FilenameContext) EnterRule(listener antlr.ParseTreeListener) {
  7255. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  7256. listenerT.EnterFilename(s)
  7257. }
  7258. }
  7259. func (s *FilenameContext) ExitRule(listener antlr.ParseTreeListener) {
  7260. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  7261. listenerT.ExitFilename(s)
  7262. }
  7263. }
  7264. func (p *Cobol85PreprocessorParser) Filename() (localctx IFilenameContext) {
  7265. localctx = NewFilenameContext(p, p.GetParserRuleContext(), p.GetState())
  7266. p.EnterRule(localctx, 56, Cobol85PreprocessorParserRULE_filename)
  7267. defer func() {
  7268. p.ExitRule()
  7269. }()
  7270. defer func() {
  7271. if err := recover(); err != nil {
  7272. if v, ok := err.(antlr.RecognitionException); ok {
  7273. localctx.SetException(v)
  7274. p.GetErrorHandler().ReportError(p, v)
  7275. p.GetErrorHandler().Recover(p, v)
  7276. } else {
  7277. panic(err)
  7278. }
  7279. }
  7280. }()
  7281. p.EnterOuterAlt(localctx, 1)
  7282. {
  7283. p.SetState(673)
  7284. p.Match(Cobol85PreprocessorParserFILENAME)
  7285. }
  7286. return localctx
  7287. }
  7288. // ICharDataKeywordContext is an interface to support dynamic dispatch.
  7289. type ICharDataKeywordContext interface {
  7290. antlr.ParserRuleContext
  7291. // GetParser returns the parser.
  7292. GetParser() antlr.Parser
  7293. // IsCharDataKeywordContext differentiates from other interfaces.
  7294. IsCharDataKeywordContext()
  7295. }
  7296. type CharDataKeywordContext struct {
  7297. *antlr.BaseParserRuleContext
  7298. parser antlr.Parser
  7299. }
  7300. func NewEmptyCharDataKeywordContext() *CharDataKeywordContext {
  7301. var p = new(CharDataKeywordContext)
  7302. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(nil, -1)
  7303. p.RuleIndex = Cobol85PreprocessorParserRULE_charDataKeyword
  7304. return p
  7305. }
  7306. func (*CharDataKeywordContext) IsCharDataKeywordContext() {}
  7307. func NewCharDataKeywordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CharDataKeywordContext {
  7308. var p = new(CharDataKeywordContext)
  7309. p.BaseParserRuleContext = antlr.NewBaseParserRuleContext(parent, invokingState)
  7310. p.parser = parser
  7311. p.RuleIndex = Cobol85PreprocessorParserRULE_charDataKeyword
  7312. return p
  7313. }
  7314. func (s *CharDataKeywordContext) GetParser() antlr.Parser { return s.parser }
  7315. func (s *CharDataKeywordContext) ADATA() antlr.TerminalNode {
  7316. return s.GetToken(Cobol85PreprocessorParserADATA, 0)
  7317. }
  7318. func (s *CharDataKeywordContext) ADV() antlr.TerminalNode {
  7319. return s.GetToken(Cobol85PreprocessorParserADV, 0)
  7320. }
  7321. func (s *CharDataKeywordContext) ALIAS() antlr.TerminalNode {
  7322. return s.GetToken(Cobol85PreprocessorParserALIAS, 0)
  7323. }
  7324. func (s *CharDataKeywordContext) ANSI() antlr.TerminalNode {
  7325. return s.GetToken(Cobol85PreprocessorParserANSI, 0)
  7326. }
  7327. func (s *CharDataKeywordContext) ANY() antlr.TerminalNode {
  7328. return s.GetToken(Cobol85PreprocessorParserANY, 0)
  7329. }
  7330. func (s *CharDataKeywordContext) APOST() antlr.TerminalNode {
  7331. return s.GetToken(Cobol85PreprocessorParserAPOST, 0)
  7332. }
  7333. func (s *CharDataKeywordContext) AR() antlr.TerminalNode {
  7334. return s.GetToken(Cobol85PreprocessorParserAR, 0)
  7335. }
  7336. func (s *CharDataKeywordContext) ARITH() antlr.TerminalNode {
  7337. return s.GetToken(Cobol85PreprocessorParserARITH, 0)
  7338. }
  7339. func (s *CharDataKeywordContext) AUTO() antlr.TerminalNode {
  7340. return s.GetToken(Cobol85PreprocessorParserAUTO, 0)
  7341. }
  7342. func (s *CharDataKeywordContext) AWO() antlr.TerminalNode {
  7343. return s.GetToken(Cobol85PreprocessorParserAWO, 0)
  7344. }
  7345. func (s *CharDataKeywordContext) BIN() antlr.TerminalNode {
  7346. return s.GetToken(Cobol85PreprocessorParserBIN, 0)
  7347. }
  7348. func (s *CharDataKeywordContext) BLOCK0() antlr.TerminalNode {
  7349. return s.GetToken(Cobol85PreprocessorParserBLOCK0, 0)
  7350. }
  7351. func (s *CharDataKeywordContext) BUF() antlr.TerminalNode {
  7352. return s.GetToken(Cobol85PreprocessorParserBUF, 0)
  7353. }
  7354. func (s *CharDataKeywordContext) BUFSIZE() antlr.TerminalNode {
  7355. return s.GetToken(Cobol85PreprocessorParserBUFSIZE, 0)
  7356. }
  7357. func (s *CharDataKeywordContext) BY() antlr.TerminalNode {
  7358. return s.GetToken(Cobol85PreprocessorParserBY, 0)
  7359. }
  7360. func (s *CharDataKeywordContext) CBL() antlr.TerminalNode {
  7361. return s.GetToken(Cobol85PreprocessorParserCBL, 0)
  7362. }
  7363. func (s *CharDataKeywordContext) CBLCARD() antlr.TerminalNode {
  7364. return s.GetToken(Cobol85PreprocessorParserCBLCARD, 0)
  7365. }
  7366. func (s *CharDataKeywordContext) CO() antlr.TerminalNode {
  7367. return s.GetToken(Cobol85PreprocessorParserCO, 0)
  7368. }
  7369. func (s *CharDataKeywordContext) COBOL2() antlr.TerminalNode {
  7370. return s.GetToken(Cobol85PreprocessorParserCOBOL2, 0)
  7371. }
  7372. func (s *CharDataKeywordContext) COBOL3() antlr.TerminalNode {
  7373. return s.GetToken(Cobol85PreprocessorParserCOBOL3, 0)
  7374. }
  7375. func (s *CharDataKeywordContext) CODEPAGE() antlr.TerminalNode {
  7376. return s.GetToken(Cobol85PreprocessorParserCODEPAGE, 0)
  7377. }
  7378. func (s *CharDataKeywordContext) COMMACHAR() antlr.TerminalNode {
  7379. return s.GetToken(Cobol85PreprocessorParserCOMMACHAR, 0)
  7380. }
  7381. func (s *CharDataKeywordContext) COMPAT() antlr.TerminalNode {
  7382. return s.GetToken(Cobol85PreprocessorParserCOMPAT, 0)
  7383. }
  7384. func (s *CharDataKeywordContext) COMPILE() antlr.TerminalNode {
  7385. return s.GetToken(Cobol85PreprocessorParserCOMPILE, 0)
  7386. }
  7387. func (s *CharDataKeywordContext) CP() antlr.TerminalNode {
  7388. return s.GetToken(Cobol85PreprocessorParserCP, 0)
  7389. }
  7390. func (s *CharDataKeywordContext) CPP() antlr.TerminalNode {
  7391. return s.GetToken(Cobol85PreprocessorParserCPP, 0)
  7392. }
  7393. func (s *CharDataKeywordContext) CPSM() antlr.TerminalNode {
  7394. return s.GetToken(Cobol85PreprocessorParserCPSM, 0)
  7395. }
  7396. func (s *CharDataKeywordContext) CS() antlr.TerminalNode {
  7397. return s.GetToken(Cobol85PreprocessorParserCS, 0)
  7398. }
  7399. func (s *CharDataKeywordContext) CURR() antlr.TerminalNode {
  7400. return s.GetToken(Cobol85PreprocessorParserCURR, 0)
  7401. }
  7402. func (s *CharDataKeywordContext) CURRENCY() antlr.TerminalNode {
  7403. return s.GetToken(Cobol85PreprocessorParserCURRENCY, 0)
  7404. }
  7405. func (s *CharDataKeywordContext) DATA() antlr.TerminalNode {
  7406. return s.GetToken(Cobol85PreprocessorParserDATA, 0)
  7407. }
  7408. func (s *CharDataKeywordContext) DATEPROC() antlr.TerminalNode {
  7409. return s.GetToken(Cobol85PreprocessorParserDATEPROC, 0)
  7410. }
  7411. func (s *CharDataKeywordContext) DBCS() antlr.TerminalNode {
  7412. return s.GetToken(Cobol85PreprocessorParserDBCS, 0)
  7413. }
  7414. func (s *CharDataKeywordContext) DD() antlr.TerminalNode {
  7415. return s.GetToken(Cobol85PreprocessorParserDD, 0)
  7416. }
  7417. func (s *CharDataKeywordContext) DEBUG() antlr.TerminalNode {
  7418. return s.GetToken(Cobol85PreprocessorParserDEBUG, 0)
  7419. }
  7420. func (s *CharDataKeywordContext) DECK() antlr.TerminalNode {
  7421. return s.GetToken(Cobol85PreprocessorParserDECK, 0)
  7422. }
  7423. func (s *CharDataKeywordContext) DIAGTRUNC() antlr.TerminalNode {
  7424. return s.GetToken(Cobol85PreprocessorParserDIAGTRUNC, 0)
  7425. }
  7426. func (s *CharDataKeywordContext) DLI() antlr.TerminalNode {
  7427. return s.GetToken(Cobol85PreprocessorParserDLI, 0)
  7428. }
  7429. func (s *CharDataKeywordContext) DLL() antlr.TerminalNode {
  7430. return s.GetToken(Cobol85PreprocessorParserDLL, 0)
  7431. }
  7432. func (s *CharDataKeywordContext) DP() antlr.TerminalNode {
  7433. return s.GetToken(Cobol85PreprocessorParserDP, 0)
  7434. }
  7435. func (s *CharDataKeywordContext) DTR() antlr.TerminalNode {
  7436. return s.GetToken(Cobol85PreprocessorParserDTR, 0)
  7437. }
  7438. func (s *CharDataKeywordContext) DU() antlr.TerminalNode {
  7439. return s.GetToken(Cobol85PreprocessorParserDU, 0)
  7440. }
  7441. func (s *CharDataKeywordContext) DUMP() antlr.TerminalNode {
  7442. return s.GetToken(Cobol85PreprocessorParserDUMP, 0)
  7443. }
  7444. func (s *CharDataKeywordContext) DYN() antlr.TerminalNode {
  7445. return s.GetToken(Cobol85PreprocessorParserDYN, 0)
  7446. }
  7447. func (s *CharDataKeywordContext) DYNAM() antlr.TerminalNode {
  7448. return s.GetToken(Cobol85PreprocessorParserDYNAM, 0)
  7449. }
  7450. func (s *CharDataKeywordContext) EDF() antlr.TerminalNode {
  7451. return s.GetToken(Cobol85PreprocessorParserEDF, 0)
  7452. }
  7453. func (s *CharDataKeywordContext) EJECT() antlr.TerminalNode {
  7454. return s.GetToken(Cobol85PreprocessorParserEJECT, 0)
  7455. }
  7456. func (s *CharDataKeywordContext) EJPD() antlr.TerminalNode {
  7457. return s.GetToken(Cobol85PreprocessorParserEJPD, 0)
  7458. }
  7459. func (s *CharDataKeywordContext) EN() antlr.TerminalNode {
  7460. return s.GetToken(Cobol85PreprocessorParserEN, 0)
  7461. }
  7462. func (s *CharDataKeywordContext) ENGLISH() antlr.TerminalNode {
  7463. return s.GetToken(Cobol85PreprocessorParserENGLISH, 0)
  7464. }
  7465. func (s *CharDataKeywordContext) EPILOG() antlr.TerminalNode {
  7466. return s.GetToken(Cobol85PreprocessorParserEPILOG, 0)
  7467. }
  7468. func (s *CharDataKeywordContext) EXCI() antlr.TerminalNode {
  7469. return s.GetToken(Cobol85PreprocessorParserEXCI, 0)
  7470. }
  7471. func (s *CharDataKeywordContext) EXIT() antlr.TerminalNode {
  7472. return s.GetToken(Cobol85PreprocessorParserEXIT, 0)
  7473. }
  7474. func (s *CharDataKeywordContext) EXP() antlr.TerminalNode {
  7475. return s.GetToken(Cobol85PreprocessorParserEXP, 0)
  7476. }
  7477. func (s *CharDataKeywordContext) EXPORTALL() antlr.TerminalNode {
  7478. return s.GetToken(Cobol85PreprocessorParserEXPORTALL, 0)
  7479. }
  7480. func (s *CharDataKeywordContext) EXTEND() antlr.TerminalNode {
  7481. return s.GetToken(Cobol85PreprocessorParserEXTEND, 0)
  7482. }
  7483. func (s *CharDataKeywordContext) FASTSRT() antlr.TerminalNode {
  7484. return s.GetToken(Cobol85PreprocessorParserFASTSRT, 0)
  7485. }
  7486. func (s *CharDataKeywordContext) FLAG() antlr.TerminalNode {
  7487. return s.GetToken(Cobol85PreprocessorParserFLAG, 0)
  7488. }
  7489. func (s *CharDataKeywordContext) FLAGSTD() antlr.TerminalNode {
  7490. return s.GetToken(Cobol85PreprocessorParserFLAGSTD, 0)
  7491. }
  7492. func (s *CharDataKeywordContext) FULL() antlr.TerminalNode {
  7493. return s.GetToken(Cobol85PreprocessorParserFULL, 0)
  7494. }
  7495. func (s *CharDataKeywordContext) FSRT() antlr.TerminalNode {
  7496. return s.GetToken(Cobol85PreprocessorParserFSRT, 0)
  7497. }
  7498. func (s *CharDataKeywordContext) GDS() antlr.TerminalNode {
  7499. return s.GetToken(Cobol85PreprocessorParserGDS, 0)
  7500. }
  7501. func (s *CharDataKeywordContext) GRAPHIC() antlr.TerminalNode {
  7502. return s.GetToken(Cobol85PreprocessorParserGRAPHIC, 0)
  7503. }
  7504. func (s *CharDataKeywordContext) HOOK() antlr.TerminalNode {
  7505. return s.GetToken(Cobol85PreprocessorParserHOOK, 0)
  7506. }
  7507. func (s *CharDataKeywordContext) IN() antlr.TerminalNode {
  7508. return s.GetToken(Cobol85PreprocessorParserIN, 0)
  7509. }
  7510. func (s *CharDataKeywordContext) INTDATE() antlr.TerminalNode {
  7511. return s.GetToken(Cobol85PreprocessorParserINTDATE, 0)
  7512. }
  7513. func (s *CharDataKeywordContext) JA() antlr.TerminalNode {
  7514. return s.GetToken(Cobol85PreprocessorParserJA, 0)
  7515. }
  7516. func (s *CharDataKeywordContext) JP() antlr.TerminalNode {
  7517. return s.GetToken(Cobol85PreprocessorParserJP, 0)
  7518. }
  7519. func (s *CharDataKeywordContext) KA() antlr.TerminalNode {
  7520. return s.GetToken(Cobol85PreprocessorParserKA, 0)
  7521. }
  7522. func (s *CharDataKeywordContext) LANG() antlr.TerminalNode {
  7523. return s.GetToken(Cobol85PreprocessorParserLANG, 0)
  7524. }
  7525. func (s *CharDataKeywordContext) LANGUAGE() antlr.TerminalNode {
  7526. return s.GetToken(Cobol85PreprocessorParserLANGUAGE, 0)
  7527. }
  7528. func (s *CharDataKeywordContext) LC() antlr.TerminalNode {
  7529. return s.GetToken(Cobol85PreprocessorParserLC, 0)
  7530. }
  7531. func (s *CharDataKeywordContext) LENGTH() antlr.TerminalNode {
  7532. return s.GetToken(Cobol85PreprocessorParserLENGTH, 0)
  7533. }
  7534. func (s *CharDataKeywordContext) LIB() antlr.TerminalNode {
  7535. return s.GetToken(Cobol85PreprocessorParserLIB, 0)
  7536. }
  7537. func (s *CharDataKeywordContext) LILIAN() antlr.TerminalNode {
  7538. return s.GetToken(Cobol85PreprocessorParserLILIAN, 0)
  7539. }
  7540. func (s *CharDataKeywordContext) LIN() antlr.TerminalNode {
  7541. return s.GetToken(Cobol85PreprocessorParserLIN, 0)
  7542. }
  7543. func (s *CharDataKeywordContext) LINECOUNT() antlr.TerminalNode {
  7544. return s.GetToken(Cobol85PreprocessorParserLINECOUNT, 0)
  7545. }
  7546. func (s *CharDataKeywordContext) LINKAGE() antlr.TerminalNode {
  7547. return s.GetToken(Cobol85PreprocessorParserLINKAGE, 0)
  7548. }
  7549. func (s *CharDataKeywordContext) LIST() antlr.TerminalNode {
  7550. return s.GetToken(Cobol85PreprocessorParserLIST, 0)
  7551. }
  7552. func (s *CharDataKeywordContext) LM() antlr.TerminalNode {
  7553. return s.GetToken(Cobol85PreprocessorParserLM, 0)
  7554. }
  7555. func (s *CharDataKeywordContext) LONGMIXED() antlr.TerminalNode {
  7556. return s.GetToken(Cobol85PreprocessorParserLONGMIXED, 0)
  7557. }
  7558. func (s *CharDataKeywordContext) LONGUPPER() antlr.TerminalNode {
  7559. return s.GetToken(Cobol85PreprocessorParserLONGUPPER, 0)
  7560. }
  7561. func (s *CharDataKeywordContext) LU() antlr.TerminalNode {
  7562. return s.GetToken(Cobol85PreprocessorParserLU, 0)
  7563. }
  7564. func (s *CharDataKeywordContext) MAP() antlr.TerminalNode {
  7565. return s.GetToken(Cobol85PreprocessorParserMAP, 0)
  7566. }
  7567. func (s *CharDataKeywordContext) MARGINS() antlr.TerminalNode {
  7568. return s.GetToken(Cobol85PreprocessorParserMARGINS, 0)
  7569. }
  7570. func (s *CharDataKeywordContext) MAX() antlr.TerminalNode {
  7571. return s.GetToken(Cobol85PreprocessorParserMAX, 0)
  7572. }
  7573. func (s *CharDataKeywordContext) MD() antlr.TerminalNode {
  7574. return s.GetToken(Cobol85PreprocessorParserMD, 0)
  7575. }
  7576. func (s *CharDataKeywordContext) MDECK() antlr.TerminalNode {
  7577. return s.GetToken(Cobol85PreprocessorParserMDECK, 0)
  7578. }
  7579. func (s *CharDataKeywordContext) MIG() antlr.TerminalNode {
  7580. return s.GetToken(Cobol85PreprocessorParserMIG, 0)
  7581. }
  7582. func (s *CharDataKeywordContext) MIXED() antlr.TerminalNode {
  7583. return s.GetToken(Cobol85PreprocessorParserMIXED, 0)
  7584. }
  7585. func (s *CharDataKeywordContext) NAME() antlr.TerminalNode {
  7586. return s.GetToken(Cobol85PreprocessorParserNAME, 0)
  7587. }
  7588. func (s *CharDataKeywordContext) NAT() antlr.TerminalNode {
  7589. return s.GetToken(Cobol85PreprocessorParserNAT, 0)
  7590. }
  7591. func (s *CharDataKeywordContext) NATIONAL() antlr.TerminalNode {
  7592. return s.GetToken(Cobol85PreprocessorParserNATIONAL, 0)
  7593. }
  7594. func (s *CharDataKeywordContext) NATLANG() antlr.TerminalNode {
  7595. return s.GetToken(Cobol85PreprocessorParserNATLANG, 0)
  7596. }
  7597. func (s *CharDataKeywordContext) NN() antlr.TerminalNode {
  7598. return s.GetToken(Cobol85PreprocessorParserNN, 0)
  7599. }
  7600. func (s *CharDataKeywordContext) NO() antlr.TerminalNode {
  7601. return s.GetToken(Cobol85PreprocessorParserNO, 0)
  7602. }
  7603. func (s *CharDataKeywordContext) NOADATA() antlr.TerminalNode {
  7604. return s.GetToken(Cobol85PreprocessorParserNOADATA, 0)
  7605. }
  7606. func (s *CharDataKeywordContext) NOADV() antlr.TerminalNode {
  7607. return s.GetToken(Cobol85PreprocessorParserNOADV, 0)
  7608. }
  7609. func (s *CharDataKeywordContext) NOALIAS() antlr.TerminalNode {
  7610. return s.GetToken(Cobol85PreprocessorParserNOALIAS, 0)
  7611. }
  7612. func (s *CharDataKeywordContext) NOAWO() antlr.TerminalNode {
  7613. return s.GetToken(Cobol85PreprocessorParserNOAWO, 0)
  7614. }
  7615. func (s *CharDataKeywordContext) NOBLOCK0() antlr.TerminalNode {
  7616. return s.GetToken(Cobol85PreprocessorParserNOBLOCK0, 0)
  7617. }
  7618. func (s *CharDataKeywordContext) NOC() antlr.TerminalNode {
  7619. return s.GetToken(Cobol85PreprocessorParserNOC, 0)
  7620. }
  7621. func (s *CharDataKeywordContext) NOCBLCARD() antlr.TerminalNode {
  7622. return s.GetToken(Cobol85PreprocessorParserNOCBLCARD, 0)
  7623. }
  7624. func (s *CharDataKeywordContext) NOCICS() antlr.TerminalNode {
  7625. return s.GetToken(Cobol85PreprocessorParserNOCICS, 0)
  7626. }
  7627. func (s *CharDataKeywordContext) NOCMPR2() antlr.TerminalNode {
  7628. return s.GetToken(Cobol85PreprocessorParserNOCMPR2, 0)
  7629. }
  7630. func (s *CharDataKeywordContext) NOCOMPILE() antlr.TerminalNode {
  7631. return s.GetToken(Cobol85PreprocessorParserNOCOMPILE, 0)
  7632. }
  7633. func (s *CharDataKeywordContext) NOCPSM() antlr.TerminalNode {
  7634. return s.GetToken(Cobol85PreprocessorParserNOCPSM, 0)
  7635. }
  7636. func (s *CharDataKeywordContext) NOCURR() antlr.TerminalNode {
  7637. return s.GetToken(Cobol85PreprocessorParserNOCURR, 0)
  7638. }
  7639. func (s *CharDataKeywordContext) NOCURRENCY() antlr.TerminalNode {
  7640. return s.GetToken(Cobol85PreprocessorParserNOCURRENCY, 0)
  7641. }
  7642. func (s *CharDataKeywordContext) NOD() antlr.TerminalNode {
  7643. return s.GetToken(Cobol85PreprocessorParserNOD, 0)
  7644. }
  7645. func (s *CharDataKeywordContext) NODATEPROC() antlr.TerminalNode {
  7646. return s.GetToken(Cobol85PreprocessorParserNODATEPROC, 0)
  7647. }
  7648. func (s *CharDataKeywordContext) NODBCS() antlr.TerminalNode {
  7649. return s.GetToken(Cobol85PreprocessorParserNODBCS, 0)
  7650. }
  7651. func (s *CharDataKeywordContext) NODE() antlr.TerminalNode {
  7652. return s.GetToken(Cobol85PreprocessorParserNODE, 0)
  7653. }
  7654. func (s *CharDataKeywordContext) NODEBUG() antlr.TerminalNode {
  7655. return s.GetToken(Cobol85PreprocessorParserNODEBUG, 0)
  7656. }
  7657. func (s *CharDataKeywordContext) NODECK() antlr.TerminalNode {
  7658. return s.GetToken(Cobol85PreprocessorParserNODECK, 0)
  7659. }
  7660. func (s *CharDataKeywordContext) NODIAGTRUNC() antlr.TerminalNode {
  7661. return s.GetToken(Cobol85PreprocessorParserNODIAGTRUNC, 0)
  7662. }
  7663. func (s *CharDataKeywordContext) NODLL() antlr.TerminalNode {
  7664. return s.GetToken(Cobol85PreprocessorParserNODLL, 0)
  7665. }
  7666. func (s *CharDataKeywordContext) NODU() antlr.TerminalNode {
  7667. return s.GetToken(Cobol85PreprocessorParserNODU, 0)
  7668. }
  7669. func (s *CharDataKeywordContext) NODUMP() antlr.TerminalNode {
  7670. return s.GetToken(Cobol85PreprocessorParserNODUMP, 0)
  7671. }
  7672. func (s *CharDataKeywordContext) NODP() antlr.TerminalNode {
  7673. return s.GetToken(Cobol85PreprocessorParserNODP, 0)
  7674. }
  7675. func (s *CharDataKeywordContext) NODTR() antlr.TerminalNode {
  7676. return s.GetToken(Cobol85PreprocessorParserNODTR, 0)
  7677. }
  7678. func (s *CharDataKeywordContext) NODYN() antlr.TerminalNode {
  7679. return s.GetToken(Cobol85PreprocessorParserNODYN, 0)
  7680. }
  7681. func (s *CharDataKeywordContext) NODYNAM() antlr.TerminalNode {
  7682. return s.GetToken(Cobol85PreprocessorParserNODYNAM, 0)
  7683. }
  7684. func (s *CharDataKeywordContext) NOEDF() antlr.TerminalNode {
  7685. return s.GetToken(Cobol85PreprocessorParserNOEDF, 0)
  7686. }
  7687. func (s *CharDataKeywordContext) NOEJPD() antlr.TerminalNode {
  7688. return s.GetToken(Cobol85PreprocessorParserNOEJPD, 0)
  7689. }
  7690. func (s *CharDataKeywordContext) NOEPILOG() antlr.TerminalNode {
  7691. return s.GetToken(Cobol85PreprocessorParserNOEPILOG, 0)
  7692. }
  7693. func (s *CharDataKeywordContext) NOEXIT() antlr.TerminalNode {
  7694. return s.GetToken(Cobol85PreprocessorParserNOEXIT, 0)
  7695. }
  7696. func (s *CharDataKeywordContext) NOEXP() antlr.TerminalNode {
  7697. return s.GetToken(Cobol85PreprocessorParserNOEXP, 0)
  7698. }
  7699. func (s *CharDataKeywordContext) NOEXPORTALL() antlr.TerminalNode {
  7700. return s.GetToken(Cobol85PreprocessorParserNOEXPORTALL, 0)
  7701. }
  7702. func (s *CharDataKeywordContext) NOF() antlr.TerminalNode {
  7703. return s.GetToken(Cobol85PreprocessorParserNOF, 0)
  7704. }
  7705. func (s *CharDataKeywordContext) NOFASTSRT() antlr.TerminalNode {
  7706. return s.GetToken(Cobol85PreprocessorParserNOFASTSRT, 0)
  7707. }
  7708. func (s *CharDataKeywordContext) NOFEPI() antlr.TerminalNode {
  7709. return s.GetToken(Cobol85PreprocessorParserNOFEPI, 0)
  7710. }
  7711. func (s *CharDataKeywordContext) NOFLAG() antlr.TerminalNode {
  7712. return s.GetToken(Cobol85PreprocessorParserNOFLAG, 0)
  7713. }
  7714. func (s *CharDataKeywordContext) NOFLAGMIG() antlr.TerminalNode {
  7715. return s.GetToken(Cobol85PreprocessorParserNOFLAGMIG, 0)
  7716. }
  7717. func (s *CharDataKeywordContext) NOFLAGSTD() antlr.TerminalNode {
  7718. return s.GetToken(Cobol85PreprocessorParserNOFLAGSTD, 0)
  7719. }
  7720. func (s *CharDataKeywordContext) NOFSRT() antlr.TerminalNode {
  7721. return s.GetToken(Cobol85PreprocessorParserNOFSRT, 0)
  7722. }
  7723. func (s *CharDataKeywordContext) NOGRAPHIC() antlr.TerminalNode {
  7724. return s.GetToken(Cobol85PreprocessorParserNOGRAPHIC, 0)
  7725. }
  7726. func (s *CharDataKeywordContext) NOHOOK() antlr.TerminalNode {
  7727. return s.GetToken(Cobol85PreprocessorParserNOHOOK, 0)
  7728. }
  7729. func (s *CharDataKeywordContext) NOLENGTH() antlr.TerminalNode {
  7730. return s.GetToken(Cobol85PreprocessorParserNOLENGTH, 0)
  7731. }
  7732. func (s *CharDataKeywordContext) NOLIB() antlr.TerminalNode {
  7733. return s.GetToken(Cobol85PreprocessorParserNOLIB, 0)
  7734. }
  7735. func (s *CharDataKeywordContext) NOLINKAGE() antlr.TerminalNode {
  7736. return s.GetToken(Cobol85PreprocessorParserNOLINKAGE, 0)
  7737. }
  7738. func (s *CharDataKeywordContext) NOLIST() antlr.TerminalNode {
  7739. return s.GetToken(Cobol85PreprocessorParserNOLIST, 0)
  7740. }
  7741. func (s *CharDataKeywordContext) NOMAP() antlr.TerminalNode {
  7742. return s.GetToken(Cobol85PreprocessorParserNOMAP, 0)
  7743. }
  7744. func (s *CharDataKeywordContext) NOMD() antlr.TerminalNode {
  7745. return s.GetToken(Cobol85PreprocessorParserNOMD, 0)
  7746. }
  7747. func (s *CharDataKeywordContext) NOMDECK() antlr.TerminalNode {
  7748. return s.GetToken(Cobol85PreprocessorParserNOMDECK, 0)
  7749. }
  7750. func (s *CharDataKeywordContext) NONAME() antlr.TerminalNode {
  7751. return s.GetToken(Cobol85PreprocessorParserNONAME, 0)
  7752. }
  7753. func (s *CharDataKeywordContext) NONUM() antlr.TerminalNode {
  7754. return s.GetToken(Cobol85PreprocessorParserNONUM, 0)
  7755. }
  7756. func (s *CharDataKeywordContext) NONUMBER() antlr.TerminalNode {
  7757. return s.GetToken(Cobol85PreprocessorParserNONUMBER, 0)
  7758. }
  7759. func (s *CharDataKeywordContext) NOOBJ() antlr.TerminalNode {
  7760. return s.GetToken(Cobol85PreprocessorParserNOOBJ, 0)
  7761. }
  7762. func (s *CharDataKeywordContext) NOOBJECT() antlr.TerminalNode {
  7763. return s.GetToken(Cobol85PreprocessorParserNOOBJECT, 0)
  7764. }
  7765. func (s *CharDataKeywordContext) NOOFF() antlr.TerminalNode {
  7766. return s.GetToken(Cobol85PreprocessorParserNOOFF, 0)
  7767. }
  7768. func (s *CharDataKeywordContext) NOOFFSET() antlr.TerminalNode {
  7769. return s.GetToken(Cobol85PreprocessorParserNOOFFSET, 0)
  7770. }
  7771. func (s *CharDataKeywordContext) NOOPSEQUENCE() antlr.TerminalNode {
  7772. return s.GetToken(Cobol85PreprocessorParserNOOPSEQUENCE, 0)
  7773. }
  7774. func (s *CharDataKeywordContext) NOOPT() antlr.TerminalNode {
  7775. return s.GetToken(Cobol85PreprocessorParserNOOPT, 0)
  7776. }
  7777. func (s *CharDataKeywordContext) NOOPTIMIZE() antlr.TerminalNode {
  7778. return s.GetToken(Cobol85PreprocessorParserNOOPTIMIZE, 0)
  7779. }
  7780. func (s *CharDataKeywordContext) NOOPTIONS() antlr.TerminalNode {
  7781. return s.GetToken(Cobol85PreprocessorParserNOOPTIONS, 0)
  7782. }
  7783. func (s *CharDataKeywordContext) NOP() antlr.TerminalNode {
  7784. return s.GetToken(Cobol85PreprocessorParserNOP, 0)
  7785. }
  7786. func (s *CharDataKeywordContext) NOPFD() antlr.TerminalNode {
  7787. return s.GetToken(Cobol85PreprocessorParserNOPFD, 0)
  7788. }
  7789. func (s *CharDataKeywordContext) NOPROLOG() antlr.TerminalNode {
  7790. return s.GetToken(Cobol85PreprocessorParserNOPROLOG, 0)
  7791. }
  7792. func (s *CharDataKeywordContext) NORENT() antlr.TerminalNode {
  7793. return s.GetToken(Cobol85PreprocessorParserNORENT, 0)
  7794. }
  7795. func (s *CharDataKeywordContext) NOS() antlr.TerminalNode {
  7796. return s.GetToken(Cobol85PreprocessorParserNOS, 0)
  7797. }
  7798. func (s *CharDataKeywordContext) NOSEP() antlr.TerminalNode {
  7799. return s.GetToken(Cobol85PreprocessorParserNOSEP, 0)
  7800. }
  7801. func (s *CharDataKeywordContext) NOSEPARATE() antlr.TerminalNode {
  7802. return s.GetToken(Cobol85PreprocessorParserNOSEPARATE, 0)
  7803. }
  7804. func (s *CharDataKeywordContext) NOSEQ() antlr.TerminalNode {
  7805. return s.GetToken(Cobol85PreprocessorParserNOSEQ, 0)
  7806. }
  7807. func (s *CharDataKeywordContext) NOSEQUENCE() antlr.TerminalNode {
  7808. return s.GetToken(Cobol85PreprocessorParserNOSEQUENCE, 0)
  7809. }
  7810. func (s *CharDataKeywordContext) NOSOURCE() antlr.TerminalNode {
  7811. return s.GetToken(Cobol85PreprocessorParserNOSOURCE, 0)
  7812. }
  7813. func (s *CharDataKeywordContext) NOSPIE() antlr.TerminalNode {
  7814. return s.GetToken(Cobol85PreprocessorParserNOSPIE, 0)
  7815. }
  7816. func (s *CharDataKeywordContext) NOSQL() antlr.TerminalNode {
  7817. return s.GetToken(Cobol85PreprocessorParserNOSQL, 0)
  7818. }
  7819. func (s *CharDataKeywordContext) NOSQLC() antlr.TerminalNode {
  7820. return s.GetToken(Cobol85PreprocessorParserNOSQLC, 0)
  7821. }
  7822. func (s *CharDataKeywordContext) NOSQLCCSID() antlr.TerminalNode {
  7823. return s.GetToken(Cobol85PreprocessorParserNOSQLCCSID, 0)
  7824. }
  7825. func (s *CharDataKeywordContext) NOSSR() antlr.TerminalNode {
  7826. return s.GetToken(Cobol85PreprocessorParserNOSSR, 0)
  7827. }
  7828. func (s *CharDataKeywordContext) NOSSRANGE() antlr.TerminalNode {
  7829. return s.GetToken(Cobol85PreprocessorParserNOSSRANGE, 0)
  7830. }
  7831. func (s *CharDataKeywordContext) NOSTDTRUNC() antlr.TerminalNode {
  7832. return s.GetToken(Cobol85PreprocessorParserNOSTDTRUNC, 0)
  7833. }
  7834. func (s *CharDataKeywordContext) NOTERM() antlr.TerminalNode {
  7835. return s.GetToken(Cobol85PreprocessorParserNOTERM, 0)
  7836. }
  7837. func (s *CharDataKeywordContext) NOTERMINAL() antlr.TerminalNode {
  7838. return s.GetToken(Cobol85PreprocessorParserNOTERMINAL, 0)
  7839. }
  7840. func (s *CharDataKeywordContext) NOTEST() antlr.TerminalNode {
  7841. return s.GetToken(Cobol85PreprocessorParserNOTEST, 0)
  7842. }
  7843. func (s *CharDataKeywordContext) NOTHREAD() antlr.TerminalNode {
  7844. return s.GetToken(Cobol85PreprocessorParserNOTHREAD, 0)
  7845. }
  7846. func (s *CharDataKeywordContext) NOTRIG() antlr.TerminalNode {
  7847. return s.GetToken(Cobol85PreprocessorParserNOTRIG, 0)
  7848. }
  7849. func (s *CharDataKeywordContext) NOVBREF() antlr.TerminalNode {
  7850. return s.GetToken(Cobol85PreprocessorParserNOVBREF, 0)
  7851. }
  7852. func (s *CharDataKeywordContext) NOWORD() antlr.TerminalNode {
  7853. return s.GetToken(Cobol85PreprocessorParserNOWORD, 0)
  7854. }
  7855. func (s *CharDataKeywordContext) NOX() antlr.TerminalNode {
  7856. return s.GetToken(Cobol85PreprocessorParserNOX, 0)
  7857. }
  7858. func (s *CharDataKeywordContext) NOXREF() antlr.TerminalNode {
  7859. return s.GetToken(Cobol85PreprocessorParserNOXREF, 0)
  7860. }
  7861. func (s *CharDataKeywordContext) NOZWB() antlr.TerminalNode {
  7862. return s.GetToken(Cobol85PreprocessorParserNOZWB, 0)
  7863. }
  7864. func (s *CharDataKeywordContext) NSEQ() antlr.TerminalNode {
  7865. return s.GetToken(Cobol85PreprocessorParserNSEQ, 0)
  7866. }
  7867. func (s *CharDataKeywordContext) NSYMBOL() antlr.TerminalNode {
  7868. return s.GetToken(Cobol85PreprocessorParserNSYMBOL, 0)
  7869. }
  7870. func (s *CharDataKeywordContext) NS() antlr.TerminalNode {
  7871. return s.GetToken(Cobol85PreprocessorParserNS, 0)
  7872. }
  7873. func (s *CharDataKeywordContext) NUM() antlr.TerminalNode {
  7874. return s.GetToken(Cobol85PreprocessorParserNUM, 0)
  7875. }
  7876. func (s *CharDataKeywordContext) NUMBER() antlr.TerminalNode {
  7877. return s.GetToken(Cobol85PreprocessorParserNUMBER, 0)
  7878. }
  7879. func (s *CharDataKeywordContext) NUMPROC() antlr.TerminalNode {
  7880. return s.GetToken(Cobol85PreprocessorParserNUMPROC, 0)
  7881. }
  7882. func (s *CharDataKeywordContext) OBJ() antlr.TerminalNode {
  7883. return s.GetToken(Cobol85PreprocessorParserOBJ, 0)
  7884. }
  7885. func (s *CharDataKeywordContext) OBJECT() antlr.TerminalNode {
  7886. return s.GetToken(Cobol85PreprocessorParserOBJECT, 0)
  7887. }
  7888. func (s *CharDataKeywordContext) ON() antlr.TerminalNode {
  7889. return s.GetToken(Cobol85PreprocessorParserON, 0)
  7890. }
  7891. func (s *CharDataKeywordContext) OF() antlr.TerminalNode {
  7892. return s.GetToken(Cobol85PreprocessorParserOF, 0)
  7893. }
  7894. func (s *CharDataKeywordContext) OFF() antlr.TerminalNode {
  7895. return s.GetToken(Cobol85PreprocessorParserOFF, 0)
  7896. }
  7897. func (s *CharDataKeywordContext) OFFSET() antlr.TerminalNode {
  7898. return s.GetToken(Cobol85PreprocessorParserOFFSET, 0)
  7899. }
  7900. func (s *CharDataKeywordContext) OPMARGINS() antlr.TerminalNode {
  7901. return s.GetToken(Cobol85PreprocessorParserOPMARGINS, 0)
  7902. }
  7903. func (s *CharDataKeywordContext) OPSEQUENCE() antlr.TerminalNode {
  7904. return s.GetToken(Cobol85PreprocessorParserOPSEQUENCE, 0)
  7905. }
  7906. func (s *CharDataKeywordContext) OPTIMIZE() antlr.TerminalNode {
  7907. return s.GetToken(Cobol85PreprocessorParserOPTIMIZE, 0)
  7908. }
  7909. func (s *CharDataKeywordContext) OP() antlr.TerminalNode {
  7910. return s.GetToken(Cobol85PreprocessorParserOP, 0)
  7911. }
  7912. func (s *CharDataKeywordContext) OPT() antlr.TerminalNode {
  7913. return s.GetToken(Cobol85PreprocessorParserOPT, 0)
  7914. }
  7915. func (s *CharDataKeywordContext) OPTFILE() antlr.TerminalNode {
  7916. return s.GetToken(Cobol85PreprocessorParserOPTFILE, 0)
  7917. }
  7918. func (s *CharDataKeywordContext) OPTIONS() antlr.TerminalNode {
  7919. return s.GetToken(Cobol85PreprocessorParserOPTIONS, 0)
  7920. }
  7921. func (s *CharDataKeywordContext) OUT() antlr.TerminalNode {
  7922. return s.GetToken(Cobol85PreprocessorParserOUT, 0)
  7923. }
  7924. func (s *CharDataKeywordContext) OUTDD() antlr.TerminalNode {
  7925. return s.GetToken(Cobol85PreprocessorParserOUTDD, 0)
  7926. }
  7927. func (s *CharDataKeywordContext) PFD() antlr.TerminalNode {
  7928. return s.GetToken(Cobol85PreprocessorParserPFD, 0)
  7929. }
  7930. func (s *CharDataKeywordContext) PGMN() antlr.TerminalNode {
  7931. return s.GetToken(Cobol85PreprocessorParserPGMN, 0)
  7932. }
  7933. func (s *CharDataKeywordContext) PGMNAME() antlr.TerminalNode {
  7934. return s.GetToken(Cobol85PreprocessorParserPGMNAME, 0)
  7935. }
  7936. func (s *CharDataKeywordContext) PPTDBG() antlr.TerminalNode {
  7937. return s.GetToken(Cobol85PreprocessorParserPPTDBG, 0)
  7938. }
  7939. func (s *CharDataKeywordContext) PROCESS() antlr.TerminalNode {
  7940. return s.GetToken(Cobol85PreprocessorParserPROCESS, 0)
  7941. }
  7942. func (s *CharDataKeywordContext) PROLOG() antlr.TerminalNode {
  7943. return s.GetToken(Cobol85PreprocessorParserPROLOG, 0)
  7944. }
  7945. func (s *CharDataKeywordContext) QUOTE() antlr.TerminalNode {
  7946. return s.GetToken(Cobol85PreprocessorParserQUOTE, 0)
  7947. }
  7948. func (s *CharDataKeywordContext) RENT() antlr.TerminalNode {
  7949. return s.GetToken(Cobol85PreprocessorParserRENT, 0)
  7950. }
  7951. func (s *CharDataKeywordContext) REPLACING() antlr.TerminalNode {
  7952. return s.GetToken(Cobol85PreprocessorParserREPLACING, 0)
  7953. }
  7954. func (s *CharDataKeywordContext) RMODE() antlr.TerminalNode {
  7955. return s.GetToken(Cobol85PreprocessorParserRMODE, 0)
  7956. }
  7957. func (s *CharDataKeywordContext) SEQ() antlr.TerminalNode {
  7958. return s.GetToken(Cobol85PreprocessorParserSEQ, 0)
  7959. }
  7960. func (s *CharDataKeywordContext) SEQUENCE() antlr.TerminalNode {
  7961. return s.GetToken(Cobol85PreprocessorParserSEQUENCE, 0)
  7962. }
  7963. func (s *CharDataKeywordContext) SEP() antlr.TerminalNode {
  7964. return s.GetToken(Cobol85PreprocessorParserSEP, 0)
  7965. }
  7966. func (s *CharDataKeywordContext) SEPARATE() antlr.TerminalNode {
  7967. return s.GetToken(Cobol85PreprocessorParserSEPARATE, 0)
  7968. }
  7969. func (s *CharDataKeywordContext) SHORT() antlr.TerminalNode {
  7970. return s.GetToken(Cobol85PreprocessorParserSHORT, 0)
  7971. }
  7972. func (s *CharDataKeywordContext) SIZE() antlr.TerminalNode {
  7973. return s.GetToken(Cobol85PreprocessorParserSIZE, 0)
  7974. }
  7975. func (s *CharDataKeywordContext) SOURCE() antlr.TerminalNode {
  7976. return s.GetToken(Cobol85PreprocessorParserSOURCE, 0)
  7977. }
  7978. func (s *CharDataKeywordContext) SP() antlr.TerminalNode {
  7979. return s.GetToken(Cobol85PreprocessorParserSP, 0)
  7980. }
  7981. func (s *CharDataKeywordContext) SPACE() antlr.TerminalNode {
  7982. return s.GetToken(Cobol85PreprocessorParserSPACE, 0)
  7983. }
  7984. func (s *CharDataKeywordContext) SPIE() antlr.TerminalNode {
  7985. return s.GetToken(Cobol85PreprocessorParserSPIE, 0)
  7986. }
  7987. func (s *CharDataKeywordContext) SQL() antlr.TerminalNode {
  7988. return s.GetToken(Cobol85PreprocessorParserSQL, 0)
  7989. }
  7990. func (s *CharDataKeywordContext) SQLC() antlr.TerminalNode {
  7991. return s.GetToken(Cobol85PreprocessorParserSQLC, 0)
  7992. }
  7993. func (s *CharDataKeywordContext) SQLCCSID() antlr.TerminalNode {
  7994. return s.GetToken(Cobol85PreprocessorParserSQLCCSID, 0)
  7995. }
  7996. func (s *CharDataKeywordContext) SS() antlr.TerminalNode {
  7997. return s.GetToken(Cobol85PreprocessorParserSS, 0)
  7998. }
  7999. func (s *CharDataKeywordContext) SSR() antlr.TerminalNode {
  8000. return s.GetToken(Cobol85PreprocessorParserSSR, 0)
  8001. }
  8002. func (s *CharDataKeywordContext) SSRANGE() antlr.TerminalNode {
  8003. return s.GetToken(Cobol85PreprocessorParserSSRANGE, 0)
  8004. }
  8005. func (s *CharDataKeywordContext) STD() antlr.TerminalNode {
  8006. return s.GetToken(Cobol85PreprocessorParserSTD, 0)
  8007. }
  8008. func (s *CharDataKeywordContext) SYSEIB() antlr.TerminalNode {
  8009. return s.GetToken(Cobol85PreprocessorParserSYSEIB, 0)
  8010. }
  8011. func (s *CharDataKeywordContext) SZ() antlr.TerminalNode {
  8012. return s.GetToken(Cobol85PreprocessorParserSZ, 0)
  8013. }
  8014. func (s *CharDataKeywordContext) TERM() antlr.TerminalNode {
  8015. return s.GetToken(Cobol85PreprocessorParserTERM, 0)
  8016. }
  8017. func (s *CharDataKeywordContext) TERMINAL() antlr.TerminalNode {
  8018. return s.GetToken(Cobol85PreprocessorParserTERMINAL, 0)
  8019. }
  8020. func (s *CharDataKeywordContext) TEST() antlr.TerminalNode {
  8021. return s.GetToken(Cobol85PreprocessorParserTEST, 0)
  8022. }
  8023. func (s *CharDataKeywordContext) THREAD() antlr.TerminalNode {
  8024. return s.GetToken(Cobol85PreprocessorParserTHREAD, 0)
  8025. }
  8026. func (s *CharDataKeywordContext) TITLE() antlr.TerminalNode {
  8027. return s.GetToken(Cobol85PreprocessorParserTITLE, 0)
  8028. }
  8029. func (s *CharDataKeywordContext) TRIG() antlr.TerminalNode {
  8030. return s.GetToken(Cobol85PreprocessorParserTRIG, 0)
  8031. }
  8032. func (s *CharDataKeywordContext) TRUNC() antlr.TerminalNode {
  8033. return s.GetToken(Cobol85PreprocessorParserTRUNC, 0)
  8034. }
  8035. func (s *CharDataKeywordContext) UE() antlr.TerminalNode {
  8036. return s.GetToken(Cobol85PreprocessorParserUE, 0)
  8037. }
  8038. func (s *CharDataKeywordContext) UPPER() antlr.TerminalNode {
  8039. return s.GetToken(Cobol85PreprocessorParserUPPER, 0)
  8040. }
  8041. func (s *CharDataKeywordContext) VBREF() antlr.TerminalNode {
  8042. return s.GetToken(Cobol85PreprocessorParserVBREF, 0)
  8043. }
  8044. func (s *CharDataKeywordContext) WD() antlr.TerminalNode {
  8045. return s.GetToken(Cobol85PreprocessorParserWD, 0)
  8046. }
  8047. func (s *CharDataKeywordContext) XMLPARSE() antlr.TerminalNode {
  8048. return s.GetToken(Cobol85PreprocessorParserXMLPARSE, 0)
  8049. }
  8050. func (s *CharDataKeywordContext) XMLSS() antlr.TerminalNode {
  8051. return s.GetToken(Cobol85PreprocessorParserXMLSS, 0)
  8052. }
  8053. func (s *CharDataKeywordContext) XOPTS() antlr.TerminalNode {
  8054. return s.GetToken(Cobol85PreprocessorParserXOPTS, 0)
  8055. }
  8056. func (s *CharDataKeywordContext) XREF() antlr.TerminalNode {
  8057. return s.GetToken(Cobol85PreprocessorParserXREF, 0)
  8058. }
  8059. func (s *CharDataKeywordContext) YEARWINDOW() antlr.TerminalNode {
  8060. return s.GetToken(Cobol85PreprocessorParserYEARWINDOW, 0)
  8061. }
  8062. func (s *CharDataKeywordContext) YW() antlr.TerminalNode {
  8063. return s.GetToken(Cobol85PreprocessorParserYW, 0)
  8064. }
  8065. func (s *CharDataKeywordContext) ZWB() antlr.TerminalNode {
  8066. return s.GetToken(Cobol85PreprocessorParserZWB, 0)
  8067. }
  8068. func (s *CharDataKeywordContext) C_CHAR() antlr.TerminalNode {
  8069. return s.GetToken(Cobol85PreprocessorParserC_CHAR, 0)
  8070. }
  8071. func (s *CharDataKeywordContext) D_CHAR() antlr.TerminalNode {
  8072. return s.GetToken(Cobol85PreprocessorParserD_CHAR, 0)
  8073. }
  8074. func (s *CharDataKeywordContext) E_CHAR() antlr.TerminalNode {
  8075. return s.GetToken(Cobol85PreprocessorParserE_CHAR, 0)
  8076. }
  8077. func (s *CharDataKeywordContext) F_CHAR() antlr.TerminalNode {
  8078. return s.GetToken(Cobol85PreprocessorParserF_CHAR, 0)
  8079. }
  8080. func (s *CharDataKeywordContext) H_CHAR() antlr.TerminalNode {
  8081. return s.GetToken(Cobol85PreprocessorParserH_CHAR, 0)
  8082. }
  8083. func (s *CharDataKeywordContext) I_CHAR() antlr.TerminalNode {
  8084. return s.GetToken(Cobol85PreprocessorParserI_CHAR, 0)
  8085. }
  8086. func (s *CharDataKeywordContext) M_CHAR() antlr.TerminalNode {
  8087. return s.GetToken(Cobol85PreprocessorParserM_CHAR, 0)
  8088. }
  8089. func (s *CharDataKeywordContext) N_CHAR() antlr.TerminalNode {
  8090. return s.GetToken(Cobol85PreprocessorParserN_CHAR, 0)
  8091. }
  8092. func (s *CharDataKeywordContext) Q_CHAR() antlr.TerminalNode {
  8093. return s.GetToken(Cobol85PreprocessorParserQ_CHAR, 0)
  8094. }
  8095. func (s *CharDataKeywordContext) S_CHAR() antlr.TerminalNode {
  8096. return s.GetToken(Cobol85PreprocessorParserS_CHAR, 0)
  8097. }
  8098. func (s *CharDataKeywordContext) U_CHAR() antlr.TerminalNode {
  8099. return s.GetToken(Cobol85PreprocessorParserU_CHAR, 0)
  8100. }
  8101. func (s *CharDataKeywordContext) W_CHAR() antlr.TerminalNode {
  8102. return s.GetToken(Cobol85PreprocessorParserW_CHAR, 0)
  8103. }
  8104. func (s *CharDataKeywordContext) X_CHAR() antlr.TerminalNode {
  8105. return s.GetToken(Cobol85PreprocessorParserX_CHAR, 0)
  8106. }
  8107. func (s *CharDataKeywordContext) GetRuleContext() antlr.RuleContext {
  8108. return s
  8109. }
  8110. func (s *CharDataKeywordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string {
  8111. return antlr.TreesStringTree(s, ruleNames, recog)
  8112. }
  8113. func (s *CharDataKeywordContext) EnterRule(listener antlr.ParseTreeListener) {
  8114. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  8115. listenerT.EnterCharDataKeyword(s)
  8116. }
  8117. }
  8118. func (s *CharDataKeywordContext) ExitRule(listener antlr.ParseTreeListener) {
  8119. if listenerT, ok := listener.(Cobol85PreprocessorListener); ok {
  8120. listenerT.ExitCharDataKeyword(s)
  8121. }
  8122. }
  8123. func (p *Cobol85PreprocessorParser) CharDataKeyword() (localctx ICharDataKeywordContext) {
  8124. localctx = NewCharDataKeywordContext(p, p.GetParserRuleContext(), p.GetState())
  8125. p.EnterRule(localctx, 58, Cobol85PreprocessorParserRULE_charDataKeyword)
  8126. var _la int
  8127. defer func() {
  8128. p.ExitRule()
  8129. }()
  8130. defer func() {
  8131. if err := recover(); err != nil {
  8132. if v, ok := err.(antlr.RecognitionException); ok {
  8133. localctx.SetException(v)
  8134. p.GetErrorHandler().ReportError(p, v)
  8135. p.GetErrorHandler().Recover(p, v)
  8136. } else {
  8137. panic(err)
  8138. }
  8139. }
  8140. }()
  8141. p.EnterOuterAlt(localctx, 1)
  8142. {
  8143. p.SetState(675)
  8144. _la = p.GetTokenStream().LA(1)
  8145. if !((((_la)&-(0x1f+1)) == 0 && ((1<<uint(_la))&((1<<Cobol85PreprocessorParserADATA)|(1<<Cobol85PreprocessorParserADV)|(1<<Cobol85PreprocessorParserALIAS)|(1<<Cobol85PreprocessorParserANSI)|(1<<Cobol85PreprocessorParserANY)|(1<<Cobol85PreprocessorParserAPOST)|(1<<Cobol85PreprocessorParserAR)|(1<<Cobol85PreprocessorParserARITH)|(1<<Cobol85PreprocessorParserAUTO)|(1<<Cobol85PreprocessorParserAWO)|(1<<Cobol85PreprocessorParserBIN)|(1<<Cobol85PreprocessorParserBLOCK0)|(1<<Cobol85PreprocessorParserBUF)|(1<<Cobol85PreprocessorParserBUFSIZE)|(1<<Cobol85PreprocessorParserBY)|(1<<Cobol85PreprocessorParserCBL)|(1<<Cobol85PreprocessorParserCBLCARD)|(1<<Cobol85PreprocessorParserCO)|(1<<Cobol85PreprocessorParserCOBOL2)|(1<<Cobol85PreprocessorParserCOBOL3)|(1<<Cobol85PreprocessorParserCODEPAGE)|(1<<Cobol85PreprocessorParserCOMPAT)|(1<<Cobol85PreprocessorParserCOMPILE)|(1<<Cobol85PreprocessorParserCP)|(1<<Cobol85PreprocessorParserCPP)|(1<<Cobol85PreprocessorParserCPSM)|(1<<Cobol85PreprocessorParserCS)|(1<<Cobol85PreprocessorParserCURR)|(1<<Cobol85PreprocessorParserCURRENCY))) != 0) || (((_la-32)&-(0x1f+1)) == 0 && ((1<<uint((_la-32)))&((1<<(Cobol85PreprocessorParserDATA-32))|(1<<(Cobol85PreprocessorParserDATEPROC-32))|(1<<(Cobol85PreprocessorParserDBCS-32))|(1<<(Cobol85PreprocessorParserDD-32))|(1<<(Cobol85PreprocessorParserDEBUG-32))|(1<<(Cobol85PreprocessorParserDECK-32))|(1<<(Cobol85PreprocessorParserDIAGTRUNC-32))|(1<<(Cobol85PreprocessorParserDLI-32))|(1<<(Cobol85PreprocessorParserDLL-32))|(1<<(Cobol85PreprocessorParserDP-32))|(1<<(Cobol85PreprocessorParserDTR-32))|(1<<(Cobol85PreprocessorParserDU-32))|(1<<(Cobol85PreprocessorParserDUMP-32))|(1<<(Cobol85PreprocessorParserDYN-32))|(1<<(Cobol85PreprocessorParserDYNAM-32))|(1<<(Cobol85PreprocessorParserEDF-32))|(1<<(Cobol85PreprocessorParserEJECT-32))|(1<<(Cobol85PreprocessorParserEJPD-32))|(1<<(Cobol85PreprocessorParserEN-32))|(1<<(Cobol85PreprocessorParserENGLISH-32))|(1<<(Cobol85PreprocessorParserEPILOG-32))|(1<<(Cobol85PreprocessorParserEXCI-32))|(1<<(Cobol85PreprocessorParserEXIT-32))|(1<<(Cobol85PreprocessorParserEXP-32))|(1<<(Cobol85PreprocessorParserEXPORTALL-32))|(1<<(Cobol85PreprocessorParserEXTEND-32))|(1<<(Cobol85PreprocessorParserFASTSRT-32))|(1<<(Cobol85PreprocessorParserFLAG-32))|(1<<(Cobol85PreprocessorParserFLAGSTD-32)))) != 0) || (((_la-64)&-(0x1f+1)) == 0 && ((1<<uint((_la-64)))&((1<<(Cobol85PreprocessorParserFSRT-64))|(1<<(Cobol85PreprocessorParserFULL-64))|(1<<(Cobol85PreprocessorParserGDS-64))|(1<<(Cobol85PreprocessorParserGRAPHIC-64))|(1<<(Cobol85PreprocessorParserHOOK-64))|(1<<(Cobol85PreprocessorParserIN-64))|(1<<(Cobol85PreprocessorParserINTDATE-64))|(1<<(Cobol85PreprocessorParserJA-64))|(1<<(Cobol85PreprocessorParserJP-64))|(1<<(Cobol85PreprocessorParserKA-64))|(1<<(Cobol85PreprocessorParserLANG-64))|(1<<(Cobol85PreprocessorParserLANGUAGE-64))|(1<<(Cobol85PreprocessorParserLC-64))|(1<<(Cobol85PreprocessorParserLENGTH-64))|(1<<(Cobol85PreprocessorParserLIB-64))|(1<<(Cobol85PreprocessorParserLILIAN-64))|(1<<(Cobol85PreprocessorParserLIN-64))|(1<<(Cobol85PreprocessorParserLINECOUNT-64))|(1<<(Cobol85PreprocessorParserLINKAGE-64))|(1<<(Cobol85PreprocessorParserLIST-64))|(1<<(Cobol85PreprocessorParserLM-64))|(1<<(Cobol85PreprocessorParserLONGMIXED-64))|(1<<(Cobol85PreprocessorParserLONGUPPER-64))|(1<<(Cobol85PreprocessorParserLU-64))|(1<<(Cobol85PreprocessorParserMAP-64))|(1<<(Cobol85PreprocessorParserMARGINS-64))|(1<<(Cobol85PreprocessorParserMAX-64))|(1<<(Cobol85PreprocessorParserMD-64))|(1<<(Cobol85PreprocessorParserMDECK-64))|(1<<(Cobol85PreprocessorParserMIG-64)))) != 0) || (((_la-96)&-(0x1f+1)) == 0 && ((1<<uint((_la-96)))&((1<<(Cobol85PreprocessorParserMIXED-96))|(1<<(Cobol85PreprocessorParserNAME-96))|(1<<(Cobol85PreprocessorParserNAT-96))|(1<<(Cobol85PreprocessorParserNATIONAL-96))|(1<<(Cobol85PreprocessorParserNATLANG-96))|(1<<(Cobol85PreprocessorParserNN-96))|(1<<(Cobol85PreprocessorParserNO-96))|(1<<(Cobol85PreprocessorParserNOADATA-96))|(1<<(Cobol85PreprocessorParserNOADV-96))|(1<<(Cobol85PreprocessorParserNOALIAS-96))|(1<<(Cobol85PreprocessorParserNOAWO-96))|(1<<(Cobol85PreprocessorParserNOBLOCK0-96))|(1<<(Cobol85PreprocessorParserNOC-96))|(1<<(Cobol85PreprocessorParserNOCBLCARD-96))|(1<<(Cobol85PreprocessorParserNOCICS-96))|(1<<(Cobol85PreprocessorParserNOCMPR2-96))|(1<<(Cobol85PreprocessorParserNOCOMPILE-96))|(1<<(Cobol85PreprocessorParserNOCPSM-96))|(1<<(Cobol85PreprocessorParserNOCURR-96))|(1<<(Cobol85PreprocessorParserNOCURRENCY-96))|(1<<(Cobol85PreprocessorParserNOD-96))|(1<<(Cobol85PreprocessorParserNODATEPROC-96))|(1<<(Cobol85PreprocessorParserNODBCS-96))|(1<<(Cobol85PreprocessorParserNODE-96))|(1<<(Cobol85PreprocessorParserNODEBUG-96))|(1<<(Cobol85PreprocessorParserNODECK-96))|(1<<(Cobol85PreprocessorParserNODIAGTRUNC-96))|(1<<(Cobol85PreprocessorParserNODLL-96))|(1<<(Cobol85PreprocessorParserNODU-96))|(1<<(Cobol85PreprocessorParserNODUMP-96))|(1<<(Cobol85PreprocessorParserNODP-96))|(1<<(Cobol85PreprocessorParserNODTR-96)))) != 0) || (((_la-128)&-(0x1f+1)) == 0 && ((1<<uint((_la-128)))&((1<<(Cobol85PreprocessorParserNODYN-128))|(1<<(Cobol85PreprocessorParserNODYNAM-128))|(1<<(Cobol85PreprocessorParserNOEDF-128))|(1<<(Cobol85PreprocessorParserNOEJPD-128))|(1<<(Cobol85PreprocessorParserNOEPILOG-128))|(1<<(Cobol85PreprocessorParserNOEXIT-128))|(1<<(Cobol85PreprocessorParserNOEXP-128))|(1<<(Cobol85PreprocessorParserNOEXPORTALL-128))|(1<<(Cobol85PreprocessorParserNOF-128))|(1<<(Cobol85PreprocessorParserNOFASTSRT-128))|(1<<(Cobol85PreprocessorParserNOFEPI-128))|(1<<(Cobol85PreprocessorParserNOFLAG-128))|(1<<(Cobol85PreprocessorParserNOFLAGMIG-128))|(1<<(Cobol85PreprocessorParserNOFLAGSTD-128))|(1<<(Cobol85PreprocessorParserNOFSRT-128))|(1<<(Cobol85PreprocessorParserNOGRAPHIC-128))|(1<<(Cobol85PreprocessorParserNOHOOK-128))|(1<<(Cobol85PreprocessorParserNOLENGTH-128))|(1<<(Cobol85PreprocessorParserNOLIB-128))|(1<<(Cobol85PreprocessorParserNOLINKAGE-128))|(1<<(Cobol85PreprocessorParserNOLIST-128))|(1<<(Cobol85PreprocessorParserNOMAP-128))|(1<<(Cobol85PreprocessorParserNOMD-128))|(1<<(Cobol85PreprocessorParserNOMDECK-128))|(1<<(Cobol85PreprocessorParserNONAME-128))|(1<<(Cobol85PreprocessorParserNONUM-128))|(1<<(Cobol85PreprocessorParserNONUMBER-128))|(1<<(Cobol85PreprocessorParserNOOBJ-128))|(1<<(Cobol85PreprocessorParserNOOBJECT-128))|(1<<(Cobol85PreprocessorParserNOOFF-128))|(1<<(Cobol85PreprocessorParserNOOFFSET-128))|(1<<(Cobol85PreprocessorParserNOOPSEQUENCE-128)))) != 0) || (((_la-160)&-(0x1f+1)) == 0 && ((1<<uint((_la-160)))&((1<<(Cobol85PreprocessorParserNOOPT-160))|(1<<(Cobol85PreprocessorParserNOOPTIMIZE-160))|(1<<(Cobol85PreprocessorParserNOOPTIONS-160))|(1<<(Cobol85PreprocessorParserNOP-160))|(1<<(Cobol85PreprocessorParserNOPFD-160))|(1<<(Cobol85PreprocessorParserNOPROLOG-160))|(1<<(Cobol85PreprocessorParserNORENT-160))|(1<<(Cobol85PreprocessorParserNOS-160))|(1<<(Cobol85PreprocessorParserNOSEP-160))|(1<<(Cobol85PreprocessorParserNOSEPARATE-160))|(1<<(Cobol85PreprocessorParserNOSEQ-160))|(1<<(Cobol85PreprocessorParserNOSOURCE-160))|(1<<(Cobol85PreprocessorParserNOSPIE-160))|(1<<(Cobol85PreprocessorParserNOSQL-160))|(1<<(Cobol85PreprocessorParserNOSQLC-160))|(1<<(Cobol85PreprocessorParserNOSQLCCSID-160))|(1<<(Cobol85PreprocessorParserNOSSR-160))|(1<<(Cobol85PreprocessorParserNOSSRANGE-160))|(1<<(Cobol85PreprocessorParserNOSTDTRUNC-160))|(1<<(Cobol85PreprocessorParserNOSEQUENCE-160))|(1<<(Cobol85PreprocessorParserNOTERM-160))|(1<<(Cobol85PreprocessorParserNOTERMINAL-160))|(1<<(Cobol85PreprocessorParserNOTEST-160))|(1<<(Cobol85PreprocessorParserNOTHREAD-160))|(1<<(Cobol85PreprocessorParserNOTRIG-160))|(1<<(Cobol85PreprocessorParserNOVBREF-160))|(1<<(Cobol85PreprocessorParserNOWORD-160))|(1<<(Cobol85PreprocessorParserNOX-160))|(1<<(Cobol85PreprocessorParserNOXREF-160))|(1<<(Cobol85PreprocessorParserNOZWB-160))|(1<<(Cobol85PreprocessorParserNS-160)))) != 0) || (((_la-192)&-(0x1f+1)) == 0 && ((1<<uint((_la-192)))&((1<<(Cobol85PreprocessorParserNSEQ-192))|(1<<(Cobol85PreprocessorParserNSYMBOL-192))|(1<<(Cobol85PreprocessorParserNUM-192))|(1<<(Cobol85PreprocessorParserNUMBER-192))|(1<<(Cobol85PreprocessorParserNUMPROC-192))|(1<<(Cobol85PreprocessorParserOBJ-192))|(1<<(Cobol85PreprocessorParserOBJECT-192))|(1<<(Cobol85PreprocessorParserOF-192))|(1<<(Cobol85PreprocessorParserOFF-192))|(1<<(Cobol85PreprocessorParserOFFSET-192))|(1<<(Cobol85PreprocessorParserON-192))|(1<<(Cobol85PreprocessorParserOP-192))|(1<<(Cobol85PreprocessorParserOPMARGINS-192))|(1<<(Cobol85PreprocessorParserOPSEQUENCE-192))|(1<<(Cobol85PreprocessorParserOPT-192))|(1<<(Cobol85PreprocessorParserOPTFILE-192))|(1<<(Cobol85PreprocessorParserOPTIMIZE-192))|(1<<(Cobol85PreprocessorParserOPTIONS-192))|(1<<(Cobol85PreprocessorParserOUT-192))|(1<<(Cobol85PreprocessorParserOUTDD-192))|(1<<(Cobol85PreprocessorParserPFD-192))|(1<<(Cobol85PreprocessorParserPPTDBG-192))|(1<<(Cobol85PreprocessorParserPGMN-192))|(1<<(Cobol85PreprocessorParserPGMNAME-192))|(1<<(Cobol85PreprocessorParserPROCESS-192))|(1<<(Cobol85PreprocessorParserPROLOG-192))|(1<<(Cobol85PreprocessorParserQUOTE-192))|(1<<(Cobol85PreprocessorParserRENT-192))|(1<<(Cobol85PreprocessorParserREPLACING-192))|(1<<(Cobol85PreprocessorParserRMODE-192)))) != 0) || (((_la-224)&-(0x1f+1)) == 0 && ((1<<uint((_la-224)))&((1<<(Cobol85PreprocessorParserSEP-224))|(1<<(Cobol85PreprocessorParserSEPARATE-224))|(1<<(Cobol85PreprocessorParserSEQ-224))|(1<<(Cobol85PreprocessorParserSEQUENCE-224))|(1<<(Cobol85PreprocessorParserSHORT-224))|(1<<(Cobol85PreprocessorParserSIZE-224))|(1<<(Cobol85PreprocessorParserSOURCE-224))|(1<<(Cobol85PreprocessorParserSP-224))|(1<<(Cobol85PreprocessorParserSPACE-224))|(1<<(Cobol85PreprocessorParserSPIE-224))|(1<<(Cobol85PreprocessorParserSQL-224))|(1<<(Cobol85PreprocessorParserSQLC-224))|(1<<(Cobol85PreprocessorParserSQLCCSID-224))|(1<<(Cobol85PreprocessorParserSS-224))|(1<<(Cobol85PreprocessorParserSSR-224))|(1<<(Cobol85PreprocessorParserSSRANGE-224))|(1<<(Cobol85PreprocessorParserSTD-224))|(1<<(Cobol85PreprocessorParserSYSEIB-224))|(1<<(Cobol85PreprocessorParserSZ-224))|(1<<(Cobol85PreprocessorParserTERM-224))|(1<<(Cobol85PreprocessorParserTERMINAL-224))|(1<<(Cobol85PreprocessorParserTEST-224))|(1<<(Cobol85PreprocessorParserTHREAD-224))|(1<<(Cobol85PreprocessorParserTITLE-224))|(1<<(Cobol85PreprocessorParserTRIG-224))|(1<<(Cobol85PreprocessorParserTRUNC-224))|(1<<(Cobol85PreprocessorParserUE-224)))) != 0) || (((_la-256)&-(0x1f+1)) == 0 && ((1<<uint((_la-256)))&((1<<(Cobol85PreprocessorParserUPPER-256))|(1<<(Cobol85PreprocessorParserVBREF-256))|(1<<(Cobol85PreprocessorParserWD-256))|(1<<(Cobol85PreprocessorParserXMLPARSE-256))|(1<<(Cobol85PreprocessorParserXMLSS-256))|(1<<(Cobol85PreprocessorParserXOPTS-256))|(1<<(Cobol85PreprocessorParserXREF-256))|(1<<(Cobol85PreprocessorParserYEARWINDOW-256))|(1<<(Cobol85PreprocessorParserYW-256))|(1<<(Cobol85PreprocessorParserZWB-256))|(1<<(Cobol85PreprocessorParserC_CHAR-256))|(1<<(Cobol85PreprocessorParserD_CHAR-256))|(1<<(Cobol85PreprocessorParserE_CHAR-256))|(1<<(Cobol85PreprocessorParserF_CHAR-256))|(1<<(Cobol85PreprocessorParserH_CHAR-256))|(1<<(Cobol85PreprocessorParserI_CHAR-256))|(1<<(Cobol85PreprocessorParserM_CHAR-256))|(1<<(Cobol85PreprocessorParserN_CHAR-256))|(1<<(Cobol85PreprocessorParserQ_CHAR-256))|(1<<(Cobol85PreprocessorParserS_CHAR-256))|(1<<(Cobol85PreprocessorParserU_CHAR-256))|(1<<(Cobol85PreprocessorParserW_CHAR-256))|(1<<(Cobol85PreprocessorParserX_CHAR-256))|(1<<(Cobol85PreprocessorParserCOMMACHAR-256)))) != 0)) {
  8146. p.GetErrorHandler().RecoverInline(p)
  8147. } else {
  8148. p.GetErrorHandler().ReportMatch(p)
  8149. p.Consume()
  8150. }
  8151. }
  8152. return localctx
  8153. }