I don't know when, but some time between May and now, syntax::parse::parser::Parser::check
became private. Is there an alternative?
(Sorry, I'm not very familiar with syntax plugins.)
I don't know when, but some time between May and now, syntax::parse::parser::Parser::check
became private. Is there an alternative?
(Sorry, I'm not very familiar with syntax plugins.)
Looks like I can write this:
parser.look_ahead(0, |x| x == my_token)
But it's obviously a hack.
Edit: And it doesn't add to the expected tokens, either.