| 2729 | } |
| 2730 | |
| 2731 | function peg$parseSingleEscapeCharacter() { |
| 2732 | var s0, s1; |
| 2733 | |
| 2734 | if (input.charCodeAt(peg$currPos) === 39) { |
| 2735 | s0 = peg$c88; |
| 2736 | peg$currPos++; |
| 2737 | } else { |
| 2738 | s0 = peg$FAILED; |
| 2739 | if (peg$silentFails === 0) { peg$fail(peg$c89); } |
| 2740 | } |
| 2741 | if (s0 === peg$FAILED) { |
| 2742 | if (input.charCodeAt(peg$currPos) === 34) { |
| 2743 | s0 = peg$c85; |
| 2744 | peg$currPos++; |
| 2745 | } else { |
| 2746 | s0 = peg$FAILED; |
| 2747 | if (peg$silentFails === 0) { peg$fail(peg$c86); } |
| 2748 | } |
| 2749 | if (s0 === peg$FAILED) { |
| 2750 | if (input.charCodeAt(peg$currPos) === 92) { |
| 2751 | s0 = peg$c73; |
| 2752 | peg$currPos++; |
| 2753 | } else { |
| 2754 | s0 = peg$FAILED; |
| 2755 | if (peg$silentFails === 0) { peg$fail(peg$c74); } |
| 2756 | } |
| 2757 | if (s0 === peg$FAILED) { |
| 2758 | s0 = peg$currPos; |
| 2759 | if (input.charCodeAt(peg$currPos) === 98) { |
| 2760 | s1 = peg$c106; |
| 2761 | peg$currPos++; |
| 2762 | } else { |
| 2763 | s1 = peg$FAILED; |
| 2764 | if (peg$silentFails === 0) { peg$fail(peg$c107); } |
| 2765 | } |
| 2766 | if (s1 !== peg$FAILED) { |
| 2767 | peg$savedPos = s0; |
| 2768 | s1 = peg$c108(); |
| 2769 | } |
| 2770 | s0 = s1; |
| 2771 | if (s0 === peg$FAILED) { |
| 2772 | s0 = peg$currPos; |
| 2773 | if (input.charCodeAt(peg$currPos) === 102) { |
| 2774 | s1 = peg$c109; |
| 2775 | peg$currPos++; |
| 2776 | } else { |
| 2777 | s1 = peg$FAILED; |
| 2778 | if (peg$silentFails === 0) { peg$fail(peg$c110); } |
| 2779 | } |
| 2780 | if (s1 !== peg$FAILED) { |
| 2781 | peg$savedPos = s0; |
| 2782 | s1 = peg$c111(); |
| 2783 | } |
| 2784 | s0 = s1; |
| 2785 | if (s0 === peg$FAILED) { |
| 2786 | s0 = peg$currPos; |
| 2787 | if (input.charCodeAt(peg$currPos) === 110) { |
| 2788 | s1 = peg$c112; |