()
| 16818 | } |
| 16819 | |
| 16820 | function peg$parseHexInteger() { |
| 16821 | let s0, s1, s2, s3, s4, s5; |
| 16822 | |
| 16823 | s0 = peg$currPos; |
| 16824 | if (input.charCodeAt(peg$currPos) === 45) { |
| 16825 | s1 = peg$c23; |
| 16826 | peg$currPos++; |
| 16827 | } else { |
| 16828 | s1 = peg$FAILED; |
| 16829 | if (peg$silentFails === 0) { peg$fail(peg$e25); } |
| 16830 | } |
| 16831 | if (s1 === peg$FAILED) { |
| 16832 | s1 = null; |
| 16833 | } |
| 16834 | if (input.charCodeAt(peg$currPos) === 48) { |
| 16835 | s2 = peg$c109; |
| 16836 | peg$currPos++; |
| 16837 | } else { |
| 16838 | s2 = peg$FAILED; |
| 16839 | if (peg$silentFails === 0) { peg$fail(peg$e117); } |
| 16840 | } |
| 16841 | if (s2 !== peg$FAILED) { |
| 16842 | s3 = input.charAt(peg$currPos); |
| 16843 | if (peg$r7.test(s3)) { |
| 16844 | peg$currPos++; |
| 16845 | } else { |
| 16846 | s3 = peg$FAILED; |
| 16847 | if (peg$silentFails === 0) { peg$fail(peg$e118); } |
| 16848 | } |
| 16849 | if (s3 !== peg$FAILED) { |
| 16850 | s4 = []; |
| 16851 | s5 = input.charAt(peg$currPos); |
| 16852 | if (peg$r8.test(s5)) { |
| 16853 | peg$currPos++; |
| 16854 | } else { |
| 16855 | s5 = peg$FAILED; |
| 16856 | if (peg$silentFails === 0) { peg$fail(peg$e119); } |
| 16857 | } |
| 16858 | if (s5 !== peg$FAILED) { |
| 16859 | while (s5 !== peg$FAILED) { |
| 16860 | s4.push(s5); |
| 16861 | s5 = input.charAt(peg$currPos); |
| 16862 | if (peg$r8.test(s5)) { |
| 16863 | peg$currPos++; |
| 16864 | } else { |
| 16865 | s5 = peg$FAILED; |
| 16866 | if (peg$silentFails === 0) { peg$fail(peg$e119); } |
| 16867 | } |
| 16868 | } |
| 16869 | } else { |
| 16870 | s4 = peg$FAILED; |
| 16871 | } |
| 16872 | if (s4 !== peg$FAILED) { |
| 16873 | peg$savedPos = s0; |
| 16874 | s0 = peg$f276(s1, s4); |
| 16875 | } else { |
| 16876 | peg$currPos = s0; |
| 16877 | s0 = peg$FAILED; |
no test coverage detected