()
| 883 | } |
| 884 | |
| 885 | function parse_RoleSubjectRequest() { |
| 886 | var result0, result1, result2, result3, result4, result5, result6, result7, result8; |
| 887 | var pos0, pos1; |
| 888 | |
| 889 | reportFailures++; |
| 890 | pos0 = pos; |
| 891 | pos1 = pos; |
| 892 | if (input.substr(pos, 4).toLowerCase() === "who ") { |
| 893 | result0 = input.substr(pos, 4); |
| 894 | pos += 4; |
| 895 | } else { |
| 896 | result0 = null; |
| 897 | if (reportFailures === 0) { |
| 898 | matchFailed("\"who \""); |
| 899 | } |
| 900 | } |
| 901 | if (result0 !== null) { |
| 902 | result1 = parse_Positive(); |
| 903 | if (result1 !== null) { |
| 904 | result2 = parse_Quantifier(); |
| 905 | result2 = result2 !== null ? result2 : ""; |
| 906 | if (result2 !== null) { |
| 907 | if (input.charCodeAt(pos) === 32) { |
| 908 | result3 = " "; |
| 909 | pos++; |
| 910 | } else { |
| 911 | result3 = null; |
| 912 | if (reportFailures === 0) { |
| 913 | matchFailed("\" \""); |
| 914 | } |
| 915 | } |
| 916 | if (result3 !== null) { |
| 917 | result4 = parse_Token(); |
| 918 | if (result4 !== null) { |
| 919 | result5 = parse_Preposition(); |
| 920 | result5 = result5 !== null ? result5 : ""; |
| 921 | if (result5 !== null) { |
| 922 | if (input.charCodeAt(pos) === 32) { |
| 923 | result6 = " "; |
| 924 | pos++; |
| 925 | } else { |
| 926 | result6 = null; |
| 927 | if (reportFailures === 0) { |
| 928 | matchFailed("\" \""); |
| 929 | } |
| 930 | } |
| 931 | if (result6 !== null) { |
| 932 | result7 = parse_Token(); |
| 933 | if (result7 !== null) { |
| 934 | if (input.charCodeAt(pos) === 63) { |
| 935 | result8 = "?"; |
| 936 | pos++; |
| 937 | } else { |
| 938 | result8 = null; |
| 939 | if (reportFailures === 0) { |
| 940 | matchFailed("\"?\""); |
| 941 | } |
| 942 | } |
no test coverage detected