class PathExpression extends Node (View source)

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

Constants

TYPE_COLLECTION_VALUED_ASSOCIATION

TYPE_SINGLE_VALUED_ASSOCIATION

TYPE_STATE_FIELD

Properties

int $type
int $expectedType
string $identificationVariable
string|null $field

Methods

dispatch(SqlWalker $walker)

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

string
__toString()

Dumps the AST Node into a string representation for information purpose only.

from Node
string
dump(object $obj)

No description

from Node
__construct(int $expectedType, string $identificationVariable, string|null $field = null)

No description

Details

dispatch(SqlWalker $walker)

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

Implementation is not mandatory for all nodes.

Parameters

SqlWalker $walker

Exceptions

ASTException

string __toString()

Dumps the AST Node into a string representation for information purpose only.

Return Value

string

string dump(object $obj)

Parameters

object $obj

Return Value

string

__construct(int $expectedType, string $identificationVariable, string|null $field = null)

Parameters

int $expectedType
string $identificationVariable
string|null $field