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

Function peg$parseTIME

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

Source from the content-addressed store, hash-verified

13200 }
13201
13202 function peg$parseTIME() {
13203 var s0, s1, s2, s3, s4;
13204
13205 peg$silentFails++;
13206 s0 = peg$currPos;
13207 s1 = [];
13208 s2 = peg$parsecomment();
13209 while (s2 !== peg$FAILED) {
13210 s1.push(s2);
13211 s2 = peg$parsecomment();
13212 }
13213 s2 = peg$parsenum();
13214 if (s2 !== peg$FAILED) {
13215 s3 = peg$parseM();
13216 if (s3 !== peg$FAILED) {
13217 s4 = peg$parseS_();
13218 if (s4 !== peg$FAILED) {
13219 peg$savedPos = s0;
13220 s0 = peg$f179(s2);
13221 } else {
13222 peg$currPos = s0;
13223 s0 = peg$FAILED;
13224 }
13225 } else {
13226 peg$currPos = s0;
13227 s0 = peg$FAILED;
13228 }
13229 } else {
13230 peg$currPos = s0;
13231 s0 = peg$FAILED;
13232 }
13233 if (s0 === peg$FAILED) {
13234 s0 = peg$currPos;
13235 s1 = [];
13236 s2 = peg$parsecomment();
13237 while (s2 !== peg$FAILED) {
13238 s1.push(s2);
13239 s2 = peg$parsecomment();
13240 }
13241 s2 = peg$parsenum();
13242 if (s2 !== peg$FAILED) {
13243 s3 = peg$parseS_();
13244 if (s3 !== peg$FAILED) {
13245 peg$savedPos = s0;
13246 s0 = peg$f180(s2);
13247 } else {
13248 peg$currPos = s0;
13249 s0 = peg$FAILED;
13250 }
13251 } else {
13252 peg$currPos = s0;
13253 s0 = peg$FAILED;
13254 }
13255 }
13256 peg$silentFails--;
13257 if (s0 === peg$FAILED) {
13258 s1 = peg$FAILED;
13259 if (peg$silentFails === 0) { peg$fail(peg$e257); }

Callers 1

peg$parsetermFunction · 0.85

Calls 8

peg$parsecommentFunction · 0.85
peg$parsenumFunction · 0.85
peg$parseMFunction · 0.85
peg$parseS_Function · 0.85
peg$f179Function · 0.85
peg$f180Function · 0.85
peg$failFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected