PHP Class Trismegiste\Mondrian\Visitor\VisitorGateway

CoR / State / Visitor
Inheritance: extends PhpParser\NodeVisitorAbstract, implements Trismegiste\Mondrian\Visitor\State\VisitorContext
Afficher le fichier Open project: trismegiste/mondrian Class Usage Examples

Protected Properties

Свойство Type Description
$graph
$graphCtx
$reflectionCtx
$stateList array Map of state
$stateStack array Stack of previous state

Méthodes publiques

Méthode Description
__construct ( array $visitor, ReflectionContext $ref, GraphContext $grf, Trismegiste\Mondrian\Graph\Graph $g ) Ctor
enterNode ( PhpParser\Node $node )
getGraph ( )
getGraphContext ( )
getNodeFor ( $stateKey )
getReflectionContext ( )
getState ( $stateKey )
leaveNode ( PhpParser\Node $node )
pushState ( $stateKey, PhpParser\Node $node )

Method Details

__construct() public méthode

Ctor
public __construct ( array $visitor, ReflectionContext $ref, GraphContext $grf, Trismegiste\Mondrian\Graph\Graph $g )
$visitor array a list of State
$ref Trismegiste\Mondrian\Transform\ReflectionContext
$grf Trismegiste\Mondrian\Transform\GraphContext
$g Trismegiste\Mondrian\Graph\Graph

enterNode() public méthode

public enterNode ( PhpParser\Node $node )
$node PhpParser\Node

getGraph() public méthode

public getGraph ( )

getGraphContext() public méthode

public getGraphContext ( )

getNodeFor() public méthode

public getNodeFor ( $stateKey )

getReflectionContext() public méthode

getState() public méthode

public getState ( $stateKey )

leaveNode() public méthode

public leaveNode ( PhpParser\Node $node )
$node PhpParser\Node

pushState() public méthode

public pushState ( $stateKey, PhpParser\Node $node )
$node PhpParser\Node

Property Details

$graph protected_oe property

protected $graph

$graphCtx protected_oe property

protected $graphCtx

$reflectionCtx protected_oe property

protected $reflectionCtx

$stateList protected_oe property

Map of state
protected array $stateList
Résultat array

$stateStack protected_oe property

Stack of previous state
protected array $stateStack
Résultat array