Phan\Analysis\ScopeVisitor::visit PHP Méthode

visit() public méthode

Default visitor for node kinds that do not have an overriding method
public visit ( ast\Node $node ) : Context
$node ast\Node A node to parse
Résultat Phan\Language\Context A new or an unchanged context resulting from parsing the node
    public function visit(Node $node) : Context
    {
        // Many nodes don't change the context and we
        // don't need to read them.
        return $this->context;
    }