MCPcopy Create free account
hub / github.com/chearon/dropflow / peg$parseC

Function peg$parseC

src/parse-css.js:10618–10718  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10616 }
10617
10618 function peg$parseC() {
10619 var s0, s1, s2, s3, s4, s5, s6, s7;
10620
10621 if (input.substr(peg$currPos, 1).toLowerCase() === peg$c178) {
10622 s0 = input.charAt(peg$currPos);
10623 peg$currPos++;
10624 } else {
10625 s0 = peg$FAILED;
10626 if (peg$silentFails === 0) { peg$fail(peg$e200); }
10627 }
10628 if (s0 === peg$FAILED) {
10629 s0 = peg$currPos;
10630 if (input.charCodeAt(peg$currPos) === 92) {
10631 s1 = peg$c165;
10632 peg$currPos++;
10633 } else {
10634 s1 = peg$FAILED;
10635 if (peg$silentFails === 0) { peg$fail(peg$e176); }
10636 }
10637 if (s1 !== peg$FAILED) {
10638 if (input.charCodeAt(peg$currPos) === 48) {
10639 s2 = peg$c177;
10640 peg$currPos++;
10641 } else {
10642 s2 = peg$FAILED;
10643 if (peg$silentFails === 0) { peg$fail(peg$e198); }
10644 }
10645 if (s2 === peg$FAILED) {
10646 s2 = null;
10647 }
10648 if (input.charCodeAt(peg$currPos) === 48) {
10649 s3 = peg$c177;
10650 peg$currPos++;
10651 } else {
10652 s3 = peg$FAILED;
10653 if (peg$silentFails === 0) { peg$fail(peg$e198); }
10654 }
10655 if (s3 === peg$FAILED) {
10656 s3 = null;
10657 }
10658 if (input.charCodeAt(peg$currPos) === 48) {
10659 s4 = peg$c177;
10660 peg$currPos++;
10661 } else {
10662 s4 = peg$FAILED;
10663 if (peg$silentFails === 0) { peg$fail(peg$e198); }
10664 }
10665 if (s4 === peg$FAILED) {
10666 s4 = null;
10667 }
10668 if (input.charCodeAt(peg$currPos) === 48) {
10669 s5 = peg$c177;
10670 peg$currPos++;
10671 } else {
10672 s5 = peg$FAILED;
10673 if (peg$silentFails === 0) { peg$fail(peg$e198); }
10674 }
10675 if (s5 === peg$FAILED) {

Callers 1

peg$parseLENGTHFunction · 0.85

Calls 2

peg$failFunction · 0.85
peg$f146Function · 0.85

Tested by

no test coverage detected