(source, target, count)
| 26 | |
| 27 | // TODO: docs |
| 28 | function moveTrailingComments(source, target, count) { |
| 29 | if (source.trailingComments) { |
| 30 | if (count === undefined) { |
| 31 | count = source.trailingComments.length; |
| 32 | } |
| 33 | |
| 34 | target.trailingComments = source.trailingComments.slice( |
| 35 | source.trailingComments.length - count, count |
| 36 | ); |
| 37 | source.trailingComments = source.trailingComments.slice(0); |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | /* eslint-disable no-empty-function, no-unused-vars */ |
| 42 | function leafNode(node, parent, state, cb) {} |
no outgoing calls
no test coverage detected
searching dependent graphs…