pushAll method

void pushAll(
  1. List<Token> tokens
)

Pushes tokens so that tokens.first is read next.

Implementation

void pushAll(List<Token> tokens) {
  for (var i = tokens.length - 1; i >= 0; i--) {
    _stack.add(tokens[i]);
  }
}