(src: string)
| 617 | } |
| 618 | |
| 619 | escape(src: string): Tokens.Escape | undefined { |
| 620 | const cap = this.rules.inline.escape.exec(src); |
| 621 | if (cap) { |
| 622 | return { |
| 623 | type: 'escape', |
| 624 | raw: cap[0], |
| 625 | text: cap[1], |
| 626 | }; |
| 627 | } |
| 628 | } |
| 629 | |
| 630 | tag(src: string): Tokens.Tag | undefined { |
| 631 | const cap = this.rules.inline.tag.exec(src); |