PHP Class Sstalle\php7cc\NodeVisitor\AbstractNestedLoopVisitor

Inheritance: extends AbstractVisitor
Datei anzeigen Open project: sstalle/php7cc Class Usage Examples

Public Methods

Method Description
beforeTraverse ( array $nodes )
enterNode ( PhpParser\Node $node )
leaveNode ( PhpParser\Node $node )

Protected Methods

Method Description
getCurrentLoopStack ( ) : SplStack
isTargetLoopNode ( PhpParser\Node $node ) : boolean

Method Details

beforeTraverse() public method

public beforeTraverse ( array $nodes )
$nodes array

enterNode() public method

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

getCurrentLoopStack() protected method

protected getCurrentLoopStack ( ) : SplStack
return SplStack

isTargetLoopNode() abstract protected method

abstract protected isTargetLoopNode ( PhpParser\Node $node ) : boolean
$node PhpParser\Node
return boolean

leaveNode() public method

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