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

Function peg$parseHASH

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

Source from the content-addressed store, hash-verified

12761 }
12762
12763 function peg$parseHASH() {
12764 var s0, s1, s2, s3;
12765
12766 peg$silentFails++;
12767 s0 = peg$currPos;
12768 s1 = [];
12769 s2 = peg$parsecomment();
12770 while (s2 !== peg$FAILED) {
12771 s1.push(s2);
12772 s2 = peg$parsecomment();
12773 }
12774 if (input.charCodeAt(peg$currPos) === 35) {
12775 s2 = peg$c12;
12776 peg$currPos++;
12777 } else {
12778 s2 = peg$FAILED;
12779 if (peg$silentFails === 0) { peg$fail(peg$e15); }
12780 }
12781 if (s2 !== peg$FAILED) {
12782 s3 = peg$parsename();
12783 if (s3 !== peg$FAILED) {
12784 peg$savedPos = s0;
12785 s0 = peg$f166(s3);
12786 } else {
12787 peg$currPos = s0;
12788 s0 = peg$FAILED;
12789 }
12790 } else {
12791 peg$currPos = s0;
12792 s0 = peg$FAILED;
12793 }
12794 peg$silentFails--;
12795 if (s0 === peg$FAILED) {
12796 s1 = peg$FAILED;
12797 if (peg$silentFails === 0) { peg$fail(peg$e254); }
12798 }
12799
12800 return s0;
12801 }
12802
12803 function peg$parseEXS() {
12804 var s0, s1, s2, s3, s4;

Callers

nothing calls this directly

Calls 5

peg$parsecommentFunction · 0.85
peg$failFunction · 0.85
peg$parsenameFunction · 0.85
peg$f166Function · 0.85
pushMethod · 0.80

Tested by

no test coverage detected