(src: str, pos: Pos, chars: Iterable[str])
| 304 | |
| 305 | |
| 306 | def skip_chars(src: str, pos: Pos, chars: Iterable[str]) -> Pos: |
| 307 | try: |
| 308 | while src[pos] in chars: |
| 309 | pos += 1 |
| 310 | except IndexError: |
| 311 | pass |
| 312 | return pos |
| 313 | |
| 314 | |
| 315 | def skip_until( |
no outgoing calls
no test coverage detected
searching dependent graphs…