New to PHP here. I am using PHP-Parser by nikic.
I would like to remove all nodes that are not type Node\\Stmt\\Function_.
Node\\Stmt\\Function_
I currently can do this via