* add partial application syntax and some tests remove unnecessary error message and hasPartial function from parseNewArguments add types for PartialExpression Update the tests rename PartialExpression to Partial move Partial from expressions to types and rename to ArgumentPlaceholder add tests for ArgumentPlaceholder in babel-generator rename Partial to ArgumentPlaceholder update the tests remove alias from the type and undo changes in generated folder adds a nice error message better definition for the type auto-generated files update the conditional for allowPlaceholder message and tests update CallExpression definition to accept ArgumentPlaceholder change description clean up indent ArgumentPlaceholder entry and revert unwanted changes * add Partial Application Plugin * update unwrapArguments function and add replacePlaceholders. * update the tests * remove unnecessary clone * update readme and description an package.json * put options.json one level up and add test for not assigned and chained * add await to fix the test * use Promise in the test instead of async await * remove unnecessary method test [#9474] * push sequenceExpressions to an array [#9474]
8 lines
304 B
JavaScript
8 lines
304 B
JavaScript
"use strict";
|
|
|
|
var _x, _y, _z, _a$b$fn$c$d$e, _a$b$fn$c$d;
|
|
|
|
const g = (_a$b$fn$c$d = a.b.fn().c["d"], _a$b$fn$c$d$e = _a$b$fn$c$d.e, _x = x, _y = y, _z = z, function e(_argPlaceholder, _argPlaceholder2) {
|
|
return _a$b$fn$c$d$e.call(_a$b$fn$c$d, _argPlaceholder, 1, _argPlaceholder2, 3, _x, _y, _z);
|
|
});
|