PHP Class Pinq\Parsing\PhpParser\Visitors\FunctionLocatorVisitor

Author: Elliot Levin ([email protected])
Inheritance: extends PhpParser\NodeVisitorAbstract
Show file Open project: timetoogo/pinq

Public Methods

Method Description
__construct ( $filePath )
enterNode ( PhpParser\Node $node )
getLocatedFunctionNodesMap ( ) : LocatedFunctionNode[][]
leaveNode ( PhpParser\Node $node )

Private Methods

Method Description
foundFunctionNode ( LocatedFunctionNode $locatedNode )
getClosureNodeSignature ( Closure $node )
getFunctionDeclaration ( )
getFunctionLocation ( PhpParser\Node $node )
getFunctionNodeSignature ( Function_ $node )
getLocatedFunctionNode ( PhpParser\Node $node, FunctionSignature $signature )
getMethodNodeSignature ( ClassMethod $node )
getParameterExpressions ( array $parameters ) : ParameterExpression[]

Method Details

__construct() public method

public __construct ( $filePath )

enterNode() public method

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

getLocatedFunctionNodesMap() public method

public getLocatedFunctionNodesMap ( ) : LocatedFunctionNode[][]
return Pinq\Parsing\PhpParser\LocatedFunctionNode[][]

leaveNode() public method

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