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
- TYPE_COLLECTION_VALUED_ASSOCIATION = 2
- TYPE_SINGLE_VALUED_ASSOCIATION = 4
- TYPE_STATE_FIELD = 8
- $expectedType : int
- $field : string|null
- $identificationVariable : string
- $type : int
- __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
$field
public
string|null
$field
$identificationVariable
public
string
$identificationVariable
$type
public
int
$type
Methods
__construct()
public
__construct(int $expectedType, string $identificationVariable[, string|null $field = null ]) : mixed
Parameters
- $expectedType : int
- $identificationVariable : string
- $field : string|null = null
Return values
mixed —__toString()
Dumps the AST Node into a string representation for information purpose only.
public
__toString() : string
Return values
string —dispatch()
Double-dispatch method, supposed to dispatch back to the walker.
public
dispatch(mixed $walker) : string
Parameters
- $walker : mixed
Return values
string —dump()
public
dump(object $obj) : string
Parameters
- $obj : object