()
| 16496 | } |
| 16497 | |
| 16498 | function peg$parseStringLiteral() { |
| 16499 | let s0, s1, s2, s3; |
| 16500 | |
| 16501 | s0 = peg$currPos; |
| 16502 | if (input.charCodeAt(peg$currPos) === 34) { |
| 16503 | s1 = peg$c103; |
| 16504 | peg$currPos++; |
| 16505 | } else { |
| 16506 | s1 = peg$FAILED; |
| 16507 | if (peg$silentFails === 0) { peg$fail(peg$e108); } |
| 16508 | } |
| 16509 | if (s1 !== peg$FAILED) { |
| 16510 | s2 = []; |
| 16511 | s3 = peg$parseDoubleQuoteChar(); |
| 16512 | while (s3 !== peg$FAILED) { |
| 16513 | s2.push(s3); |
| 16514 | s3 = peg$parseDoubleQuoteChar(); |
| 16515 | } |
| 16516 | if (input.charCodeAt(peg$currPos) === 34) { |
| 16517 | s3 = peg$c103; |
| 16518 | peg$currPos++; |
| 16519 | } else { |
| 16520 | s3 = peg$FAILED; |
| 16521 | if (peg$silentFails === 0) { peg$fail(peg$e108); } |
| 16522 | } |
| 16523 | if (s3 !== peg$FAILED) { |
| 16524 | peg$savedPos = s0; |
| 16525 | s0 = peg$f264(s2); |
| 16526 | } else { |
| 16527 | peg$currPos = s0; |
| 16528 | s0 = peg$FAILED; |
| 16529 | } |
| 16530 | } else { |
| 16531 | peg$currPos = s0; |
| 16532 | s0 = peg$FAILED; |
| 16533 | } |
| 16534 | if (s0 === peg$FAILED) { |
| 16535 | s0 = peg$currPos; |
| 16536 | if (input.charCodeAt(peg$currPos) === 39) { |
| 16537 | s1 = peg$c104; |
| 16538 | peg$currPos++; |
| 16539 | } else { |
| 16540 | s1 = peg$FAILED; |
| 16541 | if (peg$silentFails === 0) { peg$fail(peg$e109); } |
| 16542 | } |
| 16543 | if (s1 !== peg$FAILED) { |
| 16544 | s2 = []; |
| 16545 | s3 = peg$parseSingleQuoteChar(); |
| 16546 | while (s3 !== peg$FAILED) { |
| 16547 | s2.push(s3); |
| 16548 | s3 = peg$parseSingleQuoteChar(); |
| 16549 | } |
| 16550 | if (input.charCodeAt(peg$currPos) === 39) { |
| 16551 | s3 = peg$c104; |
| 16552 | peg$currPos++; |
| 16553 | } else { |
| 16554 | s3 = peg$FAILED; |
| 16555 | if (peg$silentFails === 0) { peg$fail(peg$e109); } |
no test coverage detected