code: public boolean matchesAnyOf( int[] typeOptions ) throws IllegalStateException {
          if (completed) return false;
          int currentType = currentToken().type();
          for (int nextTypeOption : typeOptions) {
              if (currentType == nextTypeOption) return true;
          }
          return false;
      }
docs: Determine if the next token have one of the supplied types.
  
  @param typeOptions the options for the type of the current token
  @return true if the current token's type matched one of the supplied options, or false otherwise
  @throws IllegalStateException if this method was called before the stream was {@link #start() started}