emitToken method

void emitToken(
  1. Token token
)
inherited

By default does not support multiple emits per nextToken invocation for efficiency reasons. Subclass and override this method, nextToken, and getToken (to push tokens into a list and pull from that list rather than a single variable as this implementation does).

Implementation

void emitToken(Token token) {
  //System.err.println("emit "+token);
  _token = token;
}