protected boolean atAnyOfTokens(Set<TokenKind> kinds){
  return kinds.contains(currentToken());
}

protected boolean atAnyOfTokens ( Set < TokenKind > kinds ) { return kinds . contains ( currentToken ( ) ) ; }
checks if the current token matches any one of the expected kinds . doesn ' t advance the parser .
