setNextWithoutSettingPrevious method

  1. @override
Token setNextWithoutSettingPrevious(
  1. Token token
)
inherited

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;
}