()
| 16960 | } |
| 16961 | |
| 16962 | function peg$parseScientificFloat() { |
| 16963 | let s0, s1, s2, s3, s4, s5, s6, s7, s8; |
| 16964 | |
| 16965 | s0 = peg$currPos; |
| 16966 | if (input.charCodeAt(peg$currPos) === 45) { |
| 16967 | s1 = peg$c23; |
| 16968 | peg$currPos++; |
| 16969 | } else { |
| 16970 | s1 = peg$FAILED; |
| 16971 | if (peg$silentFails === 0) { peg$fail(peg$e25); } |
| 16972 | } |
| 16973 | if (s1 === peg$FAILED) { |
| 16974 | s1 = null; |
| 16975 | } |
| 16976 | s2 = []; |
| 16977 | s3 = input.charAt(peg$currPos); |
| 16978 | if (peg$r11.test(s3)) { |
| 16979 | peg$currPos++; |
| 16980 | } else { |
| 16981 | s3 = peg$FAILED; |
| 16982 | if (peg$silentFails === 0) { peg$fail(peg$e122); } |
| 16983 | } |
| 16984 | if (s3 !== peg$FAILED) { |
| 16985 | while (s3 !== peg$FAILED) { |
| 16986 | s2.push(s3); |
| 16987 | s3 = input.charAt(peg$currPos); |
| 16988 | if (peg$r11.test(s3)) { |
| 16989 | peg$currPos++; |
| 16990 | } else { |
| 16991 | s3 = peg$FAILED; |
| 16992 | if (peg$silentFails === 0) { peg$fail(peg$e122); } |
| 16993 | } |
| 16994 | } |
| 16995 | } else { |
| 16996 | s2 = peg$FAILED; |
| 16997 | } |
| 16998 | if (s2 !== peg$FAILED) { |
| 16999 | if (input.charCodeAt(peg$currPos) === 46) { |
| 17000 | s3 = peg$c2; |
| 17001 | peg$currPos++; |
| 17002 | } else { |
| 17003 | s3 = peg$FAILED; |
| 17004 | if (peg$silentFails === 0) { peg$fail(peg$e2); } |
| 17005 | } |
| 17006 | if (s3 !== peg$FAILED) { |
| 17007 | s4 = []; |
| 17008 | s5 = input.charAt(peg$currPos); |
| 17009 | if (peg$r11.test(s5)) { |
| 17010 | peg$currPos++; |
| 17011 | } else { |
| 17012 | s5 = peg$FAILED; |
| 17013 | if (peg$silentFails === 0) { peg$fail(peg$e122); } |
| 17014 | } |
| 17015 | if (s5 !== peg$FAILED) { |
| 17016 | while (s5 !== peg$FAILED) { |
| 17017 | s4.push(s5); |
| 17018 | s5 = input.charAt(peg$currPos); |
| 17019 | if (peg$r11.test(s5)) { |
no test coverage detected