(input)
| 15 | let pathAvailable = Boolean(resolve && isAbsolute) |
| 16 | |
| 17 | function getLineToIndex(input) { |
| 18 | if (input[lineToIndexCache]) return input[lineToIndexCache] |
| 19 | let lines = input.css.split('\n') |
| 20 | let lineToIndex = new Array(lines.length) |
| 21 | let prevIndex = 0 |
| 22 | |
| 23 | for (let i = 0, l = lines.length; i < l; i++) { |
| 24 | lineToIndex[i] = prevIndex |
| 25 | prevIndex += lines[i].length + 1 |
| 26 | } |
| 27 | |
| 28 | input[lineToIndexCache] = lineToIndex |
| 29 | return lineToIndex |
| 30 | } |
| 31 | |
| 32 | class Input { |
| 33 | get from() { |
no outgoing calls
no test coverage detected
searching dependent graphs…