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

Function peg$parseIDENT

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

Source from the content-addressed store, hash-verified

12733 }
12734
12735 function peg$parseIDENT() {
12736 var s0, s1, s2;
12737
12738 peg$silentFails++;
12739 s0 = peg$currPos;
12740 s1 = [];
12741 s2 = peg$parsecomment();
12742 while (s2 !== peg$FAILED) {
12743 s1.push(s2);
12744 s2 = peg$parsecomment();
12745 }
12746 s2 = peg$parseident();
12747 if (s2 !== peg$FAILED) {
12748 peg$savedPos = s0;
12749 s0 = peg$f165(s2);
12750 } else {
12751 peg$currPos = s0;
12752 s0 = peg$FAILED;
12753 }
12754 peg$silentFails--;
12755 if (s0 === peg$FAILED) {
12756 s1 = peg$FAILED;
12757 if (peg$silentFails === 0) { peg$fail(peg$e253); }
12758 }
12759
12760 return s0;
12761 }
12762
12763 function peg$parseHASH() {
12764 var s0, s1, s2, s3;

Callers 2

peg$parsepropertyFunction · 0.85
peg$parsetermFunction · 0.85

Calls 5

peg$parsecommentFunction · 0.85
peg$parseidentFunction · 0.85
peg$f165Function · 0.85
peg$failFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected