()
| 479 | } |
| 480 | |
| 481 | function parse_RoleQuestion() { |
| 482 | var result0, result1, result2, result3, result4, result5, result6, result7, result8; |
| 483 | var pos0, pos1; |
| 484 | |
| 485 | reportFailures++; |
| 486 | pos0 = pos; |
| 487 | pos1 = pos; |
| 488 | result0 = parse_Positive(); |
| 489 | if (result0 !== null) { |
| 490 | if (input.charCodeAt(pos) === 32) { |
| 491 | result1 = " "; |
| 492 | pos++; |
| 493 | } else { |
| 494 | result1 = null; |
| 495 | if (reportFailures === 0) { |
| 496 | matchFailed("\" \""); |
| 497 | } |
| 498 | } |
| 499 | if (result1 !== null) { |
| 500 | result2 = parse_Token(); |
| 501 | if (result2 !== null) { |
| 502 | result3 = parse_Quantifier(); |
| 503 | result3 = result3 !== null ? result3 : ""; |
| 504 | if (result3 !== null) { |
| 505 | if (input.charCodeAt(pos) === 32) { |
| 506 | result4 = " "; |
| 507 | pos++; |
| 508 | } else { |
| 509 | result4 = null; |
| 510 | if (reportFailures === 0) { |
| 511 | matchFailed("\" \""); |
| 512 | } |
| 513 | } |
| 514 | if (result4 !== null) { |
| 515 | result5 = parse_Token(); |
| 516 | if (result5 !== null) { |
| 517 | result6 = parse_Preposition(); |
| 518 | result6 = result6 !== null ? result6 : ""; |
| 519 | if (result6 !== null) { |
| 520 | result7 = parse_Obj(); |
| 521 | result7 = result7 !== null ? result7 : ""; |
| 522 | if (result7 !== null) { |
| 523 | if (input.charCodeAt(pos) === 63) { |
| 524 | result8 = "?"; |
| 525 | pos++; |
| 526 | } else { |
| 527 | result8 = null; |
| 528 | if (reportFailures === 0) { |
| 529 | matchFailed("\"?\""); |
| 530 | } |
| 531 | } |
| 532 | result8 = result8 !== null ? result8 : ""; |
| 533 | if (result8 !== null) { |
| 534 | result0 = [result0, result1, result2, result3, result4, result5, result6, result7, result8]; |
| 535 | } else { |
| 536 | result0 = null; |
| 537 | pos = pos1; |
| 538 | } |
no test coverage detected