| 151 | true |
| 152 | ) |
| 153 | ) |
| 154 | }) |
| 155 | } else { |
| 156 | val o: Set<Consumer<Quad<Box, Int, String, Boolean>?>> = box.find( |
| 157 | directedOutput, box.upwards() |
| 158 | ) |
| 159 | .collect(Collectors.toSet()) |
| 160 | if (o.size > 0) { |
| 161 | o.forEach(Consumer { x: Consumer<Quad<Box, Int, String, Boolean>?> -> |
| 162 | x.accept( |
| 163 | Quad( |
| 164 | currentLineNumber!!.first, currentLineNumber!!.second, s, |
| 165 | currentLineNumber!!.third |
| 166 | ) |
| 167 | ) |
| 168 | }) |
| 169 | } else { |
| 170 | o.forEach(Consumer { x: Consumer<Quad<Box, Int, String, Boolean>?> -> |
| 171 | x.accept( |
| 172 | Quad( |
| 173 | box, |
| 174 | -1, |
| 175 | s, |
| 176 | true |
| 177 | ) |
| 178 | ) |
| 179 | }) |
| 180 | } |
| 181 | } |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | @Throws(IOException::class) |
| 186 | override fun flush() { |
| 187 | } |
| 188 | |
| 189 | @Throws(IOException::class) |
| 190 | override fun close() { |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | return object : Execution.ExecutionSupport { |
| 195 | |
| 196 | var lineOffset = 0 |
| 197 | |
| 198 | internal var uniq: Long = 0 |
| 199 | |
| 200 | override fun executeTextFragment( |
| 201 | textFragment: String, |
| 202 | suffix: String, |
| 203 | success: Consumer<String>, |
| 204 | lineErrors: Consumer<Pair<Int, String>> |
| 205 | ): Any? { |
| 206 | var textFragment = textFragment |
no test coverage detected