Commits
Click on a commit to change the comparison rangefeat(parser): introduce `ParserImpl::token_source` method (#11737)
Introduce `ParserImpl::token_source` to get the source text corresponding to a `Token`.
Also:
* Use this method in `ParserImpl::cur_src`.
* Add a separate path to check validity of the string slice operation in debug mode.
* Add `#[inline]` to `cur_src`. As we're using unchecked slicing, this method is only a few instructions.4 days ago
by overlookmotel