(options, array)
| 419 | } |
| 420 | |
| 421 | function pushComment(options, array) { |
| 422 | return function(block, text, start, end, startLoc, endLoc) { |
| 423 | var comment = { |
| 424 | type: block ? "Block" : "Line", |
| 425 | value: text, |
| 426 | start: start, |
| 427 | end: end |
| 428 | }; |
| 429 | if (options.locations) |
| 430 | { comment.loc = new SourceLocation(this, startLoc, endLoc); } |
| 431 | if (options.ranges) |
| 432 | { comment.range = [start, end]; } |
| 433 | array.push(comment); |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | // Registered plugins |
| 438 | var plugins = {}; |
no outgoing calls
no test coverage detected
searching dependent graphs…