* Get string representation * @param {Object} options * @return {string} str
(options)
| 383 | * @return {string} str |
| 384 | */ |
| 385 | _toString (options) { |
| 386 | const args = this.args.map(function (arg) { |
| 387 | return arg.toString(options) |
| 388 | }) |
| 389 | |
| 390 | const fn = isFunctionAssignmentNode(this.fn) |
| 391 | ? ('(' + this.fn.toString(options) + ')') |
| 392 | : this.fn.toString(options) |
| 393 | |
| 394 | // format the arguments like "add(2, 4.2)" |
| 395 | return fn + '(' + args.join(', ') + ')' |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Get a JSON representation of the node |
nothing calls this directly
no test coverage detected