(state: StateInline, silent: boolean)
| 81 | } |
| 82 | |
| 83 | function inline(state: StateInline, silent: boolean): boolean { |
| 84 | if (!state.src.startsWith(OPEN, state.pos)) return false; |
| 85 | |
| 86 | const tagEnd = findTagEnd(state.src, state.pos); |
| 87 | if (!tagEnd) return false; |
| 88 | |
| 89 | const content = state.src.slice(state.pos + OPEN.length, tagEnd); |
| 90 | if (!silent) createToken(state, content.trim()); |
| 91 | |
| 92 | state.pos = tagEnd + CLOSE.length; |
| 93 | return true; |
| 94 | } |
| 95 | |
| 96 | function core(state: StateCore) { |
| 97 | let token: Token; |
nothing calls this directly
no test coverage detected
searching dependent graphs…