(parentNode *ast.Node, parameters *ast.ParameterList)
| 1528 | } |
| 1529 | |
| 1530 | func (p *Printer) emitParameters(parentNode *ast.Node, parameters *ast.ParameterList) { |
| 1531 | p.generateAllNames(parameters) |
| 1532 | p.emitList((*Printer).emitParameterDeclarationNode, parentNode, parameters, LFParameters /*|core.IfElse(p.shouldAllowTrailingComma(parentNode, parameters), LFAllowTrailingComma, LFNone)*/) // TODO: preserve trailing comma after Strada migration |
| 1533 | } |
| 1534 | |
| 1535 | func canEmitSimpleArrowHead(parentNode *ast.Node, parameters *ast.ParameterList) bool { |
| 1536 | // only arrow functions with a single parameter may have simple arrow head |
no test coverage detected