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

Function peg$parseS

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

Source from the content-addressed store, hash-verified

12677 }
12678
12679 function peg$parseS() {
12680 var s0, s1, s2;
12681
12682 peg$silentFails++;
12683 s0 = peg$currPos;
12684 s1 = [];
12685 s2 = peg$parsecomment();
12686 while (s2 !== peg$FAILED) {
12687 s1.push(s2);
12688 s2 = peg$parsecomment();
12689 }
12690 s2 = peg$parses();
12691 if (s2 !== peg$FAILED) {
12692 s1 = [s1, s2];
12693 s0 = s1;
12694 } else {
12695 peg$currPos = s0;
12696 s0 = peg$FAILED;
12697 }
12698 peg$silentFails--;
12699 if (s0 === peg$FAILED) {
12700 s1 = peg$FAILED;
12701 if (peg$silentFails === 0) { peg$fail(peg$e251); }
12702 }
12703
12704 return s0;
12705 }
12706
12707 function peg$parseSTRING() {
12708 var s0, s1, s2;

Callers 15

peg$parsestartFunction · 0.85
peg$parsedeclarationFunction · 0.85
peg$parsepropertyFunction · 0.85
peg$parseoperatorFunction · 0.85
peg$parsetermFunction · 0.85
peg$parsefunctionFunction · 0.85
peg$parsecolorFunction · 0.85
peg$parsefont_familyFunction · 0.85
peg$parsefont_wssvFunction · 0.85
peg$parsefontFunction · 0.85
peg$parsefont_size_decFunction · 0.85

Calls 4

peg$parsecommentFunction · 0.85
peg$parsesFunction · 0.85
peg$failFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected