protected boolean matchesAnyOf(Set<TokenKind> kinds){
  if (kinds.contains(currentToken())) {
    builder.advanceLexer();
    return true;
  }
  return false;
}

protected boolean matchesAnyOf ( Set < TokenKind > kinds ) { if ( kinds . contains ( currentToken ( ) ) ) { builder . advanceLexer ( ) ; return true ; } return false ; }
consumes the current token iff it ' s one of the expected types . otherwise , returns false
