fill method

void fill()

Get all tokens from lexer until EOF */

Implementation

void fill() {
  lazyInit();
  final blockSize = 1000;
  while (true) {
    final fetched = fetch(blockSize);
    if (fetched < blockSize) {
      return;
    }
  }
}