src/Statements/NotImplementedStatement.php 1 location
|
@@ 61-66 (lines=6) @@
|
58 |
|
*/ |
59 |
|
public function parse(Parser $parser, TokensList $list) |
60 |
|
{ |
61 |
|
for (; $list->idx < $list->count; ++$list->idx) { |
62 |
|
if ($list->tokens[$list->idx]->type === Token::TYPE_DELIMITER) { |
63 |
|
break; |
64 |
|
} |
65 |
|
$this->unknown[] = $list->tokens[$list->idx]; |
66 |
|
} |
67 |
|
} |
68 |
|
} |
69 |
|
|
src/Components/AlterOperation.php 1 location
|
@@ 188-193 (lines=6) @@
|
185 |
|
$ret->options = OptionsArray::parse($parser, $list, $options); |
186 |
|
|
187 |
|
if ($ret->options->has('AS')) { |
188 |
|
for (; $list->idx < $list->count; ++$list->idx) { |
189 |
|
if ($list->tokens[$list->idx]->type === Token::TYPE_DELIMITER) { |
190 |
|
break; |
191 |
|
} |
192 |
|
$ret->unknown[] = $list->tokens[$list->idx]; |
193 |
|
} |
194 |
|
break; |
195 |
|
} |
196 |
|
|
src/Statements/CreateStatement.php 2 locations
|
@@ 554-560 (lines=7) @@
|
551 |
|
} |
552 |
|
|
553 |
|
// Parsing the `AS` keyword. |
554 |
|
for (; $list->idx < $list->count; ++$list->idx) { |
555 |
|
$token = $list->tokens[$list->idx]; |
556 |
|
if ($token->type === Token::TYPE_DELIMITER) { |
557 |
|
break; |
558 |
|
} |
559 |
|
$this->body[] = $token; |
560 |
|
} |
561 |
|
} elseif ($this->options->has('TRIGGER')) { |
562 |
|
// Parsing the time and the event. |
563 |
|
$this->entityOptions = OptionsArray::parse( |
|
@@ 592-598 (lines=7) @@
|
589 |
|
$this->body[] = $token; |
590 |
|
} |
591 |
|
} else { |
592 |
|
for (; $list->idx < $list->count; ++$list->idx) { |
593 |
|
$token = $list->tokens[$list->idx]; |
594 |
|
if ($token->type === Token::TYPE_DELIMITER) { |
595 |
|
break; |
596 |
|
} |
597 |
|
$this->body[] = $token; |
598 |
|
} |
599 |
|
} |
600 |
|
} |
601 |
|
} |