Doctrine


Doctrine\ORM\Query\AST\PathExpression
/Doctrine/ORM/Query/AST/PathExpression.php at line 42

Class PathExpression

Class:PathExpression - Superclass: Node
Node
⌊ PathExpression

public class PathExpression
extends Node

AssociationPathExpression ::= CollectionValuedPathExpression | SingleValuedAssociationPathExpression SingleValuedPathExpression ::= StateFieldPathExpression | SingleValuedAssociationPathExpression StateFieldPathExpression ::= SimpleStateFieldPathExpression | SimpleStateFieldAssociationPathExpression SingleValuedAssociationPathExpression ::= IdentificationVariable "." {SingleValuedAssociationField "."}* SingleValuedAssociationField CollectionValuedPathExpression ::= IdentificationVariable "." {SingleValuedAssociationField "."}* CollectionValuedAssociationField StateField ::= {EmbeddedClassStateField "."}* SimpleStateField SimpleStateFieldPathExpression ::= IdentificationVariable "." StateField SimpleStateFieldAssociationPathExpression ::= SingleValuedAssociationPathExpression "." StateField

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Version:
$Revision: 3938 $
Author:
Guilherme Blanco
Jonathan Wage
Roman Borschel

Field Summary
final int

TYPE_COLLECTION_VALUED_ASSOCIATION

final int

TYPE_SINGLE_VALUED_ASSOCIATION

final int

TYPE_STATE_FIELD

mixed

$expectedType

mixed

$identificationVariable

mixed

$parts

mixed

$type

Constructor Summary

PathExpression(mixed expectedType, mixed identificationVariable, mixed parts)

Method Summary
void

dispatch(mixed walker, $walker )

Double-dispatch method, supposed to dispatch back to the walker.

Methods inherited from Doctrine\ORM\Query\AST\Node
dispatch, dump

Field Detail

/Doctrine/ORM/Query/AST/PathExpression.php at line 44

TYPE_COLLECTION_VALUED_ASSOCIATION

public final int TYPE_COLLECTION_VALUED_ASSOCIATION = 2

/Doctrine/ORM/Query/AST/PathExpression.php at line 45

TYPE_SINGLE_VALUED_ASSOCIATION

public final int TYPE_SINGLE_VALUED_ASSOCIATION = 4

/Doctrine/ORM/Query/AST/PathExpression.php at line 46

TYPE_STATE_FIELD

public final int TYPE_STATE_FIELD = 8

/Doctrine/ORM/Query/AST/PathExpression.php at line 49

expectedType

public mixed $expectedType

/Doctrine/ORM/Query/AST/PathExpression.php at line 50

identificationVariable

public mixed $identificationVariable

/Doctrine/ORM/Query/AST/PathExpression.php at line 51

parts

public mixed $parts

/Doctrine/ORM/Query/AST/PathExpression.php at line 48

type

public mixed $type

Constructor Detail

/Doctrine/ORM/Query/AST/PathExpression.php at line 53

PathExpression

public PathExpression(mixed expectedType, mixed identificationVariable, mixed parts)

Method Detail

/Doctrine/ORM/Query/AST/PathExpression.php at line 60

dispatch

public void dispatch(mixed walker, $walker )

Double-dispatch method, supposed to dispatch back to the walker.

Implementation is not mandatory for all nodes.


Doctrine