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

Function peg$parseborder_style

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

Source from the content-addressed store, hash-verified

4237 }
4238
4239 function peg$parseborder_style() {
4240 var s0;
4241
4242 if (input.substr(peg$currPos, 4) === peg$c72) {
4243 s0 = peg$c72;
4244 peg$currPos += 4;
4245 } else {
4246 s0 = peg$FAILED;
4247 if (peg$silentFails === 0) { peg$fail(peg$e77); }
4248 }
4249 if (s0 === peg$FAILED) {
4250 if (input.substr(peg$currPos, 6) === peg$c84) {
4251 s0 = peg$c84;
4252 peg$currPos += 6;
4253 } else {
4254 s0 = peg$FAILED;
4255 if (peg$silentFails === 0) { peg$fail(peg$e89); }
4256 }
4257 if (s0 === peg$FAILED) {
4258 if (input.substr(peg$currPos, 6) === peg$c85) {
4259 s0 = peg$c85;
4260 peg$currPos += 6;
4261 } else {
4262 s0 = peg$FAILED;
4263 if (peg$silentFails === 0) { peg$fail(peg$e90); }
4264 }
4265 if (s0 === peg$FAILED) {
4266 if (input.substr(peg$currPos, 6) === peg$c86) {
4267 s0 = peg$c86;
4268 peg$currPos += 6;
4269 } else {
4270 s0 = peg$FAILED;
4271 if (peg$silentFails === 0) { peg$fail(peg$e91); }
4272 }
4273 if (s0 === peg$FAILED) {
4274 if (input.substr(peg$currPos, 5) === peg$c87) {
4275 s0 = peg$c87;
4276 peg$currPos += 5;
4277 } else {
4278 s0 = peg$FAILED;
4279 if (peg$silentFails === 0) { peg$fail(peg$e92); }
4280 }
4281 if (s0 === peg$FAILED) {
4282 if (input.substr(peg$currPos, 6) === peg$c88) {
4283 s0 = peg$c88;
4284 peg$currPos += 6;
4285 } else {
4286 s0 = peg$FAILED;
4287 if (peg$silentFails === 0) { peg$fail(peg$e93); }
4288 }
4289 if (s0 === peg$FAILED) {
4290 if (input.substr(peg$currPos, 6) === peg$c89) {
4291 s0 = peg$c89;
4292 peg$currPos += 6;
4293 } else {
4294 s0 = peg$FAILED;
4295 if (peg$silentFails === 0) { peg$fail(peg$e94); }
4296 }

Calls 1

peg$failFunction · 0.85

Tested by

no test coverage detected