(state: StateInline, silent: bool)
| 6 | |
| 7 | |
| 8 | def text(state: StateInline, silent: bool) -> bool: |
| 9 | pos = state.pos |
| 10 | posMax = state.posMax |
| 11 | |
| 12 | terminator_char = state.md.inline.terminator_re.search(state.src, pos) |
| 13 | pos = terminator_char.start() if terminator_char else posMax |
| 14 | |
| 15 | if pos == state.pos: |
| 16 | return False |
| 17 | |
| 18 | if not silent: |
| 19 | state.pending += state.src[state.pos : pos] |
| 20 | |
| 21 | state.pos = pos |
| 22 | |
| 23 | return True |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…