[88] | 1 | package de.ugoe.cs.swe.bnftools.parser.antlr.internal; |
---|
| 2 | |
---|
| 3 | // Hack: Use our own Lexer superclass by means of import. |
---|
| 4 | // Currently there is no other way to specify the superclass for the lexer. |
---|
| 5 | import org.eclipse.xtext.parser.antlr.Lexer; |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | import org.antlr.runtime.*; |
---|
| 9 | import java.util.Stack; |
---|
| 10 | import java.util.List; |
---|
| 11 | import java.util.ArrayList; |
---|
| 12 | |
---|
[61] | 13 | @SuppressWarnings("all") |
---|
[88] | 14 | public class InternalEbnfLexer extends Lexer { |
---|
[95] | 15 | public static final int T__40=40; |
---|
| 16 | public static final int RULE_ID=4; |
---|
| 17 | public static final int RULE_SECTIONHEADER=5; |
---|
| 18 | public static final int T__41=41; |
---|
| 19 | public static final int T__29=29; |
---|
| 20 | public static final int T__28=28; |
---|
| 21 | public static final int T__27=27; |
---|
| 22 | public static final int T__26=26; |
---|
| 23 | public static final int T__25=25; |
---|
| 24 | public static final int T__24=24; |
---|
| 25 | public static final int T__23=23; |
---|
| 26 | public static final int T__22=22; |
---|
| 27 | public static final int T__21=21; |
---|
| 28 | public static final int T__20=20; |
---|
| 29 | public static final int EOF=-1; |
---|
[100] | 30 | public static final int RULE_SL_COMMENT=12; |
---|
| 31 | public static final int RULE_ML_COMMENT=6; |
---|
[88] | 32 | public static final int T__19=19; |
---|
[95] | 33 | public static final int T__30=30; |
---|
| 34 | public static final int T__31=31; |
---|
[100] | 35 | public static final int RULE_COLON=10; |
---|
[95] | 36 | public static final int T__32=32; |
---|
[100] | 37 | public static final int RULE_STRING=7; |
---|
[88] | 38 | public static final int T__16=16; |
---|
| 39 | public static final int T__33=33; |
---|
[95] | 40 | public static final int T__15=15; |
---|
[88] | 41 | public static final int T__34=34; |
---|
[95] | 42 | public static final int T__18=18; |
---|
[88] | 43 | public static final int T__35=35; |
---|
[95] | 44 | public static final int T__17=17; |
---|
[88] | 45 | public static final int T__36=36; |
---|
[95] | 46 | public static final int T__37=37; |
---|
[100] | 47 | public static final int RULE_LOGIC=9; |
---|
[95] | 48 | public static final int T__38=38; |
---|
| 49 | public static final int T__14=14; |
---|
| 50 | public static final int T__39=39; |
---|
| 51 | public static final int T__13=13; |
---|
[100] | 52 | public static final int RULE_INT=8; |
---|
| 53 | public static final int RULE_WS=11; |
---|
[88] | 54 | |
---|
| 55 | // delegates |
---|
| 56 | // delegators |
---|
| 57 | |
---|
| 58 | public InternalEbnfLexer() {;} |
---|
| 59 | public InternalEbnfLexer(CharStream input) { |
---|
| 60 | this(input, new RecognizerSharedState()); |
---|
| 61 | } |
---|
| 62 | public InternalEbnfLexer(CharStream input, RecognizerSharedState state) { |
---|
| 63 | super(input,state); |
---|
| 64 | |
---|
| 65 | } |
---|
| 66 | public String getGrammarFileName() { return "../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g"; } |
---|
| 67 | |
---|
| 68 | // $ANTLR start "T__13" |
---|
| 69 | public final void mT__13() throws RecognitionException { |
---|
| 70 | try { |
---|
| 71 | int _type = T__13; |
---|
| 72 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 73 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:11:7: ( 'grammar' ) |
---|
| 74 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:11:9: 'grammar' |
---|
| 75 | { |
---|
| 76 | match("grammar"); |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | } |
---|
| 80 | |
---|
| 81 | state.type = _type; |
---|
| 82 | state.channel = _channel; |
---|
| 83 | } |
---|
| 84 | finally { |
---|
| 85 | } |
---|
| 86 | } |
---|
| 87 | // $ANTLR end "T__13" |
---|
| 88 | |
---|
| 89 | // $ANTLR start "T__14" |
---|
| 90 | public final void mT__14() throws RecognitionException { |
---|
| 91 | try { |
---|
| 92 | int _type = T__14; |
---|
| 93 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 94 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:12:7: ( '/bnf' ) |
---|
| 95 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:12:9: '/bnf' |
---|
| 96 | { |
---|
| 97 | match("/bnf"); |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | } |
---|
| 101 | |
---|
| 102 | state.type = _type; |
---|
| 103 | state.channel = _channel; |
---|
| 104 | } |
---|
| 105 | finally { |
---|
| 106 | } |
---|
| 107 | } |
---|
| 108 | // $ANTLR end "T__14" |
---|
| 109 | |
---|
| 110 | // $ANTLR start "T__15" |
---|
| 111 | public final void mT__15() throws RecognitionException { |
---|
| 112 | try { |
---|
| 113 | int _type = T__15; |
---|
| 114 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 115 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:13:7: ( ';' ) |
---|
| 116 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:13:9: ';' |
---|
| 117 | { |
---|
| 118 | match(';'); |
---|
| 119 | |
---|
| 120 | } |
---|
| 121 | |
---|
| 122 | state.type = _type; |
---|
| 123 | state.channel = _channel; |
---|
| 124 | } |
---|
| 125 | finally { |
---|
| 126 | } |
---|
| 127 | } |
---|
| 128 | // $ANTLR end "T__15" |
---|
| 129 | |
---|
| 130 | // $ANTLR start "T__16" |
---|
| 131 | public final void mT__16() throws RecognitionException { |
---|
| 132 | try { |
---|
| 133 | int _type = T__16; |
---|
| 134 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 135 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:14:7: ( '/delta' ) |
---|
| 136 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:14:9: '/delta' |
---|
| 137 | { |
---|
| 138 | match("/delta"); |
---|
| 139 | |
---|
| 140 | |
---|
| 141 | } |
---|
| 142 | |
---|
| 143 | state.type = _type; |
---|
| 144 | state.channel = _channel; |
---|
| 145 | } |
---|
| 146 | finally { |
---|
| 147 | } |
---|
| 148 | } |
---|
| 149 | // $ANTLR end "T__16" |
---|
| 150 | |
---|
| 151 | // $ANTLR start "T__17" |
---|
| 152 | public final void mT__17() throws RecognitionException { |
---|
| 153 | try { |
---|
| 154 | int _type = T__17; |
---|
| 155 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 156 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:15:7: ( '/merge' ) |
---|
| 157 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:15:9: '/merge' |
---|
| 158 | { |
---|
| 159 | match("/merge"); |
---|
| 160 | |
---|
| 161 | |
---|
| 162 | } |
---|
| 163 | |
---|
| 164 | state.type = _type; |
---|
| 165 | state.channel = _channel; |
---|
| 166 | } |
---|
| 167 | finally { |
---|
| 168 | } |
---|
| 169 | } |
---|
| 170 | // $ANTLR end "T__17" |
---|
| 171 | |
---|
| 172 | // $ANTLR start "T__18" |
---|
| 173 | public final void mT__18() throws RecognitionException { |
---|
| 174 | try { |
---|
| 175 | int _type = T__18; |
---|
| 176 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 177 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:16:7: ( 'import' ) |
---|
| 178 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:16:9: 'import' |
---|
| 179 | { |
---|
| 180 | match("import"); |
---|
| 181 | |
---|
| 182 | |
---|
| 183 | } |
---|
| 184 | |
---|
| 185 | state.type = _type; |
---|
| 186 | state.channel = _channel; |
---|
| 187 | } |
---|
| 188 | finally { |
---|
| 189 | } |
---|
| 190 | } |
---|
| 191 | // $ANTLR end "T__18" |
---|
| 192 | |
---|
| 193 | // $ANTLR start "T__19" |
---|
| 194 | public final void mT__19() throws RecognitionException { |
---|
| 195 | try { |
---|
| 196 | int _type = T__19; |
---|
| 197 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 198 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:17:7: ( '/' ) |
---|
| 199 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:17:9: '/' |
---|
| 200 | { |
---|
| 201 | match('/'); |
---|
| 202 | |
---|
| 203 | } |
---|
| 204 | |
---|
| 205 | state.type = _type; |
---|
| 206 | state.channel = _channel; |
---|
| 207 | } |
---|
| 208 | finally { |
---|
| 209 | } |
---|
| 210 | } |
---|
| 211 | // $ANTLR end "T__19" |
---|
| 212 | |
---|
| 213 | // $ANTLR start "T__20" |
---|
| 214 | public final void mT__20() throws RecognitionException { |
---|
| 215 | try { |
---|
| 216 | int _type = T__20; |
---|
| 217 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 218 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:18:7: ( 'core' ) |
---|
| 219 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:18:9: 'core' |
---|
| 220 | { |
---|
| 221 | match("core"); |
---|
| 222 | |
---|
| 223 | |
---|
| 224 | } |
---|
| 225 | |
---|
| 226 | state.type = _type; |
---|
| 227 | state.channel = _channel; |
---|
| 228 | } |
---|
| 229 | finally { |
---|
| 230 | } |
---|
| 231 | } |
---|
| 232 | // $ANTLR end "T__20" |
---|
| 233 | |
---|
| 234 | // $ANTLR start "T__21" |
---|
| 235 | public final void mT__21() throws RecognitionException { |
---|
| 236 | try { |
---|
| 237 | int _type = T__21; |
---|
| 238 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 239 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:19:7: ( 'package' ) |
---|
| 240 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:19:9: 'package' |
---|
| 241 | { |
---|
| 242 | match("package"); |
---|
| 243 | |
---|
| 244 | |
---|
| 245 | } |
---|
| 246 | |
---|
| 247 | state.type = _type; |
---|
| 248 | state.channel = _channel; |
---|
| 249 | } |
---|
| 250 | finally { |
---|
| 251 | } |
---|
| 252 | } |
---|
| 253 | // $ANTLR end "T__21" |
---|
| 254 | |
---|
| 255 | // $ANTLR start "T__22" |
---|
| 256 | public final void mT__22() throws RecognitionException { |
---|
| 257 | try { |
---|
| 258 | int _type = T__22; |
---|
| 259 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 260 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:20:7: ( 'update' ) |
---|
| 261 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:20:9: 'update' |
---|
| 262 | { |
---|
| 263 | match("update"); |
---|
| 264 | |
---|
| 265 | |
---|
| 266 | } |
---|
| 267 | |
---|
| 268 | state.type = _type; |
---|
| 269 | state.channel = _channel; |
---|
| 270 | } |
---|
| 271 | finally { |
---|
| 272 | } |
---|
| 273 | } |
---|
| 274 | // $ANTLR end "T__22" |
---|
| 275 | |
---|
| 276 | // $ANTLR start "T__23" |
---|
| 277 | public final void mT__23() throws RecognitionException { |
---|
| 278 | try { |
---|
| 279 | int _type = T__23; |
---|
| 280 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 281 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:21:7: ( 'label:' ) |
---|
| 282 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:21:9: 'label:' |
---|
| 283 | { |
---|
| 284 | match("label:"); |
---|
| 285 | |
---|
| 286 | |
---|
| 287 | } |
---|
| 288 | |
---|
| 289 | state.type = _type; |
---|
| 290 | state.channel = _channel; |
---|
| 291 | } |
---|
| 292 | finally { |
---|
| 293 | } |
---|
| 294 | } |
---|
| 295 | // $ANTLR end "T__23" |
---|
| 296 | |
---|
| 297 | // $ANTLR start "T__24" |
---|
| 298 | public final void mT__24() throws RecognitionException { |
---|
| 299 | try { |
---|
| 300 | int _type = T__24; |
---|
| 301 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 302 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:22:7: ( '.' ) |
---|
| 303 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:22:9: '.' |
---|
| 304 | { |
---|
| 305 | match('.'); |
---|
| 306 | |
---|
| 307 | } |
---|
| 308 | |
---|
| 309 | state.type = _type; |
---|
| 310 | state.channel = _channel; |
---|
| 311 | } |
---|
| 312 | finally { |
---|
| 313 | } |
---|
| 314 | } |
---|
| 315 | // $ANTLR end "T__24" |
---|
| 316 | |
---|
| 317 | // $ANTLR start "T__25" |
---|
| 318 | public final void mT__25() throws RecognitionException { |
---|
| 319 | try { |
---|
| 320 | int _type = T__25; |
---|
| 321 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 322 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:23:7: ( '::=' ) |
---|
| 323 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:23:9: '::=' |
---|
| 324 | { |
---|
| 325 | match("::="); |
---|
| 326 | |
---|
| 327 | |
---|
| 328 | } |
---|
| 329 | |
---|
| 330 | state.type = _type; |
---|
| 331 | state.channel = _channel; |
---|
| 332 | } |
---|
| 333 | finally { |
---|
| 334 | } |
---|
| 335 | } |
---|
| 336 | // $ANTLR end "T__25" |
---|
| 337 | |
---|
| 338 | // $ANTLR start "T__26" |
---|
| 339 | public final void mT__26() throws RecognitionException { |
---|
| 340 | try { |
---|
| 341 | int _type = T__26; |
---|
| 342 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 343 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:24:7: ( '(' ) |
---|
| 344 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:24:9: '(' |
---|
| 345 | { |
---|
| 346 | match('('); |
---|
| 347 | |
---|
| 348 | } |
---|
| 349 | |
---|
| 350 | state.type = _type; |
---|
| 351 | state.channel = _channel; |
---|
| 352 | } |
---|
| 353 | finally { |
---|
| 354 | } |
---|
| 355 | } |
---|
| 356 | // $ANTLR end "T__26" |
---|
| 357 | |
---|
| 358 | // $ANTLR start "T__27" |
---|
| 359 | public final void mT__27() throws RecognitionException { |
---|
| 360 | try { |
---|
| 361 | int _type = T__27; |
---|
| 362 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 363 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:25:7: ( ')' ) |
---|
| 364 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:25:9: ')' |
---|
| 365 | { |
---|
| 366 | match(')'); |
---|
| 367 | |
---|
| 368 | } |
---|
| 369 | |
---|
| 370 | state.type = _type; |
---|
| 371 | state.channel = _channel; |
---|
| 372 | } |
---|
| 373 | finally { |
---|
| 374 | } |
---|
| 375 | } |
---|
| 376 | // $ANTLR end "T__27" |
---|
| 377 | |
---|
| 378 | // $ANTLR start "T__28" |
---|
| 379 | public final void mT__28() throws RecognitionException { |
---|
| 380 | try { |
---|
| 381 | int _type = T__28; |
---|
| 382 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 383 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:26:7: ( '<-' ) |
---|
| 384 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:26:9: '<-' |
---|
| 385 | { |
---|
| 386 | match("<-"); |
---|
| 387 | |
---|
| 388 | |
---|
| 389 | } |
---|
| 390 | |
---|
| 391 | state.type = _type; |
---|
| 392 | state.channel = _channel; |
---|
| 393 | } |
---|
| 394 | finally { |
---|
| 395 | } |
---|
| 396 | } |
---|
| 397 | // $ANTLR end "T__28" |
---|
| 398 | |
---|
| 399 | // $ANTLR start "T__29" |
---|
| 400 | public final void mT__29() throws RecognitionException { |
---|
| 401 | try { |
---|
| 402 | int _type = T__29; |
---|
| 403 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 404 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:27:7: ( ']' ) |
---|
| 405 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:27:9: ']' |
---|
| 406 | { |
---|
| 407 | match(']'); |
---|
| 408 | |
---|
| 409 | } |
---|
| 410 | |
---|
| 411 | state.type = _type; |
---|
| 412 | state.channel = _channel; |
---|
| 413 | } |
---|
| 414 | finally { |
---|
| 415 | } |
---|
| 416 | } |
---|
| 417 | // $ANTLR end "T__29" |
---|
| 418 | |
---|
| 419 | // $ANTLR start "T__30" |
---|
| 420 | public final void mT__30() throws RecognitionException { |
---|
| 421 | try { |
---|
| 422 | int _type = T__30; |
---|
| 423 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 424 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:28:7: ( '}' ) |
---|
| 425 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:28:9: '}' |
---|
| 426 | { |
---|
| 427 | match('}'); |
---|
| 428 | |
---|
| 429 | } |
---|
| 430 | |
---|
| 431 | state.type = _type; |
---|
| 432 | state.channel = _channel; |
---|
| 433 | } |
---|
| 434 | finally { |
---|
| 435 | } |
---|
| 436 | } |
---|
| 437 | // $ANTLR end "T__30" |
---|
| 438 | |
---|
| 439 | // $ANTLR start "T__31" |
---|
| 440 | public final void mT__31() throws RecognitionException { |
---|
| 441 | try { |
---|
| 442 | int _type = T__31; |
---|
| 443 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 444 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:29:7: ( '|' ) |
---|
| 445 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:29:9: '|' |
---|
| 446 | { |
---|
| 447 | match('|'); |
---|
| 448 | |
---|
| 449 | } |
---|
| 450 | |
---|
| 451 | state.type = _type; |
---|
| 452 | state.channel = _channel; |
---|
| 453 | } |
---|
| 454 | finally { |
---|
| 455 | } |
---|
| 456 | } |
---|
| 457 | // $ANTLR end "T__31" |
---|
| 458 | |
---|
| 459 | // $ANTLR start "T__32" |
---|
| 460 | public final void mT__32() throws RecognitionException { |
---|
| 461 | try { |
---|
| 462 | int _type = T__32; |
---|
| 463 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 464 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:30:7: ( '[' ) |
---|
| 465 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:30:9: '[' |
---|
| 466 | { |
---|
| 467 | match('['); |
---|
| 468 | |
---|
| 469 | } |
---|
| 470 | |
---|
| 471 | state.type = _type; |
---|
| 472 | state.channel = _channel; |
---|
| 473 | } |
---|
| 474 | finally { |
---|
| 475 | } |
---|
| 476 | } |
---|
| 477 | // $ANTLR end "T__32" |
---|
| 478 | |
---|
| 479 | // $ANTLR start "T__33" |
---|
| 480 | public final void mT__33() throws RecognitionException { |
---|
| 481 | try { |
---|
| 482 | int _type = T__33; |
---|
| 483 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 484 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:31:7: ( '{' ) |
---|
| 485 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:31:9: '{' |
---|
| 486 | { |
---|
| 487 | match('{'); |
---|
| 488 | |
---|
| 489 | } |
---|
| 490 | |
---|
| 491 | state.type = _type; |
---|
| 492 | state.channel = _channel; |
---|
| 493 | } |
---|
| 494 | finally { |
---|
| 495 | } |
---|
| 496 | } |
---|
| 497 | // $ANTLR end "T__33" |
---|
| 498 | |
---|
| 499 | // $ANTLR start "T__34" |
---|
| 500 | public final void mT__34() throws RecognitionException { |
---|
| 501 | try { |
---|
| 502 | int _type = T__34; |
---|
| 503 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 504 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:32:7: ( '*' ) |
---|
| 505 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:32:9: '*' |
---|
| 506 | { |
---|
| 507 | match('*'); |
---|
| 508 | |
---|
| 509 | } |
---|
| 510 | |
---|
| 511 | state.type = _type; |
---|
| 512 | state.channel = _channel; |
---|
| 513 | } |
---|
| 514 | finally { |
---|
| 515 | } |
---|
| 516 | } |
---|
| 517 | // $ANTLR end "T__34" |
---|
| 518 | |
---|
| 519 | // $ANTLR start "T__35" |
---|
| 520 | public final void mT__35() throws RecognitionException { |
---|
| 521 | try { |
---|
| 522 | int _type = T__35; |
---|
| 523 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 524 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:33:7: ( '+' ) |
---|
| 525 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:33:9: '+' |
---|
| 526 | { |
---|
| 527 | match('+'); |
---|
| 528 | |
---|
| 529 | } |
---|
| 530 | |
---|
| 531 | state.type = _type; |
---|
| 532 | state.channel = _channel; |
---|
| 533 | } |
---|
| 534 | finally { |
---|
| 535 | } |
---|
| 536 | } |
---|
| 537 | // $ANTLR end "T__35" |
---|
| 538 | |
---|
| 539 | // $ANTLR start "T__36" |
---|
| 540 | public final void mT__36() throws RecognitionException { |
---|
| 541 | try { |
---|
| 542 | int _type = T__36; |
---|
| 543 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 544 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:34:7: ( 'global' ) |
---|
| 545 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:34:9: 'global' |
---|
| 546 | { |
---|
| 547 | match("global"); |
---|
| 548 | |
---|
| 549 | |
---|
| 550 | } |
---|
| 551 | |
---|
| 552 | state.type = _type; |
---|
| 553 | state.channel = _channel; |
---|
| 554 | } |
---|
| 555 | finally { |
---|
| 556 | } |
---|
| 557 | } |
---|
| 558 | // $ANTLR end "T__36" |
---|
| 559 | |
---|
| 560 | // $ANTLR start "T__37" |
---|
| 561 | public final void mT__37() throws RecognitionException { |
---|
| 562 | try { |
---|
| 563 | int _type = T__37; |
---|
| 564 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 565 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:35:7: ( 'combinator:' ) |
---|
| 566 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:35:9: 'combinator:' |
---|
| 567 | { |
---|
| 568 | match("combinator:"); |
---|
| 569 | |
---|
| 570 | |
---|
| 571 | } |
---|
| 572 | |
---|
| 573 | state.type = _type; |
---|
| 574 | state.channel = _channel; |
---|
| 575 | } |
---|
| 576 | finally { |
---|
| 577 | } |
---|
| 578 | } |
---|
| 579 | // $ANTLR end "T__37" |
---|
| 580 | |
---|
| 581 | // $ANTLR start "T__38" |
---|
| 582 | public final void mT__38() throws RecognitionException { |
---|
| 583 | try { |
---|
| 584 | int _type = T__38; |
---|
| 585 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 586 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:36:7: ( 'rule' ) |
---|
| 587 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:36:9: 'rule' |
---|
| 588 | { |
---|
| 589 | match("rule"); |
---|
| 590 | |
---|
| 591 | |
---|
| 592 | } |
---|
| 593 | |
---|
| 594 | state.type = _type; |
---|
| 595 | state.channel = _channel; |
---|
| 596 | } |
---|
| 597 | finally { |
---|
| 598 | } |
---|
| 599 | } |
---|
| 600 | // $ANTLR end "T__38" |
---|
| 601 | |
---|
| 602 | // $ANTLR start "T__39" |
---|
| 603 | public final void mT__39() throws RecognitionException { |
---|
| 604 | try { |
---|
| 605 | int _type = T__39; |
---|
| 606 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 607 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:37:7: ( 'hook' ) |
---|
| 608 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:37:9: 'hook' |
---|
| 609 | { |
---|
| 610 | match("hook"); |
---|
| 611 | |
---|
| 612 | |
---|
| 613 | } |
---|
| 614 | |
---|
| 615 | state.type = _type; |
---|
| 616 | state.channel = _channel; |
---|
| 617 | } |
---|
| 618 | finally { |
---|
| 619 | } |
---|
| 620 | } |
---|
| 621 | // $ANTLR end "T__39" |
---|
| 622 | |
---|
[95] | 623 | // $ANTLR start "T__40" |
---|
| 624 | public final void mT__40() throws RecognitionException { |
---|
| 625 | try { |
---|
| 626 | int _type = T__40; |
---|
| 627 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 628 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:38:7: ( '#' ) |
---|
| 629 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:38:9: '#' |
---|
| 630 | { |
---|
| 631 | match('#'); |
---|
| 632 | |
---|
| 633 | } |
---|
| 634 | |
---|
| 635 | state.type = _type; |
---|
| 636 | state.channel = _channel; |
---|
| 637 | } |
---|
| 638 | finally { |
---|
| 639 | } |
---|
| 640 | } |
---|
| 641 | // $ANTLR end "T__40" |
---|
| 642 | |
---|
| 643 | // $ANTLR start "T__41" |
---|
| 644 | public final void mT__41() throws RecognitionException { |
---|
| 645 | try { |
---|
| 646 | int _type = T__41; |
---|
| 647 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
| 648 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:39:7: ( ',' ) |
---|
| 649 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:39:9: ',' |
---|
| 650 | { |
---|
| 651 | match(','); |
---|
| 652 | |
---|
| 653 | } |
---|
| 654 | |
---|
| 655 | state.type = _type; |
---|
| 656 | state.channel = _channel; |
---|
| 657 | } |
---|
| 658 | finally { |
---|
| 659 | } |
---|
| 660 | } |
---|
| 661 | // $ANTLR end "T__41" |
---|
| 662 | |
---|
[88] | 663 | // $ANTLR start "RULE_ID" |
---|
| 664 | public final void mRULE_ID() throws RecognitionException { |
---|
| 665 | try { |
---|
| 666 | int _type = RULE_ID; |
---|
| 667 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 668 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1954:9: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* ) |
---|
| 669 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1954:11: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* |
---|
[88] | 670 | { |
---|
| 671 | if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
---|
| 672 | input.consume(); |
---|
| 673 | |
---|
| 674 | } |
---|
| 675 | else { |
---|
| 676 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 677 | recover(mse); |
---|
| 678 | throw mse;} |
---|
| 679 | |
---|
[100] | 680 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1954:35: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* |
---|
[88] | 681 | loop1: |
---|
| 682 | do { |
---|
| 683 | int alt1=2; |
---|
| 684 | int LA1_0 = input.LA(1); |
---|
| 685 | |
---|
| 686 | if ( ((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z')) ) { |
---|
| 687 | alt1=1; |
---|
| 688 | } |
---|
| 689 | |
---|
| 690 | |
---|
| 691 | switch (alt1) { |
---|
| 692 | case 1 : |
---|
| 693 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g: |
---|
| 694 | { |
---|
| 695 | if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
---|
| 696 | input.consume(); |
---|
| 697 | |
---|
| 698 | } |
---|
| 699 | else { |
---|
| 700 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 701 | recover(mse); |
---|
| 702 | throw mse;} |
---|
| 703 | |
---|
| 704 | |
---|
| 705 | } |
---|
| 706 | break; |
---|
| 707 | |
---|
| 708 | default : |
---|
| 709 | break loop1; |
---|
| 710 | } |
---|
| 711 | } while (true); |
---|
| 712 | |
---|
| 713 | |
---|
| 714 | } |
---|
| 715 | |
---|
| 716 | state.type = _type; |
---|
| 717 | state.channel = _channel; |
---|
| 718 | } |
---|
| 719 | finally { |
---|
| 720 | } |
---|
| 721 | } |
---|
| 722 | // $ANTLR end "RULE_ID" |
---|
| 723 | |
---|
| 724 | // $ANTLR start "RULE_INT" |
---|
| 725 | public final void mRULE_INT() throws RecognitionException { |
---|
| 726 | try { |
---|
| 727 | int _type = RULE_INT; |
---|
| 728 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 729 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1956:10: ( ( '0' .. '9' )+ ) |
---|
| 730 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1956:12: ( '0' .. '9' )+ |
---|
[88] | 731 | { |
---|
[100] | 732 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1956:12: ( '0' .. '9' )+ |
---|
[88] | 733 | int cnt2=0; |
---|
| 734 | loop2: |
---|
| 735 | do { |
---|
| 736 | int alt2=2; |
---|
| 737 | int LA2_0 = input.LA(1); |
---|
| 738 | |
---|
| 739 | if ( ((LA2_0>='0' && LA2_0<='9')) ) { |
---|
| 740 | alt2=1; |
---|
| 741 | } |
---|
| 742 | |
---|
| 743 | |
---|
| 744 | switch (alt2) { |
---|
| 745 | case 1 : |
---|
[100] | 746 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1956:13: '0' .. '9' |
---|
[88] | 747 | { |
---|
| 748 | matchRange('0','9'); |
---|
| 749 | |
---|
| 750 | } |
---|
| 751 | break; |
---|
| 752 | |
---|
| 753 | default : |
---|
| 754 | if ( cnt2 >= 1 ) break loop2; |
---|
| 755 | EarlyExitException eee = |
---|
| 756 | new EarlyExitException(2, input); |
---|
| 757 | throw eee; |
---|
| 758 | } |
---|
| 759 | cnt2++; |
---|
| 760 | } while (true); |
---|
| 761 | |
---|
| 762 | |
---|
| 763 | } |
---|
| 764 | |
---|
| 765 | state.type = _type; |
---|
| 766 | state.channel = _channel; |
---|
| 767 | } |
---|
| 768 | finally { |
---|
| 769 | } |
---|
| 770 | } |
---|
| 771 | // $ANTLR end "RULE_INT" |
---|
| 772 | |
---|
| 773 | // $ANTLR start "RULE_WS" |
---|
| 774 | public final void mRULE_WS() throws RecognitionException { |
---|
| 775 | try { |
---|
| 776 | int _type = RULE_WS; |
---|
| 777 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 778 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1958:9: ( ( ' ' | '\\t' | ( '\\r' )? '\\n' )+ ) |
---|
| 779 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1958:11: ( ' ' | '\\t' | ( '\\r' )? '\\n' )+ |
---|
[88] | 780 | { |
---|
[100] | 781 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1958:11: ( ' ' | '\\t' | ( '\\r' )? '\\n' )+ |
---|
[88] | 782 | int cnt4=0; |
---|
| 783 | loop4: |
---|
| 784 | do { |
---|
| 785 | int alt4=4; |
---|
| 786 | switch ( input.LA(1) ) { |
---|
| 787 | case ' ': |
---|
| 788 | { |
---|
| 789 | alt4=1; |
---|
| 790 | } |
---|
| 791 | break; |
---|
| 792 | case '\t': |
---|
| 793 | { |
---|
| 794 | alt4=2; |
---|
| 795 | } |
---|
| 796 | break; |
---|
| 797 | case '\n': |
---|
| 798 | case '\r': |
---|
| 799 | { |
---|
| 800 | alt4=3; |
---|
| 801 | } |
---|
| 802 | break; |
---|
| 803 | |
---|
| 804 | } |
---|
| 805 | |
---|
| 806 | switch (alt4) { |
---|
| 807 | case 1 : |
---|
[100] | 808 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1958:12: ' ' |
---|
[88] | 809 | { |
---|
| 810 | match(' '); |
---|
| 811 | |
---|
| 812 | } |
---|
| 813 | break; |
---|
| 814 | case 2 : |
---|
[100] | 815 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1958:16: '\\t' |
---|
[88] | 816 | { |
---|
| 817 | match('\t'); |
---|
| 818 | |
---|
| 819 | } |
---|
| 820 | break; |
---|
| 821 | case 3 : |
---|
[100] | 822 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1958:21: ( '\\r' )? '\\n' |
---|
[88] | 823 | { |
---|
[100] | 824 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1958:21: ( '\\r' )? |
---|
[88] | 825 | int alt3=2; |
---|
| 826 | int LA3_0 = input.LA(1); |
---|
| 827 | |
---|
| 828 | if ( (LA3_0=='\r') ) { |
---|
| 829 | alt3=1; |
---|
| 830 | } |
---|
| 831 | switch (alt3) { |
---|
| 832 | case 1 : |
---|
[100] | 833 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1958:21: '\\r' |
---|
[88] | 834 | { |
---|
| 835 | match('\r'); |
---|
| 836 | |
---|
| 837 | } |
---|
| 838 | break; |
---|
| 839 | |
---|
| 840 | } |
---|
| 841 | |
---|
| 842 | match('\n'); |
---|
| 843 | |
---|
| 844 | } |
---|
| 845 | break; |
---|
| 846 | |
---|
| 847 | default : |
---|
| 848 | if ( cnt4 >= 1 ) break loop4; |
---|
| 849 | EarlyExitException eee = |
---|
| 850 | new EarlyExitException(4, input); |
---|
| 851 | throw eee; |
---|
| 852 | } |
---|
| 853 | cnt4++; |
---|
| 854 | } while (true); |
---|
| 855 | |
---|
| 856 | |
---|
| 857 | } |
---|
| 858 | |
---|
| 859 | state.type = _type; |
---|
| 860 | state.channel = _channel; |
---|
| 861 | } |
---|
| 862 | finally { |
---|
| 863 | } |
---|
| 864 | } |
---|
| 865 | // $ANTLR end "RULE_WS" |
---|
| 866 | |
---|
| 867 | // $ANTLR start "RULE_COLON" |
---|
| 868 | public final void mRULE_COLON() throws RecognitionException { |
---|
| 869 | try { |
---|
| 870 | int _type = RULE_COLON; |
---|
| 871 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 872 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1960:12: ( '\"' '\"' '\"' ) |
---|
| 873 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1960:14: '\"' '\"' '\"' |
---|
[88] | 874 | { |
---|
| 875 | match('\"'); |
---|
| 876 | match('\"'); |
---|
| 877 | match('\"'); |
---|
| 878 | |
---|
| 879 | } |
---|
| 880 | |
---|
| 881 | state.type = _type; |
---|
| 882 | state.channel = _channel; |
---|
| 883 | } |
---|
| 884 | finally { |
---|
| 885 | } |
---|
| 886 | } |
---|
| 887 | // $ANTLR end "RULE_COLON" |
---|
| 888 | |
---|
| 889 | // $ANTLR start "RULE_STRING" |
---|
| 890 | public final void mRULE_STRING() throws RecognitionException { |
---|
| 891 | try { |
---|
| 892 | int _type = RULE_STRING; |
---|
| 893 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 894 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:13: ( ( '\"' (~ ( '\"' ) )* '\"' | '\\'' (~ ( '\\'' ) )* '\\'' ) ) |
---|
| 895 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:15: ( '\"' (~ ( '\"' ) )* '\"' | '\\'' (~ ( '\\'' ) )* '\\'' ) |
---|
[88] | 896 | { |
---|
[100] | 897 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:15: ( '\"' (~ ( '\"' ) )* '\"' | '\\'' (~ ( '\\'' ) )* '\\'' ) |
---|
[88] | 898 | int alt7=2; |
---|
| 899 | int LA7_0 = input.LA(1); |
---|
| 900 | |
---|
| 901 | if ( (LA7_0=='\"') ) { |
---|
| 902 | alt7=1; |
---|
| 903 | } |
---|
| 904 | else if ( (LA7_0=='\'') ) { |
---|
| 905 | alt7=2; |
---|
| 906 | } |
---|
| 907 | else { |
---|
| 908 | NoViableAltException nvae = |
---|
| 909 | new NoViableAltException("", 7, 0, input); |
---|
| 910 | |
---|
| 911 | throw nvae; |
---|
| 912 | } |
---|
| 913 | switch (alt7) { |
---|
| 914 | case 1 : |
---|
[100] | 915 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:16: '\"' (~ ( '\"' ) )* '\"' |
---|
[88] | 916 | { |
---|
| 917 | match('\"'); |
---|
[100] | 918 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:20: (~ ( '\"' ) )* |
---|
[88] | 919 | loop5: |
---|
| 920 | do { |
---|
| 921 | int alt5=2; |
---|
| 922 | int LA5_0 = input.LA(1); |
---|
| 923 | |
---|
| 924 | if ( ((LA5_0>='\u0000' && LA5_0<='!')||(LA5_0>='#' && LA5_0<='\uFFFF')) ) { |
---|
| 925 | alt5=1; |
---|
| 926 | } |
---|
| 927 | |
---|
| 928 | |
---|
| 929 | switch (alt5) { |
---|
| 930 | case 1 : |
---|
[100] | 931 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:20: ~ ( '\"' ) |
---|
[88] | 932 | { |
---|
| 933 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='\uFFFF') ) { |
---|
| 934 | input.consume(); |
---|
| 935 | |
---|
| 936 | } |
---|
| 937 | else { |
---|
| 938 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 939 | recover(mse); |
---|
| 940 | throw mse;} |
---|
| 941 | |
---|
| 942 | |
---|
| 943 | } |
---|
| 944 | break; |
---|
| 945 | |
---|
| 946 | default : |
---|
| 947 | break loop5; |
---|
| 948 | } |
---|
| 949 | } while (true); |
---|
| 950 | |
---|
| 951 | match('\"'); |
---|
| 952 | |
---|
| 953 | } |
---|
| 954 | break; |
---|
| 955 | case 2 : |
---|
[100] | 956 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:32: '\\'' (~ ( '\\'' ) )* '\\'' |
---|
[88] | 957 | { |
---|
| 958 | match('\''); |
---|
[100] | 959 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:37: (~ ( '\\'' ) )* |
---|
[88] | 960 | loop6: |
---|
| 961 | do { |
---|
| 962 | int alt6=2; |
---|
| 963 | int LA6_0 = input.LA(1); |
---|
| 964 | |
---|
| 965 | if ( ((LA6_0>='\u0000' && LA6_0<='&')||(LA6_0>='(' && LA6_0<='\uFFFF')) ) { |
---|
| 966 | alt6=1; |
---|
| 967 | } |
---|
| 968 | |
---|
| 969 | |
---|
| 970 | switch (alt6) { |
---|
| 971 | case 1 : |
---|
[100] | 972 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1962:37: ~ ( '\\'' ) |
---|
[88] | 973 | { |
---|
| 974 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='\uFFFF') ) { |
---|
| 975 | input.consume(); |
---|
| 976 | |
---|
| 977 | } |
---|
| 978 | else { |
---|
| 979 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 980 | recover(mse); |
---|
| 981 | throw mse;} |
---|
| 982 | |
---|
| 983 | |
---|
| 984 | } |
---|
| 985 | break; |
---|
| 986 | |
---|
| 987 | default : |
---|
| 988 | break loop6; |
---|
| 989 | } |
---|
| 990 | } while (true); |
---|
| 991 | |
---|
| 992 | match('\''); |
---|
| 993 | |
---|
| 994 | } |
---|
| 995 | break; |
---|
| 996 | |
---|
| 997 | } |
---|
| 998 | |
---|
| 999 | |
---|
| 1000 | } |
---|
| 1001 | |
---|
| 1002 | state.type = _type; |
---|
| 1003 | state.channel = _channel; |
---|
| 1004 | } |
---|
| 1005 | finally { |
---|
| 1006 | } |
---|
| 1007 | } |
---|
| 1008 | // $ANTLR end "RULE_STRING" |
---|
| 1009 | |
---|
| 1010 | // $ANTLR start "RULE_SECTIONHEADER" |
---|
| 1011 | public final void mRULE_SECTIONHEADER() throws RecognitionException { |
---|
| 1012 | try { |
---|
| 1013 | int _type = RULE_SECTIONHEADER; |
---|
| 1014 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 1015 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1964:20: ( ( 'a' .. 'z' | 'A' .. 'Z' ) ( '.' | '0' .. '9' )+ ( ' ' | '\\t' ) (~ ( ( '\\n' | '\\r' ) ) )* ( '\\r' )? '\\n' ) |
---|
| 1016 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1964:22: ( 'a' .. 'z' | 'A' .. 'Z' ) ( '.' | '0' .. '9' )+ ( ' ' | '\\t' ) (~ ( ( '\\n' | '\\r' ) ) )* ( '\\r' )? '\\n' |
---|
[88] | 1017 | { |
---|
| 1018 | if ( (input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
---|
| 1019 | input.consume(); |
---|
| 1020 | |
---|
| 1021 | } |
---|
| 1022 | else { |
---|
| 1023 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 1024 | recover(mse); |
---|
| 1025 | throw mse;} |
---|
| 1026 | |
---|
[100] | 1027 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1964:42: ( '.' | '0' .. '9' )+ |
---|
[88] | 1028 | int cnt8=0; |
---|
| 1029 | loop8: |
---|
| 1030 | do { |
---|
| 1031 | int alt8=2; |
---|
| 1032 | int LA8_0 = input.LA(1); |
---|
| 1033 | |
---|
| 1034 | if ( (LA8_0=='.'||(LA8_0>='0' && LA8_0<='9')) ) { |
---|
| 1035 | alt8=1; |
---|
| 1036 | } |
---|
| 1037 | |
---|
| 1038 | |
---|
| 1039 | switch (alt8) { |
---|
| 1040 | case 1 : |
---|
| 1041 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g: |
---|
| 1042 | { |
---|
| 1043 | if ( input.LA(1)=='.'||(input.LA(1)>='0' && input.LA(1)<='9') ) { |
---|
| 1044 | input.consume(); |
---|
| 1045 | |
---|
| 1046 | } |
---|
| 1047 | else { |
---|
| 1048 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 1049 | recover(mse); |
---|
| 1050 | throw mse;} |
---|
| 1051 | |
---|
| 1052 | |
---|
| 1053 | } |
---|
| 1054 | break; |
---|
| 1055 | |
---|
| 1056 | default : |
---|
| 1057 | if ( cnt8 >= 1 ) break loop8; |
---|
| 1058 | EarlyExitException eee = |
---|
| 1059 | new EarlyExitException(8, input); |
---|
| 1060 | throw eee; |
---|
| 1061 | } |
---|
| 1062 | cnt8++; |
---|
| 1063 | } while (true); |
---|
| 1064 | |
---|
| 1065 | if ( input.LA(1)=='\t'||input.LA(1)==' ' ) { |
---|
| 1066 | input.consume(); |
---|
| 1067 | |
---|
| 1068 | } |
---|
| 1069 | else { |
---|
| 1070 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 1071 | recover(mse); |
---|
| 1072 | throw mse;} |
---|
| 1073 | |
---|
[100] | 1074 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1964:69: (~ ( ( '\\n' | '\\r' ) ) )* |
---|
[88] | 1075 | loop9: |
---|
| 1076 | do { |
---|
| 1077 | int alt9=2; |
---|
| 1078 | int LA9_0 = input.LA(1); |
---|
| 1079 | |
---|
| 1080 | if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\uFFFF')) ) { |
---|
| 1081 | alt9=1; |
---|
| 1082 | } |
---|
| 1083 | |
---|
| 1084 | |
---|
| 1085 | switch (alt9) { |
---|
| 1086 | case 1 : |
---|
[100] | 1087 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1964:69: ~ ( ( '\\n' | '\\r' ) ) |
---|
[88] | 1088 | { |
---|
| 1089 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
---|
| 1090 | input.consume(); |
---|
| 1091 | |
---|
| 1092 | } |
---|
| 1093 | else { |
---|
| 1094 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 1095 | recover(mse); |
---|
| 1096 | throw mse;} |
---|
| 1097 | |
---|
| 1098 | |
---|
| 1099 | } |
---|
| 1100 | break; |
---|
| 1101 | |
---|
| 1102 | default : |
---|
| 1103 | break loop9; |
---|
| 1104 | } |
---|
| 1105 | } while (true); |
---|
| 1106 | |
---|
[100] | 1107 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1964:85: ( '\\r' )? |
---|
[88] | 1108 | int alt10=2; |
---|
| 1109 | int LA10_0 = input.LA(1); |
---|
| 1110 | |
---|
| 1111 | if ( (LA10_0=='\r') ) { |
---|
| 1112 | alt10=1; |
---|
| 1113 | } |
---|
| 1114 | switch (alt10) { |
---|
| 1115 | case 1 : |
---|
[100] | 1116 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1964:85: '\\r' |
---|
[88] | 1117 | { |
---|
| 1118 | match('\r'); |
---|
| 1119 | |
---|
| 1120 | } |
---|
| 1121 | break; |
---|
| 1122 | |
---|
| 1123 | } |
---|
| 1124 | |
---|
| 1125 | match('\n'); |
---|
| 1126 | |
---|
| 1127 | } |
---|
| 1128 | |
---|
| 1129 | state.type = _type; |
---|
| 1130 | state.channel = _channel; |
---|
| 1131 | } |
---|
| 1132 | finally { |
---|
| 1133 | } |
---|
| 1134 | } |
---|
| 1135 | // $ANTLR end "RULE_SECTIONHEADER" |
---|
| 1136 | |
---|
| 1137 | // $ANTLR start "RULE_SL_COMMENT" |
---|
| 1138 | public final void mRULE_SL_COMMENT() throws RecognitionException { |
---|
| 1139 | try { |
---|
| 1140 | int _type = RULE_SL_COMMENT; |
---|
| 1141 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 1142 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1966:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
---|
| 1143 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1966:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
---|
[88] | 1144 | { |
---|
| 1145 | match("//"); |
---|
| 1146 | |
---|
[100] | 1147 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1966:24: (~ ( ( '\\n' | '\\r' ) ) )* |
---|
[88] | 1148 | loop11: |
---|
| 1149 | do { |
---|
| 1150 | int alt11=2; |
---|
| 1151 | int LA11_0 = input.LA(1); |
---|
| 1152 | |
---|
| 1153 | if ( ((LA11_0>='\u0000' && LA11_0<='\t')||(LA11_0>='\u000B' && LA11_0<='\f')||(LA11_0>='\u000E' && LA11_0<='\uFFFF')) ) { |
---|
| 1154 | alt11=1; |
---|
| 1155 | } |
---|
| 1156 | |
---|
| 1157 | |
---|
| 1158 | switch (alt11) { |
---|
| 1159 | case 1 : |
---|
[100] | 1160 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1966:24: ~ ( ( '\\n' | '\\r' ) ) |
---|
[88] | 1161 | { |
---|
| 1162 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
---|
| 1163 | input.consume(); |
---|
| 1164 | |
---|
| 1165 | } |
---|
| 1166 | else { |
---|
| 1167 | MismatchedSetException mse = new MismatchedSetException(null,input); |
---|
| 1168 | recover(mse); |
---|
| 1169 | throw mse;} |
---|
| 1170 | |
---|
| 1171 | |
---|
| 1172 | } |
---|
| 1173 | break; |
---|
| 1174 | |
---|
| 1175 | default : |
---|
| 1176 | break loop11; |
---|
| 1177 | } |
---|
| 1178 | } while (true); |
---|
| 1179 | |
---|
[100] | 1180 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1966:40: ( ( '\\r' )? '\\n' )? |
---|
[88] | 1181 | int alt13=2; |
---|
| 1182 | int LA13_0 = input.LA(1); |
---|
| 1183 | |
---|
| 1184 | if ( (LA13_0=='\n'||LA13_0=='\r') ) { |
---|
| 1185 | alt13=1; |
---|
| 1186 | } |
---|
| 1187 | switch (alt13) { |
---|
| 1188 | case 1 : |
---|
[100] | 1189 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1966:41: ( '\\r' )? '\\n' |
---|
[88] | 1190 | { |
---|
[100] | 1191 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1966:41: ( '\\r' )? |
---|
[88] | 1192 | int alt12=2; |
---|
| 1193 | int LA12_0 = input.LA(1); |
---|
| 1194 | |
---|
| 1195 | if ( (LA12_0=='\r') ) { |
---|
| 1196 | alt12=1; |
---|
| 1197 | } |
---|
| 1198 | switch (alt12) { |
---|
| 1199 | case 1 : |
---|
[100] | 1200 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1966:41: '\\r' |
---|
[88] | 1201 | { |
---|
| 1202 | match('\r'); |
---|
| 1203 | |
---|
| 1204 | } |
---|
| 1205 | break; |
---|
| 1206 | |
---|
| 1207 | } |
---|
| 1208 | |
---|
| 1209 | match('\n'); |
---|
| 1210 | |
---|
| 1211 | } |
---|
| 1212 | break; |
---|
| 1213 | |
---|
| 1214 | } |
---|
| 1215 | |
---|
| 1216 | |
---|
| 1217 | } |
---|
| 1218 | |
---|
| 1219 | state.type = _type; |
---|
| 1220 | state.channel = _channel; |
---|
| 1221 | } |
---|
| 1222 | finally { |
---|
| 1223 | } |
---|
| 1224 | } |
---|
| 1225 | // $ANTLR end "RULE_SL_COMMENT" |
---|
| 1226 | |
---|
| 1227 | // $ANTLR start "RULE_ML_COMMENT" |
---|
| 1228 | public final void mRULE_ML_COMMENT() throws RecognitionException { |
---|
| 1229 | try { |
---|
| 1230 | int _type = RULE_ML_COMMENT; |
---|
| 1231 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 1232 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1968:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
---|
| 1233 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1968:19: '/*' ( options {greedy=false; } : . )* '*/' |
---|
[88] | 1234 | { |
---|
| 1235 | match("/*"); |
---|
| 1236 | |
---|
[100] | 1237 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1968:24: ( options {greedy=false; } : . )* |
---|
[88] | 1238 | loop14: |
---|
| 1239 | do { |
---|
| 1240 | int alt14=2; |
---|
| 1241 | int LA14_0 = input.LA(1); |
---|
| 1242 | |
---|
| 1243 | if ( (LA14_0=='*') ) { |
---|
| 1244 | int LA14_1 = input.LA(2); |
---|
| 1245 | |
---|
| 1246 | if ( (LA14_1=='/') ) { |
---|
| 1247 | alt14=2; |
---|
| 1248 | } |
---|
| 1249 | else if ( ((LA14_1>='\u0000' && LA14_1<='.')||(LA14_1>='0' && LA14_1<='\uFFFF')) ) { |
---|
| 1250 | alt14=1; |
---|
| 1251 | } |
---|
| 1252 | |
---|
| 1253 | |
---|
| 1254 | } |
---|
| 1255 | else if ( ((LA14_0>='\u0000' && LA14_0<=')')||(LA14_0>='+' && LA14_0<='\uFFFF')) ) { |
---|
| 1256 | alt14=1; |
---|
| 1257 | } |
---|
| 1258 | |
---|
| 1259 | |
---|
| 1260 | switch (alt14) { |
---|
| 1261 | case 1 : |
---|
[100] | 1262 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1968:52: . |
---|
[88] | 1263 | { |
---|
| 1264 | matchAny(); |
---|
| 1265 | |
---|
| 1266 | } |
---|
| 1267 | break; |
---|
| 1268 | |
---|
| 1269 | default : |
---|
| 1270 | break loop14; |
---|
| 1271 | } |
---|
| 1272 | } while (true); |
---|
| 1273 | |
---|
| 1274 | match("*/"); |
---|
| 1275 | |
---|
| 1276 | |
---|
| 1277 | } |
---|
| 1278 | |
---|
| 1279 | state.type = _type; |
---|
| 1280 | state.channel = _channel; |
---|
| 1281 | } |
---|
| 1282 | finally { |
---|
| 1283 | } |
---|
| 1284 | } |
---|
| 1285 | // $ANTLR end "RULE_ML_COMMENT" |
---|
| 1286 | |
---|
| 1287 | // $ANTLR start "RULE_LOGIC" |
---|
| 1288 | public final void mRULE_LOGIC() throws RecognitionException { |
---|
| 1289 | try { |
---|
| 1290 | int _type = RULE_LOGIC; |
---|
| 1291 | int _channel = DEFAULT_TOKEN_CHANNEL; |
---|
[100] | 1292 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:12: ( ( '/and' | '/or' | '/andr' | '/orr' | '/any' | '/together' ) ) |
---|
| 1293 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:14: ( '/and' | '/or' | '/andr' | '/orr' | '/any' | '/together' ) |
---|
[88] | 1294 | { |
---|
[100] | 1295 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:14: ( '/and' | '/or' | '/andr' | '/orr' | '/any' | '/together' ) |
---|
[88] | 1296 | int alt15=6; |
---|
| 1297 | alt15 = dfa15.predict(input); |
---|
| 1298 | switch (alt15) { |
---|
| 1299 | case 1 : |
---|
[100] | 1300 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:15: '/and' |
---|
[88] | 1301 | { |
---|
| 1302 | match("/and"); |
---|
| 1303 | |
---|
| 1304 | |
---|
| 1305 | } |
---|
| 1306 | break; |
---|
| 1307 | case 2 : |
---|
[100] | 1308 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:22: '/or' |
---|
[88] | 1309 | { |
---|
| 1310 | match("/or"); |
---|
| 1311 | |
---|
| 1312 | |
---|
| 1313 | } |
---|
| 1314 | break; |
---|
| 1315 | case 3 : |
---|
[100] | 1316 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:28: '/andr' |
---|
[88] | 1317 | { |
---|
| 1318 | match("/andr"); |
---|
| 1319 | |
---|
| 1320 | |
---|
| 1321 | } |
---|
| 1322 | break; |
---|
| 1323 | case 4 : |
---|
[100] | 1324 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:36: '/orr' |
---|
[88] | 1325 | { |
---|
| 1326 | match("/orr"); |
---|
| 1327 | |
---|
| 1328 | |
---|
| 1329 | } |
---|
| 1330 | break; |
---|
| 1331 | case 5 : |
---|
[100] | 1332 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:43: '/any' |
---|
[88] | 1333 | { |
---|
| 1334 | match("/any"); |
---|
| 1335 | |
---|
| 1336 | |
---|
| 1337 | } |
---|
| 1338 | break; |
---|
| 1339 | case 6 : |
---|
[100] | 1340 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1970:50: '/together' |
---|
[88] | 1341 | { |
---|
| 1342 | match("/together"); |
---|
| 1343 | |
---|
| 1344 | |
---|
| 1345 | } |
---|
| 1346 | break; |
---|
| 1347 | |
---|
| 1348 | } |
---|
| 1349 | |
---|
| 1350 | |
---|
| 1351 | } |
---|
| 1352 | |
---|
| 1353 | state.type = _type; |
---|
| 1354 | state.channel = _channel; |
---|
| 1355 | } |
---|
| 1356 | finally { |
---|
| 1357 | } |
---|
| 1358 | } |
---|
| 1359 | // $ANTLR end "RULE_LOGIC" |
---|
| 1360 | |
---|
| 1361 | public void mTokens() throws RecognitionException { |
---|
[95] | 1362 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | RULE_ID | RULE_INT | RULE_WS | RULE_COLON | RULE_STRING | RULE_SECTIONHEADER | RULE_SL_COMMENT | RULE_ML_COMMENT | RULE_LOGIC ) |
---|
| 1363 | int alt16=38; |
---|
[88] | 1364 | alt16 = dfa16.predict(input); |
---|
| 1365 | switch (alt16) { |
---|
| 1366 | case 1 : |
---|
| 1367 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:10: T__13 |
---|
| 1368 | { |
---|
| 1369 | mT__13(); |
---|
| 1370 | |
---|
| 1371 | } |
---|
| 1372 | break; |
---|
| 1373 | case 2 : |
---|
| 1374 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:16: T__14 |
---|
| 1375 | { |
---|
| 1376 | mT__14(); |
---|
| 1377 | |
---|
| 1378 | } |
---|
| 1379 | break; |
---|
| 1380 | case 3 : |
---|
| 1381 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:22: T__15 |
---|
| 1382 | { |
---|
| 1383 | mT__15(); |
---|
| 1384 | |
---|
| 1385 | } |
---|
| 1386 | break; |
---|
| 1387 | case 4 : |
---|
| 1388 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:28: T__16 |
---|
| 1389 | { |
---|
| 1390 | mT__16(); |
---|
| 1391 | |
---|
| 1392 | } |
---|
| 1393 | break; |
---|
| 1394 | case 5 : |
---|
| 1395 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:34: T__17 |
---|
| 1396 | { |
---|
| 1397 | mT__17(); |
---|
| 1398 | |
---|
| 1399 | } |
---|
| 1400 | break; |
---|
| 1401 | case 6 : |
---|
| 1402 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:40: T__18 |
---|
| 1403 | { |
---|
| 1404 | mT__18(); |
---|
| 1405 | |
---|
| 1406 | } |
---|
| 1407 | break; |
---|
| 1408 | case 7 : |
---|
| 1409 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:46: T__19 |
---|
| 1410 | { |
---|
| 1411 | mT__19(); |
---|
| 1412 | |
---|
| 1413 | } |
---|
| 1414 | break; |
---|
| 1415 | case 8 : |
---|
| 1416 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:52: T__20 |
---|
| 1417 | { |
---|
| 1418 | mT__20(); |
---|
| 1419 | |
---|
| 1420 | } |
---|
| 1421 | break; |
---|
| 1422 | case 9 : |
---|
| 1423 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:58: T__21 |
---|
| 1424 | { |
---|
| 1425 | mT__21(); |
---|
| 1426 | |
---|
| 1427 | } |
---|
| 1428 | break; |
---|
| 1429 | case 10 : |
---|
| 1430 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:64: T__22 |
---|
| 1431 | { |
---|
| 1432 | mT__22(); |
---|
| 1433 | |
---|
| 1434 | } |
---|
| 1435 | break; |
---|
| 1436 | case 11 : |
---|
| 1437 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:70: T__23 |
---|
| 1438 | { |
---|
| 1439 | mT__23(); |
---|
| 1440 | |
---|
| 1441 | } |
---|
| 1442 | break; |
---|
| 1443 | case 12 : |
---|
| 1444 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:76: T__24 |
---|
| 1445 | { |
---|
| 1446 | mT__24(); |
---|
| 1447 | |
---|
| 1448 | } |
---|
| 1449 | break; |
---|
| 1450 | case 13 : |
---|
| 1451 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:82: T__25 |
---|
| 1452 | { |
---|
| 1453 | mT__25(); |
---|
| 1454 | |
---|
| 1455 | } |
---|
| 1456 | break; |
---|
| 1457 | case 14 : |
---|
| 1458 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:88: T__26 |
---|
| 1459 | { |
---|
| 1460 | mT__26(); |
---|
| 1461 | |
---|
| 1462 | } |
---|
| 1463 | break; |
---|
| 1464 | case 15 : |
---|
| 1465 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:94: T__27 |
---|
| 1466 | { |
---|
| 1467 | mT__27(); |
---|
| 1468 | |
---|
| 1469 | } |
---|
| 1470 | break; |
---|
| 1471 | case 16 : |
---|
| 1472 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:100: T__28 |
---|
| 1473 | { |
---|
| 1474 | mT__28(); |
---|
| 1475 | |
---|
| 1476 | } |
---|
| 1477 | break; |
---|
| 1478 | case 17 : |
---|
| 1479 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:106: T__29 |
---|
| 1480 | { |
---|
| 1481 | mT__29(); |
---|
| 1482 | |
---|
| 1483 | } |
---|
| 1484 | break; |
---|
| 1485 | case 18 : |
---|
| 1486 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:112: T__30 |
---|
| 1487 | { |
---|
| 1488 | mT__30(); |
---|
| 1489 | |
---|
| 1490 | } |
---|
| 1491 | break; |
---|
| 1492 | case 19 : |
---|
| 1493 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:118: T__31 |
---|
| 1494 | { |
---|
| 1495 | mT__31(); |
---|
| 1496 | |
---|
| 1497 | } |
---|
| 1498 | break; |
---|
| 1499 | case 20 : |
---|
| 1500 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:124: T__32 |
---|
| 1501 | { |
---|
| 1502 | mT__32(); |
---|
| 1503 | |
---|
| 1504 | } |
---|
| 1505 | break; |
---|
| 1506 | case 21 : |
---|
| 1507 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:130: T__33 |
---|
| 1508 | { |
---|
| 1509 | mT__33(); |
---|
| 1510 | |
---|
| 1511 | } |
---|
| 1512 | break; |
---|
| 1513 | case 22 : |
---|
| 1514 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:136: T__34 |
---|
| 1515 | { |
---|
| 1516 | mT__34(); |
---|
| 1517 | |
---|
| 1518 | } |
---|
| 1519 | break; |
---|
| 1520 | case 23 : |
---|
| 1521 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:142: T__35 |
---|
| 1522 | { |
---|
| 1523 | mT__35(); |
---|
| 1524 | |
---|
| 1525 | } |
---|
| 1526 | break; |
---|
| 1527 | case 24 : |
---|
| 1528 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:148: T__36 |
---|
| 1529 | { |
---|
| 1530 | mT__36(); |
---|
| 1531 | |
---|
| 1532 | } |
---|
| 1533 | break; |
---|
| 1534 | case 25 : |
---|
| 1535 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:154: T__37 |
---|
| 1536 | { |
---|
| 1537 | mT__37(); |
---|
| 1538 | |
---|
| 1539 | } |
---|
| 1540 | break; |
---|
| 1541 | case 26 : |
---|
| 1542 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:160: T__38 |
---|
| 1543 | { |
---|
| 1544 | mT__38(); |
---|
| 1545 | |
---|
| 1546 | } |
---|
| 1547 | break; |
---|
| 1548 | case 27 : |
---|
| 1549 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:166: T__39 |
---|
| 1550 | { |
---|
| 1551 | mT__39(); |
---|
| 1552 | |
---|
| 1553 | } |
---|
| 1554 | break; |
---|
| 1555 | case 28 : |
---|
[95] | 1556 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:172: T__40 |
---|
[88] | 1557 | { |
---|
[95] | 1558 | mT__40(); |
---|
[88] | 1559 | |
---|
| 1560 | } |
---|
| 1561 | break; |
---|
| 1562 | case 29 : |
---|
[95] | 1563 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:178: T__41 |
---|
[88] | 1564 | { |
---|
[95] | 1565 | mT__41(); |
---|
[88] | 1566 | |
---|
| 1567 | } |
---|
| 1568 | break; |
---|
| 1569 | case 30 : |
---|
[95] | 1570 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:184: RULE_ID |
---|
[88] | 1571 | { |
---|
[95] | 1572 | mRULE_ID(); |
---|
[88] | 1573 | |
---|
| 1574 | } |
---|
| 1575 | break; |
---|
| 1576 | case 31 : |
---|
[95] | 1577 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:192: RULE_INT |
---|
[88] | 1578 | { |
---|
[95] | 1579 | mRULE_INT(); |
---|
[88] | 1580 | |
---|
| 1581 | } |
---|
| 1582 | break; |
---|
| 1583 | case 32 : |
---|
[95] | 1584 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:201: RULE_WS |
---|
[88] | 1585 | { |
---|
[95] | 1586 | mRULE_WS(); |
---|
[88] | 1587 | |
---|
| 1588 | } |
---|
| 1589 | break; |
---|
| 1590 | case 33 : |
---|
[95] | 1591 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:209: RULE_COLON |
---|
[88] | 1592 | { |
---|
[95] | 1593 | mRULE_COLON(); |
---|
[88] | 1594 | |
---|
| 1595 | } |
---|
| 1596 | break; |
---|
| 1597 | case 34 : |
---|
[95] | 1598 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:220: RULE_STRING |
---|
[88] | 1599 | { |
---|
[95] | 1600 | mRULE_STRING(); |
---|
[88] | 1601 | |
---|
| 1602 | } |
---|
| 1603 | break; |
---|
| 1604 | case 35 : |
---|
[95] | 1605 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:232: RULE_SECTIONHEADER |
---|
[88] | 1606 | { |
---|
[95] | 1607 | mRULE_SECTIONHEADER(); |
---|
[88] | 1608 | |
---|
| 1609 | } |
---|
| 1610 | break; |
---|
| 1611 | case 36 : |
---|
[95] | 1612 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:251: RULE_SL_COMMENT |
---|
[88] | 1613 | { |
---|
[95] | 1614 | mRULE_SL_COMMENT(); |
---|
| 1615 | |
---|
| 1616 | } |
---|
| 1617 | break; |
---|
| 1618 | case 37 : |
---|
| 1619 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:267: RULE_ML_COMMENT |
---|
| 1620 | { |
---|
| 1621 | mRULE_ML_COMMENT(); |
---|
| 1622 | |
---|
| 1623 | } |
---|
| 1624 | break; |
---|
| 1625 | case 38 : |
---|
| 1626 | // ../de.ugoe.cs.swe.bnftools.ebnf/src-gen/de/ugoe/cs/swe/bnftools/parser/antlr/internal/InternalEbnf.g:1:283: RULE_LOGIC |
---|
| 1627 | { |
---|
[88] | 1628 | mRULE_LOGIC(); |
---|
| 1629 | |
---|
| 1630 | } |
---|
| 1631 | break; |
---|
| 1632 | |
---|
| 1633 | } |
---|
| 1634 | |
---|
| 1635 | } |
---|
| 1636 | |
---|
| 1637 | |
---|
| 1638 | protected DFA15 dfa15 = new DFA15(this); |
---|
| 1639 | protected DFA16 dfa16 = new DFA16(this); |
---|
| 1640 | static final String DFA15_eotS = |
---|
| 1641 | "\6\uffff\1\12\1\14\5\uffff"; |
---|
| 1642 | static final String DFA15_eofS = |
---|
| 1643 | "\15\uffff"; |
---|
| 1644 | static final String DFA15_minS = |
---|
| 1645 | "\1\57\1\141\1\156\1\162\1\uffff\1\144\2\162\5\uffff"; |
---|
| 1646 | static final String DFA15_maxS = |
---|
| 1647 | "\1\57\1\164\1\156\1\162\1\uffff\1\171\2\162\5\uffff"; |
---|
| 1648 | static final String DFA15_acceptS = |
---|
| 1649 | "\4\uffff\1\6\3\uffff\1\5\1\4\1\2\1\3\1\1"; |
---|
| 1650 | static final String DFA15_specialS = |
---|
| 1651 | "\15\uffff}>"; |
---|
| 1652 | static final String[] DFA15_transitionS = { |
---|
| 1653 | "\1\1", |
---|
| 1654 | "\1\2\15\uffff\1\3\4\uffff\1\4", |
---|
| 1655 | "\1\5", |
---|
| 1656 | "\1\6", |
---|
| 1657 | "", |
---|
| 1658 | "\1\7\24\uffff\1\10", |
---|
| 1659 | "\1\11", |
---|
| 1660 | "\1\13", |
---|
| 1661 | "", |
---|
| 1662 | "", |
---|
| 1663 | "", |
---|
| 1664 | "", |
---|
| 1665 | "" |
---|
| 1666 | }; |
---|
| 1667 | |
---|
| 1668 | static final short[] DFA15_eot = DFA.unpackEncodedString(DFA15_eotS); |
---|
| 1669 | static final short[] DFA15_eof = DFA.unpackEncodedString(DFA15_eofS); |
---|
| 1670 | static final char[] DFA15_min = DFA.unpackEncodedStringToUnsignedChars(DFA15_minS); |
---|
| 1671 | static final char[] DFA15_max = DFA.unpackEncodedStringToUnsignedChars(DFA15_maxS); |
---|
| 1672 | static final short[] DFA15_accept = DFA.unpackEncodedString(DFA15_acceptS); |
---|
| 1673 | static final short[] DFA15_special = DFA.unpackEncodedString(DFA15_specialS); |
---|
| 1674 | static final short[][] DFA15_transition; |
---|
| 1675 | |
---|
| 1676 | static { |
---|
| 1677 | int numStates = DFA15_transitionS.length; |
---|
| 1678 | DFA15_transition = new short[numStates][]; |
---|
| 1679 | for (int i=0; i<numStates; i++) { |
---|
| 1680 | DFA15_transition[i] = DFA.unpackEncodedString(DFA15_transitionS[i]); |
---|
| 1681 | } |
---|
| 1682 | } |
---|
| 1683 | |
---|
| 1684 | class DFA15 extends DFA { |
---|
| 1685 | |
---|
| 1686 | public DFA15(BaseRecognizer recognizer) { |
---|
| 1687 | this.recognizer = recognizer; |
---|
| 1688 | this.decisionNumber = 15; |
---|
| 1689 | this.eot = DFA15_eot; |
---|
| 1690 | this.eof = DFA15_eof; |
---|
| 1691 | this.min = DFA15_min; |
---|
| 1692 | this.max = DFA15_max; |
---|
| 1693 | this.accept = DFA15_accept; |
---|
| 1694 | this.special = DFA15_special; |
---|
| 1695 | this.transition = DFA15_transition; |
---|
| 1696 | } |
---|
| 1697 | public String getDescription() { |
---|
[100] | 1698 | return "1970:14: ( '/and' | '/or' | '/andr' | '/orr' | '/any' | '/together' )"; |
---|
[88] | 1699 | } |
---|
| 1700 | } |
---|
| 1701 | static final String DFA16_eotS = |
---|
[95] | 1702 | "\1\uffff\1\36\1\51\1\uffff\5\36\14\uffff\2\36\2\uffff\1\36\5\uffff"+ |
---|
| 1703 | "\3\36\10\uffff\7\36\1\35\12\36\1\uffff\3\36\1\112\4\36\1\117\1\120"+ |
---|
| 1704 | "\3\36\1\uffff\4\36\2\uffff\1\36\1\131\1\132\2\36\1\135\1\uffff\1"+ |
---|
| 1705 | "\136\2\uffff\1\36\1\140\2\uffff\1\36\1\uffff\2\36\1\uffff"; |
---|
[88] | 1706 | static final String DFA16_eofS = |
---|
[95] | 1707 | "\144\uffff"; |
---|
[88] | 1708 | static final String DFA16_minS = |
---|
[95] | 1709 | "\1\11\1\56\1\52\1\uffff\5\56\14\uffff\2\56\2\uffff\1\56\2\uffff"+ |
---|
| 1710 | "\1\0\2\uffff\1\141\1\157\1\11\10\uffff\1\160\1\155\1\143\1\144\1"+ |
---|
| 1711 | "\142\1\154\1\157\1\42\1\155\1\142\1\157\1\145\1\142\1\153\1\141"+ |
---|
| 1712 | "\2\145\1\153\1\uffff\1\155\1\141\1\162\1\60\1\151\1\141\1\164\1"+ |
---|
| 1713 | "\154\2\60\1\141\1\154\1\164\1\uffff\1\156\1\147\1\145\1\72\2\uffff"+ |
---|
| 1714 | "\1\162\2\60\1\141\1\145\1\60\1\uffff\1\60\2\uffff\1\164\1\60\2\uffff"+ |
---|
| 1715 | "\1\157\1\uffff\1\162\1\72\1\uffff"; |
---|
[88] | 1716 | static final String DFA16_maxS = |
---|
| 1717 | "\1\175\1\162\1\164\1\uffff\1\155\1\157\1\141\1\160\1\141\14\uffff"+ |
---|
[95] | 1718 | "\1\165\1\157\2\uffff\1\71\2\uffff\1\uffff\2\uffff\1\141\1\157\1"+ |
---|
| 1719 | "\71\10\uffff\1\160\1\162\1\143\1\144\1\142\1\154\1\157\1\42\1\155"+ |
---|
| 1720 | "\1\142\1\157\1\145\1\142\1\153\1\141\2\145\1\153\1\uffff\1\155\1"+ |
---|
| 1721 | "\141\1\162\1\172\1\151\1\141\1\164\1\154\2\172\1\141\1\154\1\164"+ |
---|
| 1722 | "\1\uffff\1\156\1\147\1\145\1\72\2\uffff\1\162\2\172\1\141\1\145"+ |
---|
| 1723 | "\1\172\1\uffff\1\172\2\uffff\1\164\1\172\2\uffff\1\157\1\uffff\1"+ |
---|
| 1724 | "\162\1\72\1\uffff"; |
---|
[88] | 1725 | static final String DFA16_acceptS = |
---|
| 1726 | "\3\uffff\1\3\5\uffff\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24"+ |
---|
[95] | 1727 | "\1\25\1\26\1\27\2\uffff\1\34\1\35\1\uffff\1\37\1\40\1\uffff\1\42"+ |
---|
| 1728 | "\1\36\3\uffff\1\43\1\2\1\4\1\5\1\44\1\45\1\46\1\7\22\uffff\1\41"+ |
---|
| 1729 | "\15\uffff\1\10\4\uffff\1\32\1\33\6\uffff\1\13\1\uffff\1\30\1\6\2"+ |
---|
| 1730 | "\uffff\1\12\1\1\1\uffff\1\11\2\uffff\1\31"; |
---|
[88] | 1731 | static final String DFA16_specialS = |
---|
[95] | 1732 | "\34\uffff\1\0\107\uffff}>"; |
---|
[88] | 1733 | static final String[] DFA16_transitionS = { |
---|
[95] | 1734 | "\2\33\2\uffff\1\33\22\uffff\1\33\1\uffff\1\34\1\27\3\uffff\1"+ |
---|
| 1735 | "\35\1\13\1\14\1\23\1\24\1\30\1\uffff\1\11\1\2\12\32\1\12\1\3"+ |
---|
| 1736 | "\1\15\4\uffff\32\31\1\21\1\uffff\1\16\1\uffff\1\36\1\uffff\2"+ |
---|
| 1737 | "\31\1\5\3\31\1\1\1\26\1\4\2\31\1\10\3\31\1\6\1\31\1\25\2\31"+ |
---|
| 1738 | "\1\7\5\31\1\22\1\20\1\17", |
---|
| 1739 | "\1\42\1\uffff\12\41\62\uffff\1\40\5\uffff\1\37", |
---|
| 1740 | "\1\47\4\uffff\1\46\61\uffff\1\50\1\43\1\uffff\1\44\10\uffff"+ |
---|
| 1741 | "\1\45\1\uffff\1\50\4\uffff\1\50", |
---|
[88] | 1742 | "", |
---|
[95] | 1743 | "\1\42\1\uffff\12\41\63\uffff\1\52", |
---|
| 1744 | "\1\42\1\uffff\12\41\65\uffff\1\53", |
---|
| 1745 | "\1\42\1\uffff\12\41\47\uffff\1\54", |
---|
| 1746 | "\1\42\1\uffff\12\41\66\uffff\1\55", |
---|
| 1747 | "\1\42\1\uffff\12\41\47\uffff\1\56", |
---|
[88] | 1748 | "", |
---|
| 1749 | "", |
---|
| 1750 | "", |
---|
| 1751 | "", |
---|
| 1752 | "", |
---|
| 1753 | "", |
---|
| 1754 | "", |
---|
| 1755 | "", |
---|
| 1756 | "", |
---|
| 1757 | "", |
---|
| 1758 | "", |
---|
| 1759 | "", |
---|
[95] | 1760 | "\1\42\1\uffff\12\41\73\uffff\1\57", |
---|
| 1761 | "\1\42\1\uffff\12\41\65\uffff\1\60", |
---|
[88] | 1762 | "", |
---|
| 1763 | "", |
---|
[95] | 1764 | "\1\42\1\uffff\12\41", |
---|
[88] | 1765 | "", |
---|
| 1766 | "", |
---|
[95] | 1767 | "\42\35\1\61\uffdd\35", |
---|
[88] | 1768 | "", |
---|
| 1769 | "", |
---|
[95] | 1770 | "\1\62", |
---|
| 1771 | "\1\63", |
---|
| 1772 | "\1\42\26\uffff\1\42\15\uffff\1\42\1\uffff\12\41", |
---|
[88] | 1773 | "", |
---|
| 1774 | "", |
---|
| 1775 | "", |
---|
| 1776 | "", |
---|
| 1777 | "", |
---|
| 1778 | "", |
---|
[95] | 1779 | "", |
---|
| 1780 | "", |
---|
| 1781 | "\1\64", |
---|
| 1782 | "\1\66\4\uffff\1\65", |
---|
[88] | 1783 | "\1\67", |
---|
| 1784 | "\1\70", |
---|
| 1785 | "\1\71", |
---|
| 1786 | "\1\72", |
---|
| 1787 | "\1\73", |
---|
| 1788 | "\1\74", |
---|
| 1789 | "\1\75", |
---|
| 1790 | "\1\76", |
---|
| 1791 | "\1\77", |
---|
| 1792 | "\1\100", |
---|
| 1793 | "\1\101", |
---|
| 1794 | "\1\102", |
---|
| 1795 | "\1\103", |
---|
| 1796 | "\1\104", |
---|
| 1797 | "\1\105", |
---|
| 1798 | "\1\106", |
---|
[95] | 1799 | "", |
---|
[88] | 1800 | "\1\107", |
---|
[95] | 1801 | "\1\110", |
---|
[88] | 1802 | "\1\111", |
---|
[95] | 1803 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", |
---|
[88] | 1804 | "\1\113", |
---|
| 1805 | "\1\114", |
---|
[95] | 1806 | "\1\115", |
---|
| 1807 | "\1\116", |
---|
| 1808 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", |
---|
| 1809 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", |
---|
[88] | 1810 | "\1\121", |
---|
| 1811 | "\1\122", |
---|
| 1812 | "\1\123", |
---|
[95] | 1813 | "", |
---|
[88] | 1814 | "\1\124", |
---|
| 1815 | "\1\125", |
---|
| 1816 | "\1\126", |
---|
[95] | 1817 | "\1\127", |
---|
[88] | 1818 | "", |
---|
| 1819 | "", |
---|
[95] | 1820 | "\1\130", |
---|
| 1821 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", |
---|
| 1822 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", |
---|
| 1823 | "\1\133", |
---|
| 1824 | "\1\134", |
---|
| 1825 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", |
---|
[88] | 1826 | "", |
---|
[95] | 1827 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", |
---|
[88] | 1828 | "", |
---|
| 1829 | "", |
---|
| 1830 | "\1\137", |
---|
[95] | 1831 | "\12\36\7\uffff\32\36\4\uffff\1\36\1\uffff\32\36", |
---|
[88] | 1832 | "", |
---|
[95] | 1833 | "", |
---|
[88] | 1834 | "\1\141", |
---|
[95] | 1835 | "", |
---|
| 1836 | "\1\142", |
---|
| 1837 | "\1\143", |
---|
[88] | 1838 | "" |
---|
| 1839 | }; |
---|
| 1840 | |
---|
| 1841 | static final short[] DFA16_eot = DFA.unpackEncodedString(DFA16_eotS); |
---|
| 1842 | static final short[] DFA16_eof = DFA.unpackEncodedString(DFA16_eofS); |
---|
| 1843 | static final char[] DFA16_min = DFA.unpackEncodedStringToUnsignedChars(DFA16_minS); |
---|
| 1844 | static final char[] DFA16_max = DFA.unpackEncodedStringToUnsignedChars(DFA16_maxS); |
---|
| 1845 | static final short[] DFA16_accept = DFA.unpackEncodedString(DFA16_acceptS); |
---|
| 1846 | static final short[] DFA16_special = DFA.unpackEncodedString(DFA16_specialS); |
---|
| 1847 | static final short[][] DFA16_transition; |
---|
| 1848 | |
---|
| 1849 | static { |
---|
| 1850 | int numStates = DFA16_transitionS.length; |
---|
| 1851 | DFA16_transition = new short[numStates][]; |
---|
| 1852 | for (int i=0; i<numStates; i++) { |
---|
| 1853 | DFA16_transition[i] = DFA.unpackEncodedString(DFA16_transitionS[i]); |
---|
| 1854 | } |
---|
| 1855 | } |
---|
| 1856 | |
---|
| 1857 | class DFA16 extends DFA { |
---|
| 1858 | |
---|
| 1859 | public DFA16(BaseRecognizer recognizer) { |
---|
| 1860 | this.recognizer = recognizer; |
---|
| 1861 | this.decisionNumber = 16; |
---|
| 1862 | this.eot = DFA16_eot; |
---|
| 1863 | this.eof = DFA16_eof; |
---|
| 1864 | this.min = DFA16_min; |
---|
| 1865 | this.max = DFA16_max; |
---|
| 1866 | this.accept = DFA16_accept; |
---|
| 1867 | this.special = DFA16_special; |
---|
| 1868 | this.transition = DFA16_transition; |
---|
| 1869 | } |
---|
| 1870 | public String getDescription() { |
---|
[95] | 1871 | return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | RULE_ID | RULE_INT | RULE_WS | RULE_COLON | RULE_STRING | RULE_SECTIONHEADER | RULE_SL_COMMENT | RULE_ML_COMMENT | RULE_LOGIC );"; |
---|
[88] | 1872 | } |
---|
| 1873 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
---|
| 1874 | IntStream input = _input; |
---|
| 1875 | int _s = s; |
---|
| 1876 | switch ( s ) { |
---|
| 1877 | case 0 : |
---|
[95] | 1878 | int LA16_28 = input.LA(1); |
---|
[88] | 1879 | |
---|
| 1880 | s = -1; |
---|
[95] | 1881 | if ( (LA16_28=='\"') ) {s = 49;} |
---|
[88] | 1882 | |
---|
[95] | 1883 | else if ( ((LA16_28>='\u0000' && LA16_28<='!')||(LA16_28>='#' && LA16_28<='\uFFFF')) ) {s = 29;} |
---|
[88] | 1884 | |
---|
| 1885 | if ( s>=0 ) return s; |
---|
| 1886 | break; |
---|
| 1887 | } |
---|
| 1888 | NoViableAltException nvae = |
---|
| 1889 | new NoViableAltException(getDescription(), 16, _s, input); |
---|
| 1890 | error(nvae); |
---|
| 1891 | throw nvae; |
---|
| 1892 | } |
---|
| 1893 | } |
---|
| 1894 | |
---|
| 1895 | |
---|
[61] | 1896 | } |
---|