()
| 678 | } |
| 679 | |
| 680 | function parse_RoleRequest() { |
| 681 | var result0, result1, result2, result3, result4, result5, result6, result7, result8; |
| 682 | var pos0, pos1; |
| 683 | |
| 684 | reportFailures++; |
| 685 | pos0 = pos; |
| 686 | pos1 = pos; |
| 687 | if (input.substr(pos, 5).toLowerCase() === "what ") { |
| 688 | result0 = input.substr(pos, 5); |
| 689 | pos += 5; |
| 690 | } else { |
| 691 | result0 = null; |
| 692 | if (reportFailures === 0) { |
| 693 | matchFailed("\"what \""); |
| 694 | } |
| 695 | } |
| 696 | if (result0 !== null) { |
| 697 | result1 = parse_Positive(); |
| 698 | if (result1 !== null) { |
| 699 | if (input.charCodeAt(pos) === 32) { |
| 700 | result2 = " "; |
| 701 | pos++; |
| 702 | } else { |
| 703 | result2 = null; |
| 704 | if (reportFailures === 0) { |
| 705 | matchFailed("\" \""); |
| 706 | } |
| 707 | } |
| 708 | if (result2 !== null) { |
| 709 | result3 = parse_Token(); |
| 710 | if (result3 !== null) { |
| 711 | result4 = parse_Quantifier(); |
| 712 | result4 = result4 !== null ? result4 : ""; |
| 713 | if (result4 !== null) { |
| 714 | if (input.charCodeAt(pos) === 32) { |
| 715 | result5 = " "; |
| 716 | pos++; |
| 717 | } else { |
| 718 | result5 = null; |
| 719 | if (reportFailures === 0) { |
| 720 | matchFailed("\" \""); |
| 721 | } |
| 722 | } |
| 723 | if (result5 !== null) { |
| 724 | result6 = parse_Token(); |
| 725 | if (result6 !== null) { |
| 726 | result7 = parse_Preposition(); |
| 727 | result7 = result7 !== null ? result7 : ""; |
| 728 | if (result7 !== null) { |
| 729 | if (input.charCodeAt(pos) === 63) { |
| 730 | result8 = "?"; |
| 731 | pos++; |
| 732 | } else { |
| 733 | result8 = null; |
| 734 | if (reportFailures === 0) { |
| 735 | matchFailed("\"?\""); |
| 736 | } |
| 737 | } |
no test coverage detected