static void markNewScopesChanged ( Node node , AbstractCompiler compiler ) { if ( node . isFunction ( ) ) { compiler . reportChangeToChangeScope ( node ) ; } for ( Node child = node . getFirstChild ( ) ; child != null ; child = child . getNext ( ) ) { markNewScopesChanged ( child , compiler ) ; } }
Recurses through a tree marking all function nodes as changed .