setNext abstract method

Token setNext(
  1. Token token
)

Set the next token in the token stream to the given token. This has the side-effect of setting this token to be the previous token for the given token. Return the token that was passed in.

Implementation

Token setNext(Token token);