public function enterNode(Node $node)
    {
        if ($node instanceof ConstFetch || $node instanceof FuncCall) {
            $node->name = null;
        }

        if ($node instanceof FullyQualified) {
            $this->names[] = $node->toString();
        }

        return $node;
    }
public function enterNode(Node $node)
    {
        if ($node instanceof ConstFetch || $node instanceof FuncCall) {
            $node->name = null;
        }

        if ($node instanceof FullyQualified) {
            $this->names[] = $node->toString();
        }

        return $node;
    }
public function enterNode ( Node $ node ) { if ( $ node instanceof ConstFetch || $ node instanceof FuncCall ) { $ node -> name = null ; } if ( $ node instanceof FullyQualified ) { $ this -> names [ ] = $ node -> toString ( ) ; } return $ node ; }
Enter the node and record the name.

@param \PhpParser\Node $node

@return \PhpParser\Node
Enter the node and record the name .