protected boolean expect(TokenKind kind,boolean alwaysConsume){
  return expect(kind,String.format("'%s' expected",kind),alwaysConsume);
}

protected boolean expect ( TokenKind kind , boolean alwaysConsume ) { return expect ( kind , String . format ( "'%s' expected" , kind ) , alwaysConsume ) ; }
consumes the current token if ' alwaysconsume ' is true or if it ' s one of the expected types . < br > otherwise , returns false and reports an error .
