(sp)
| 104 | } |
| 105 | |
| 106 | addSourceProcessor(sp) { |
| 107 | buildmessage.assertInJob(); |
| 108 | this._addSourceProcessorHelper(sp, sp.extensions, this._byExtension, '*.'); |
| 109 | this._addSourceProcessorHelper(sp, sp.filenames, this._byFilename, ''); |
| 110 | // If everything conflicted, then the SourceProcessors will be in |
| 111 | // allSourceProcessors but not any of the data structures, but in that case |
| 112 | // the caller should be checking for errors anyway. |
| 113 | this.allSourceProcessors.push(sp); |
| 114 | } |
| 115 | _addSourceProcessorHelper(sp, things, byThing, errorPrefix) { |
| 116 | buildmessage.assertInJob(); |
| 117 |
no test coverage detected