PHP 클래스 Trismegiste\Mondrian\Visitor\Vertex\ObjectLevelHelper

상속: extends Trismegiste\Mondrian\Visitor\State\AbstractObjectLevel
파일 보기 프로젝트 열기: trismegiste/mondrian

공개 메소드들

메소드 설명
enter ( PhpParser\Node $node )

보호된 메소드들

메소드 설명
enterPublicMethod ( $fqcn, ClassMethod $node )
pushImplementation ( ClassMethod $node, $index ) Adding a new vertex if the implementation is not already indexed
pushMethod ( ClassMethod $node, $index ) Adding a new vertex if the method is not already indexed Since it is a method, I'm also adding the parameters
pushParameter ( string $methodName, integer $order ) Add a parameter vertex. I must point out that I store the order of the parameter, not its name. Why ? Because, name can change accross inheritance tree. Therefore, it could fail the refactoring of the source from the digraph.

메소드 상세

enter() 최종 공개 메소드

final public enter ( PhpParser\Node $node )
$node PhpParser\Node

enterPublicMethod() 추상적인 보호된 메소드

abstract protected enterPublicMethod ( $fqcn, ClassMethod $node )
$node PhpParser\Node\Stmt\ClassMethod

pushImplementation() 보호된 메소드

Adding a new vertex if the implementation is not already indexed
protected pushImplementation ( ClassMethod $node, $index )
$node PhpParser\Node\Stmt\ClassMethod

pushMethod() 보호된 메소드

Adding a new vertex if the method is not already indexed Since it is a method, I'm also adding the parameters
protected pushMethod ( ClassMethod $node, $index )
$node PhpParser\Node\Stmt\ClassMethod

pushParameter() 보호된 메소드

Add a parameter vertex. I must point out that I store the order of the parameter, not its name. Why ? Because, name can change accross inheritance tree. Therefore, it could fail the refactoring of the source from the digraph.
protected pushParameter ( string $methodName, integer $order )
$methodName string like 'FQCN::method'
$order integer