The after function makes the parser jump straight to the first delimiter.
Author: Dan Ungureanu (udan1107@gmail.com)
Inheritance: extends SqlParser\Statement
Example #1
0
 /**
  * Extracts the name of affected column.
  *
  * @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.
  *
  * @return void
  */
 public function after(Parser $parser, TokensList $list, Token $token)
 {
     // Parsing operation.
     ++$list->idx;
     $this->options->merge(OptionsFragment::parse($parser, $list, static::$OPTIONS));
     // Parsing affected field.
     ++$list->idx;
     $this->altered = FieldFragment::parse($parser, $list);
     //
     parent::after($parser, $list, $token);
 }