Hierarchy

  • TagMatcher

Properties

Properties

pairs: (undefined | number)[]

Array mapping the index of a tag to the index of its matching tag.

tags: Tag[]

Array of tuples containing in the following order:

  • The tag's Token
  • Its starting position
  • Its ending position
  • Its tag name
  • Whether it's a closing tag
  • Whether it's not self-closing

The tags are sorted by their ending position

Generated using TypeDoc