Hierarchy

Properties

Properties

brackets: Bracket[]

Array of tuples containing in the following order:

  • The bracket's Token
  • Its starting position
  • Its level of nesting
  • Its text content
  • Whether it's an opening bracket
  • Its ending position

The order will likely change in the next major release

pairs: (undefined | number)[]

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

Generated using TypeDoc