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

Function peg$parseSTRING

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

Source from the content-addressed store, hash-verified

12705 }
12706
12707 function peg$parseSTRING() {
12708 var s0, s1, s2;
12709
12710 peg$silentFails++;
12711 s0 = peg$currPos;
12712 s1 = [];
12713 s2 = peg$parsecomment();
12714 while (s2 !== peg$FAILED) {
12715 s1.push(s2);
12716 s2 = peg$parsecomment();
12717 }
12718 s2 = peg$parsestring();
12719 if (s2 !== peg$FAILED) {
12720 peg$savedPos = s0;
12721 s0 = peg$f164(s2);
12722 } else {
12723 peg$currPos = s0;
12724 s0 = peg$FAILED;
12725 }
12726 peg$silentFails--;
12727 if (s0 === peg$FAILED) {
12728 s1 = peg$FAILED;
12729 if (peg$silentFails === 0) { peg$fail(peg$e252); }
12730 }
12731
12732 return s0;
12733 }
12734
12735 function peg$parseIDENT() {
12736 var s0, s1, s2;

Callers 2

peg$parsetermFunction · 0.85
peg$parsefont_familyFunction · 0.85

Calls 5

peg$parsecommentFunction · 0.85
peg$parsestringFunction · 0.85
peg$f164Function · 0.85
peg$failFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected