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

Function peg$parseborder_width_dec

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

Source from the content-addressed store, hash-verified

6405 }
6406
6407 function peg$parseborder_width_dec() {
6408 var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
6409
6410 s0 = peg$currPos;
6411 if (input.substr(peg$currPos, 12).toLowerCase() === peg$c123) {
6412 s1 = input.substr(peg$currPos, 12);
6413 peg$currPos += 12;
6414 } else {
6415 s1 = peg$FAILED;
6416 if (peg$silentFails === 0) { peg$fail(peg$e128); }
6417 }
6418 if (s1 !== peg$FAILED) {
6419 s2 = [];
6420 s3 = peg$parseS();
6421 while (s3 !== peg$FAILED) {
6422 s2.push(s3);
6423 s3 = peg$parseS();
6424 }
6425 if (input.charCodeAt(peg$currPos) === 58) {
6426 s3 = peg$c1;
6427 peg$currPos++;
6428 } else {
6429 s3 = peg$FAILED;
6430 if (peg$silentFails === 0) { peg$fail(peg$e1); }
6431 }
6432 if (s3 !== peg$FAILED) {
6433 s4 = [];
6434 s5 = peg$parseS();
6435 while (s5 !== peg$FAILED) {
6436 s4.push(s5);
6437 s5 = peg$parseS();
6438 }
6439 s5 = peg$parseLENGTH();
6440 if (s5 !== peg$FAILED) {
6441 s6 = [];
6442 s7 = peg$parseS();
6443 while (s7 !== peg$FAILED) {
6444 s6.push(s7);
6445 s7 = peg$parseS();
6446 }
6447 s7 = peg$parseLENGTH();
6448 if (s7 !== peg$FAILED) {
6449 s8 = [];
6450 s9 = peg$parseS();
6451 while (s9 !== peg$FAILED) {
6452 s8.push(s9);
6453 s9 = peg$parseS();
6454 }
6455 s9 = peg$parseLENGTH();
6456 if (s9 !== peg$FAILED) {
6457 s10 = [];
6458 s11 = peg$parseS();
6459 while (s11 !== peg$FAILED) {
6460 s10.push(s11);
6461 s11 = peg$parseS();
6462 }
6463 s11 = peg$parseLENGTH();
6464 if (s11 !== peg$FAILED) {

Callers 1

peg$parsedeclarationFunction · 0.85

Calls 9

peg$failFunction · 0.85
peg$parseSFunction · 0.85
peg$parseLENGTHFunction · 0.85
peg$f88Function · 0.85
peg$f89Function · 0.85
peg$f90Function · 0.85
peg$parsedefaultFunction · 0.85
peg$f91Function · 0.85
pushMethod · 0.80

Tested by

no test coverage detected