Expel us from the given file, it is no longer an option for us. Args: file_match (FileMatch): context representing a source file
(self, file_match)
| 182 | self.selfCheck() |
| 183 | |
| 184 | def expel(self, file_match): |
| 185 | """Expel us from the given file, it is no longer an option for us. |
| 186 | |
| 187 | Args: |
| 188 | file_match (FileMatch): context representing a source file |
| 189 | """ |
| 190 | if file_match in self.files: |
| 191 | self.files.remove(file_match) |
| 192 | # propagate this new information internally |
| 193 | self.selfCheck() |
| 194 | |
| 195 | def isFileSuitable(self, src_ctx): |
| 196 | """Check if the given source context can be a possible match, judging only by the files of both contexts. |