()
| 17186 | } |
| 17187 | |
| 17188 | function peg$parseFloat() { |
| 17189 | let s0, s1, s2, s3, s4, s5; |
| 17190 | |
| 17191 | s0 = peg$currPos; |
| 17192 | if (input.charCodeAt(peg$currPos) === 45) { |
| 17193 | s1 = peg$c23; |
| 17194 | peg$currPos++; |
| 17195 | } else { |
| 17196 | s1 = peg$FAILED; |
| 17197 | if (peg$silentFails === 0) { peg$fail(peg$e25); } |
| 17198 | } |
| 17199 | if (s1 === peg$FAILED) { |
| 17200 | s1 = null; |
| 17201 | } |
| 17202 | s2 = []; |
| 17203 | s3 = input.charAt(peg$currPos); |
| 17204 | if (peg$r11.test(s3)) { |
| 17205 | peg$currPos++; |
| 17206 | } else { |
| 17207 | s3 = peg$FAILED; |
| 17208 | if (peg$silentFails === 0) { peg$fail(peg$e122); } |
| 17209 | } |
| 17210 | if (s3 !== peg$FAILED) { |
| 17211 | while (s3 !== peg$FAILED) { |
| 17212 | s2.push(s3); |
| 17213 | s3 = input.charAt(peg$currPos); |
| 17214 | if (peg$r11.test(s3)) { |
| 17215 | peg$currPos++; |
| 17216 | } else { |
| 17217 | s3 = peg$FAILED; |
| 17218 | if (peg$silentFails === 0) { peg$fail(peg$e122); } |
| 17219 | } |
| 17220 | } |
| 17221 | } else { |
| 17222 | s2 = peg$FAILED; |
| 17223 | } |
| 17224 | if (s2 !== peg$FAILED) { |
| 17225 | if (input.charCodeAt(peg$currPos) === 46) { |
| 17226 | s3 = peg$c2; |
| 17227 | peg$currPos++; |
| 17228 | } else { |
| 17229 | s3 = peg$FAILED; |
| 17230 | if (peg$silentFails === 0) { peg$fail(peg$e2); } |
| 17231 | } |
| 17232 | if (s3 !== peg$FAILED) { |
| 17233 | s4 = []; |
| 17234 | s5 = input.charAt(peg$currPos); |
| 17235 | if (peg$r11.test(s5)) { |
| 17236 | peg$currPos++; |
| 17237 | } else { |
| 17238 | s5 = peg$FAILED; |
| 17239 | if (peg$silentFails === 0) { peg$fail(peg$e122); } |
| 17240 | } |
| 17241 | if (s5 !== peg$FAILED) { |
| 17242 | while (s5 !== peg$FAILED) { |
| 17243 | s4.push(s5); |
| 17244 | s5 = input.charAt(peg$currPos); |
| 17245 | if (peg$r11.test(s5)) { |
no test coverage detected