Closed emilos closed 4 years ago
It would be nice to document how to transform:
{ "type": "ArrayExpression", "elements": [ { "type": "Literal", "value": "foo" }, { "type": "Literal", "value": "bar" }, { "type": "Literal", "value": "baz" } ] }
to:
{ "type": "BinaryExpression", "left": { "type": "BinaryExpression", "left": { "type": "Literal", "value": "foo" }, "right": { "type": "Literal", "value": "bar" }, "operator": "+" }, "right": { "type": "Literal", "value": "baz" }, "operator": "+" }
Cases to consider:
toBinaryExpression was added
toBinaryExpression
It would be nice to document how to transform:
to:
Cases to consider: