public function preParseUses(array $nodes, PhpFileModelInterface $parent): void
    {
        foreach ($nodes as $node) {
            if ($node instanceof Use_) {
                $this->useNodeParser->invoke($node, $parent);
            } else {
                if ($node instanceof GroupUse) {
                    $this->groupUseNodeParser->invoke($node, $parent);
                }
            }
        }
    }
public function preParseUses(array $nodes, PhpFileModelInterface $parent): void
    {
        foreach ($nodes as $node) {
            if ($node instanceof Use_) {
                $this->useNodeParser->invoke($node, $parent);
            } else {
                if ($node instanceof GroupUse) {
                    $this->groupUseNodeParser->invoke($node, $parent);
                }
            }
        }
    }
public function preParseUses ( array $ nodes , PhpFileModelInterface $ parent ) : void { foreach ( $ nodes as $ node ) { if ( $ node instanceof Use_ ) { $ this -> useNodeParser -> invoke ( $ node , $ parent ) ; } else { if ( $ node instanceof GroupUse ) { $ this -> groupUseNodeParser -> invoke ( $ node , $ parent ) ; } } } }
Pre parse uses in nodes.

@param array                 $nodes  The nodes to parse to find uses.
@param PhpFileModelInterface $parent The parent to update.
Pre parse uses in nodes .