match property

Token? match
getter/setter pair

For opening tokens (e.g. (), the matching closing token ()), and vice-versa.

This information can be used to improve error recovery in the parser later.

Implementation

Token? match;