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

Function peg$parseborder_right_width_dec

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

Source from the content-addressed store, hash-verified

6240 }
6241
6242 function peg$parseborder_right_width_dec() {
6243 var s0, s1, s2, s3, s4, s5;
6244
6245 s0 = peg$currPos;
6246 if (input.substr(peg$currPos, 18).toLowerCase() === peg$c120) {
6247 s1 = input.substr(peg$currPos, 18);
6248 peg$currPos += 18;
6249 } else {
6250 s1 = peg$FAILED;
6251 if (peg$silentFails === 0) { peg$fail(peg$e125); }
6252 }
6253 if (s1 !== peg$FAILED) {
6254 s2 = [];
6255 s3 = peg$parseS();
6256 while (s3 !== peg$FAILED) {
6257 s2.push(s3);
6258 s3 = peg$parseS();
6259 }
6260 if (input.charCodeAt(peg$currPos) === 58) {
6261 s3 = peg$c1;
6262 peg$currPos++;
6263 } else {
6264 s3 = peg$FAILED;
6265 if (peg$silentFails === 0) { peg$fail(peg$e1); }
6266 }
6267 if (s3 !== peg$FAILED) {
6268 s4 = [];
6269 s5 = peg$parseS();
6270 while (s5 !== peg$FAILED) {
6271 s4.push(s5);
6272 s5 = peg$parseS();
6273 }
6274 s5 = peg$parseLENGTH();
6275 if (s5 === peg$FAILED) {
6276 s5 = peg$parsedefault();
6277 }
6278 if (s5 !== peg$FAILED) {
6279 peg$savedPos = s0;
6280 s0 = peg$f85(s5);
6281 } else {
6282 peg$currPos = s0;
6283 s0 = peg$FAILED;
6284 }
6285 } else {
6286 peg$currPos = s0;
6287 s0 = peg$FAILED;
6288 }
6289 } else {
6290 peg$currPos = s0;
6291 s0 = peg$FAILED;
6292 }
6293
6294 return s0;
6295 }
6296
6297 function peg$parseborder_bottom_width_dec() {
6298 var s0, s1, s2, s3, s4, s5;

Callers 1

peg$parsedeclarationFunction · 0.85

Calls 6

peg$failFunction · 0.85
peg$parseSFunction · 0.85
peg$parseLENGTHFunction · 0.85
peg$parsedefaultFunction · 0.85
peg$f85Function · 0.85
pushMethod · 0.80

Tested by

no test coverage detected