@@ -346,6 +346,11 @@ |
||
| 346 | 346 | } |
| 347 | 347 | |
| 348 | 348 | |
| 349 | + /** |
|
| 350 | + * @param Parser $parser |
|
| 351 | + * @param TokensList $list |
|
| 352 | + * @param integer $state |
|
| 353 | + */ |
|
| 349 | 354 | public function parseKeywordsAccordingToState($parser, $list, $state) { |
| 350 | 355 | $token = $list->tokens[$list->idx]; |
| 351 | 356 | |
@@ -7,14 +7,8 @@ |
||
| 7 | 7 | namespace PhpMyAdmin\SqlParser\Statements; |
| 8 | 8 | |
| 9 | 9 | use PhpMyAdmin\SqlParser\Components\ArrayObj; |
| 10 | -use PhpMyAdmin\SqlParser\Components\Condition; |
|
| 11 | 10 | use PhpMyAdmin\SqlParser\Components\Expression; |
| 12 | 11 | use PhpMyAdmin\SqlParser\Components\ExpressionArray; |
| 13 | -use PhpMyAdmin\SqlParser\Components\FunctionCall; |
|
| 14 | -use PhpMyAdmin\SqlParser\Components\IntoKeyword; |
|
| 15 | -use PhpMyAdmin\SqlParser\Components\JoinKeyword; |
|
| 16 | -use PhpMyAdmin\SqlParser\Components\Limit; |
|
| 17 | -use PhpMyAdmin\SqlParser\Components\OrderKeyword; |
|
| 18 | 12 | use PhpMyAdmin\SqlParser\Components\OptionsArray; |
| 19 | 13 | use PhpMyAdmin\SqlParser\Components\SetOperation; |
| 20 | 14 | use PhpMyAdmin\SqlParser\Parser; |
@@ -233,10 +233,10 @@ |
||
| 233 | 233 | ++$list->idx; |
| 234 | 234 | |
| 235 | 235 | /** |
| 236 | - * The state of the parser. |
|
| 237 | - * |
|
| 238 | - * @var int |
|
| 239 | - */ |
|
| 236 | + * The state of the parser. |
|
| 237 | + * |
|
| 238 | + * @var int |
|
| 239 | + */ |
|
| 240 | 240 | $state = 0; |
| 241 | 241 | |
| 242 | 242 | for (; $list->idx < $list->count; ++$list->idx) { |