(expression: lua.CallExpression)
| 778 | } |
| 779 | |
| 780 | public printCallExpression(expression: lua.CallExpression): SourceNode { |
| 781 | const chunks = []; |
| 782 | |
| 783 | chunks.push(this.printExpressionInParenthesesIfNeeded(expression.expression), "("); |
| 784 | |
| 785 | if (expression.params) { |
| 786 | chunks.push(...this.printExpressionList(expression.params)); |
| 787 | } |
| 788 | |
| 789 | chunks.push(")"); |
| 790 | |
| 791 | return this.createSourceNode(expression, chunks); |
| 792 | } |
| 793 | |
| 794 | public printMethodCallExpression(expression: lua.MethodCallExpression): SourceNode { |
| 795 | const chunks = []; |
no test coverage detected