MCPcopy Create free account
hub / github.com/chearon/dropflow / buildExpression

Function buildExpression

src/parse-css.js:17–26  ·  view source on GitHub ↗
(head, tail)

Source from the content-addressed store, hash-verified

15 }
16
17 function buildExpression(head, tail) {
18 return tail.reduce(function(result, element) {
19 return {
20 type: 'Expression',
21 operator: element[0],
22 left: result,
23 right: element[1]
24 };
25 }, head);
26 }
27
28 function extend(a, b) {
29 for (var prop in b) {

Callers 1

peg$f3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected