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

Function peg$f111

src/parse-css.js:1117–1123  ·  view source on GitHub ↗
(t, c, w, s)

Source from the content-addressed store, hash-verified

1115 return ret;
1116 };
1117 var peg$f111 = function(t, c, w, s) {
1118 const ret = {};
1119 setTopRightBottomLeftOr(t, ret, 'border', 'Width', w, w, w, w);
1120 setTopRightBottomLeftOr(t, ret, 'border', 'Color', c, c, c, c);
1121 if (s) setTopRightBottomLeftOr(t, ret, 'border', 'Style', s, s, s, s);
1122 return ret;
1123 };
1124 var peg$f112 = function(t, c, s, w) {
1125 const ret = {};
1126 setTopRightBottomLeftOr(t, ret, 'border', 'Color', c, c, c, c);

Callers 1

peg$parseborder_decFunction · 0.85

Calls 1

setTopRightBottomLeftOrFunction · 0.85

Tested by

no test coverage detected