()
| 794 | } |
| 795 | |
| 796 | function parse_VerbSubjectRequest() { |
| 797 | var result0, result1, result2, result3, result4, result5; |
| 798 | var pos0, pos1; |
| 799 | |
| 800 | reportFailures++; |
| 801 | pos0 = pos; |
| 802 | pos1 = pos; |
| 803 | if (input.substr(pos, 8).toLowerCase() === "who can ") { |
| 804 | result0 = input.substr(pos, 8); |
| 805 | pos += 8; |
| 806 | } else { |
| 807 | result0 = null; |
| 808 | if (reportFailures === 0) { |
| 809 | matchFailed("\"who can \""); |
| 810 | } |
| 811 | } |
| 812 | if (result0 !== null) { |
| 813 | result1 = parse_Token(); |
| 814 | if (result1 !== null) { |
| 815 | result2 = parse_Preposition(); |
| 816 | result2 = result2 !== null ? result2 : ""; |
| 817 | if (result2 !== null) { |
| 818 | if (input.charCodeAt(pos) === 32) { |
| 819 | result3 = " "; |
| 820 | pos++; |
| 821 | } else { |
| 822 | result3 = null; |
| 823 | if (reportFailures === 0) { |
| 824 | matchFailed("\" \""); |
| 825 | } |
| 826 | } |
| 827 | if (result3 !== null) { |
| 828 | result4 = parse_Token(); |
| 829 | if (result4 !== null) { |
| 830 | if (input.charCodeAt(pos) === 63) { |
| 831 | result5 = "?"; |
| 832 | pos++; |
| 833 | } else { |
| 834 | result5 = null; |
| 835 | if (reportFailures === 0) { |
| 836 | matchFailed("\"?\""); |
| 837 | } |
| 838 | } |
| 839 | result5 = result5 !== null ? result5 : ""; |
| 840 | if (result5 !== null) { |
| 841 | result0 = [result0, result1, result2, result3, result4, result5]; |
| 842 | } else { |
| 843 | result0 = null; |
| 844 | pos = pos1; |
| 845 | } |
| 846 | } else { |
| 847 | result0 = null; |
| 848 | pos = pos1; |
| 849 | } |
| 850 | } else { |
| 851 | result0 = null; |
| 852 | pos = pos1; |
| 853 | } |
no test coverage detected