(paramName, expression)
| 26862 | return { target: target, thisArg: thisArg }; |
| 26863 | } |
| 26864 | function createAssignmentTargetWrapper(paramName, expression) { |
| 26865 | return createPropertyAccessExpression( |
| 26866 | // Explicit parens required because of v8 regression (https://bugs.chromium.org/p/v8/issues/detail?id=9560) |
| 26867 | createParenthesizedExpression(createObjectLiteralExpression([ |
| 26868 | createSetAccessorDeclaration( |
| 26869 | /*decorators*/ undefined, |
| 26870 | /*modifiers*/ undefined, "value", [createParameterDeclaration( |
| 26871 | /*decorators*/ undefined, |
| 26872 | /*modifiers*/ undefined, |
| 26873 | /*dotDotDotToken*/ undefined, paramName, |
| 26874 | /*questionToken*/ undefined, |
| 26875 | /*type*/ undefined, |
| 26876 | /*initializer*/ undefined)], createBlock([ |
| 26877 | createExpressionStatement(expression) |
| 26878 | ])) |
| 26879 | ])), "value"); |
| 26880 | } |
| 26881 | function inlineExpressions(expressions) { |
| 26882 | // Avoid deeply nested comma expressions as traversing them during emit can result in "Maximum call |
| 26883 | // stack size exceeded" errors. |
nothing calls this directly
no test coverage detected