Lexer.emit

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).

  1. void emit(Token token)
    class Lexer
    void
    emit
  2. Token emit()

Meta