|
@@ 585-597 (lines=13) @@
|
| 582 |
|
* |
| 583 |
|
* @return string |
| 584 |
|
*/ |
| 585 |
|
public function IdentificationVariable() { |
| 586 |
|
$this->match(Lexer::T_IDENTIFIER); |
| 587 |
|
|
| 588 |
|
$identVariable = $this->lexer->token['value']; |
| 589 |
|
|
| 590 |
|
$this->deferredIdentificationVariables[] = array( |
| 591 |
|
'expression' => $identVariable, |
| 592 |
|
'nestingLevel' => $this->nestingLevel, |
| 593 |
|
'token' => $this->lexer->token, |
| 594 |
|
); |
| 595 |
|
|
| 596 |
|
return $identVariable; |
| 597 |
|
} |
| 598 |
|
|
| 599 |
|
/** |
| 600 |
|
* AliasIdentificationVariable = identifier |
|
@@ 665-678 (lines=14) @@
|
| 662 |
|
* |
| 663 |
|
* @return string |
| 664 |
|
*/ |
| 665 |
|
public function ResultVariable() { |
| 666 |
|
$this->match(Lexer::T_IDENTIFIER); |
| 667 |
|
|
| 668 |
|
$resultVariable = $this->lexer->token['value']; |
| 669 |
|
|
| 670 |
|
// Defer ResultVariable validation |
| 671 |
|
$this->deferredResultVariables[] = array( |
| 672 |
|
'expression' => $resultVariable, |
| 673 |
|
'nestingLevel' => $this->nestingLevel, |
| 674 |
|
'token' => $this->lexer->token, |
| 675 |
|
); |
| 676 |
|
|
| 677 |
|
return $resultVariable; |
| 678 |
|
} |
| 679 |
|
|
| 680 |
|
/** |
| 681 |
|
* JoinAssociationPathExpression ::= IdentificationVariable "." (CollectionValuedAssociationField | SingleValuedAssociationField) |