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

Function peg$parseH

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

Source from the content-addressed store, hash-verified

11039 }
11040
11041 function peg$parseH() {
11042 var s0, s1, s2, s3, s4, s5, s6, s7;
11043
11044 if (input.substr(peg$currPos, 1).toLowerCase() === peg$c182) {
11045 s0 = input.charAt(peg$currPos);
11046 peg$currPos++;
11047 } else {
11048 s0 = peg$FAILED;
11049 if (peg$silentFails === 0) { peg$fail(peg$e209); }
11050 }
11051 if (s0 === peg$FAILED) {
11052 s0 = peg$currPos;
11053 if (input.charCodeAt(peg$currPos) === 92) {
11054 s1 = peg$c165;
11055 peg$currPos++;
11056 } else {
11057 s1 = peg$FAILED;
11058 if (peg$silentFails === 0) { peg$fail(peg$e176); }
11059 }
11060 if (s1 !== peg$FAILED) {
11061 if (input.charCodeAt(peg$currPos) === 48) {
11062 s2 = peg$c177;
11063 peg$currPos++;
11064 } else {
11065 s2 = peg$FAILED;
11066 if (peg$silentFails === 0) { peg$fail(peg$e198); }
11067 }
11068 if (s2 === peg$FAILED) {
11069 s2 = null;
11070 }
11071 if (input.charCodeAt(peg$currPos) === 48) {
11072 s3 = peg$c177;
11073 peg$currPos++;
11074 } else {
11075 s3 = peg$FAILED;
11076 if (peg$silentFails === 0) { peg$fail(peg$e198); }
11077 }
11078 if (s3 === peg$FAILED) {
11079 s3 = null;
11080 }
11081 if (input.charCodeAt(peg$currPos) === 48) {
11082 s4 = peg$c177;
11083 peg$currPos++;
11084 } else {
11085 s4 = peg$FAILED;
11086 if (peg$silentFails === 0) { peg$fail(peg$e198); }
11087 }
11088 if (s4 === peg$FAILED) {
11089 s4 = null;
11090 }
11091 if (input.charCodeAt(peg$currPos) === 48) {
11092 s5 = peg$c177;
11093 peg$currPos++;
11094 } else {
11095 s5 = peg$FAILED;
11096 if (peg$silentFails === 0) { peg$fail(peg$e198); }
11097 }
11098 if (s5 === peg$FAILED) {

Callers 1

peg$parseFREQFunction · 0.85

Calls 2

peg$failFunction · 0.85
peg$f150Function · 0.85

Tested by

no test coverage detected