()
| 589 | } |
| 590 | |
| 591 | function parse_VerbRequest() { |
| 592 | var result0, result1, result2, result3, result4, result5; |
| 593 | var pos0, pos1; |
| 594 | |
| 595 | reportFailures++; |
| 596 | pos0 = pos; |
| 597 | pos1 = pos; |
| 598 | if (input.substr(pos, 9).toLowerCase() === "what can ") { |
| 599 | result0 = input.substr(pos, 9); |
| 600 | pos += 9; |
| 601 | } else { |
| 602 | result0 = null; |
| 603 | if (reportFailures === 0) { |
| 604 | matchFailed("\"what can \""); |
| 605 | } |
| 606 | } |
| 607 | if (result0 !== null) { |
| 608 | result1 = parse_Token(); |
| 609 | if (result1 !== null) { |
| 610 | if (input.charCodeAt(pos) === 32) { |
| 611 | result2 = " "; |
| 612 | pos++; |
| 613 | } else { |
| 614 | result2 = null; |
| 615 | if (reportFailures === 0) { |
| 616 | matchFailed("\" \""); |
| 617 | } |
| 618 | } |
| 619 | if (result2 !== null) { |
| 620 | result3 = parse_Token(); |
| 621 | if (result3 !== null) { |
| 622 | result4 = parse_Preposition(); |
| 623 | result4 = result4 !== null ? result4 : ""; |
| 624 | if (result4 !== null) { |
| 625 | if (input.charCodeAt(pos) === 63) { |
| 626 | result5 = "?"; |
| 627 | pos++; |
| 628 | } else { |
| 629 | result5 = null; |
| 630 | if (reportFailures === 0) { |
| 631 | matchFailed("\"?\""); |
| 632 | } |
| 633 | } |
| 634 | result5 = result5 !== null ? result5 : ""; |
| 635 | if (result5 !== null) { |
| 636 | result0 = [result0, result1, result2, result3, result4, result5]; |
| 637 | } else { |
| 638 | result0 = null; |
| 639 | pos = pos1; |
| 640 | } |
| 641 | } else { |
| 642 | result0 = null; |
| 643 | pos = pos1; |
| 644 | } |
| 645 | } else { |
| 646 | result0 = null; |
| 647 | pos = pos1; |
| 648 | } |
no test coverage detected