Sstalle\php7cc\NodeVisitor\YieldInExpressionContextVisitor::leaveNode PHP Method

leaveNode() public method

public leaveNode ( PhpParser\Node $node )
$node PhpParser\Node
    public function leaveNode(Node $node)
    {
        if (!$this->expressionStack->isEmpty() && $node === $this->expressionStack->top()) {
            $this->expressionStack->pop();
        }
    }
YieldInExpressionContextVisitor