PathExpression
extends Node
in package
AssociationPathExpression ::= CollectionValuedPathExpression | SingleValuedAssociationPathExpression SingleValuedPathExpression ::= StateFieldPathExpression | SingleValuedAssociationPathExpression StateFieldPathExpression ::= SimpleStateFieldPathExpression | SimpleStateFieldAssociationPathExpression SingleValuedAssociationPathExpression ::= IdentificationVariable "." SingleValuedAssociationField CollectionValuedPathExpression ::= IdentificationVariable "." CollectionValuedAssociationField StateField ::= {EmbeddedClassStateField "."}* SimpleStateField SimpleStateFieldPathExpression ::= IdentificationVariable "." StateField
Table of Contents
Constants
Properties
- $expectedType : int
- $field : string|null
- $identificationVariable : string
- $type : int|null
Methods
- __construct() : mixed
- __toString() : string
- Dumps the AST Node into a string representation for information purpose only.
- dispatch() : string
- Double-dispatch method, supposed to dispatch back to the walker.
- dump() : string
Constants
TYPE_COLLECTION_VALUED_ASSOCIATION
public
mixed
TYPE_COLLECTION_VALUED_ASSOCIATION
= 2
TYPE_SINGLE_VALUED_ASSOCIATION
public
mixed
TYPE_SINGLE_VALUED_ASSOCIATION
= 4
TYPE_STATE_FIELD
public
mixed
TYPE_STATE_FIELD
= 8
Properties
$expectedType
public
int
$expectedType
Tags
$field
public
string|null
$field
$identificationVariable
public
string
$identificationVariable
$type
public
int|null
$type
Tags
Methods
__construct()
public
__construct(int $expectedType, string $identificationVariable[, string|null $field = null ]) : mixed
Parameters
- $expectedType : int
- $identificationVariable : string
- $field : string|null = null
Tags
__toString()
Dumps the AST Node into a string representation for information purpose only.
public
__toString() : string
Return values
stringdispatch()
Double-dispatch method, supposed to dispatch back to the walker.
public
dispatch(mixed $walker) : string
Parameters
- $walker : mixed
Return values
stringdump()
public
dump(mixed $value) : string
Parameters
- $value : mixed