skipExtraneous method Null safety

void skipExtraneous(
  1. TokenType type
)

Implementation

void skipExtraneous(TokenType type) {
  while (next(type)) {
    // Skip...
  }
}