setNextWithoutSettingPrevious method
Set the next token in the token stream to the given token without changing which token is the previous token for the given token. Return the token that was passed in.
Implementation
@override
Token? setNextWithoutSettingPrevious(Token? token) {
next = token;
return token;
}