public function before(Parser $parser, TokensList $list, Token $token)
    {
        if (($token->type === Token::TYPE_KEYWORD) && ($token->keyword === 'RENAME')) {
            // Checking if it is the beginning of the query.
            $list->getNextOfTypeAndValue(Token::TYPE_KEYWORD, 'TABLE');
        }
    }
public function before(Parser $parser, TokensList $list, Token $token)
    {
        if (($token->type === Token::TYPE_KEYWORD) && ($token->keyword === 'RENAME')) {
            // Checking if it is the beginning of the query.
            $list->getNextOfTypeAndValue(Token::TYPE_KEYWORD, 'TABLE');
        }
    }
public function before ( Parser $ parser , TokensList $ list , Token $ token ) { if ( ( $ token -> type === Token :: TYPE_KEYWORD ) && ( $ token -> keyword === 'RENAME' ) ) { // Checking if it is the beginning of the query. $ list -> getNextOfTypeAndValue ( Token :: TYPE_KEYWORD , 'TABLE' ) ; } }
Function called before the token is processed.

Skips the `TABLE` keyword after `RENAME`.

@param Parser     $parser the instance that requests parsing
@param TokensList $list   the list of tokens to be parsed
@param Token      $token  the token that is being parsed
Function called before the token is processed .