void removeScopesForScript ( String scriptName ) { memoized . keySet ( ) . removeIf ( n -> scriptName . equals ( NodeUtil . getSourceName ( n ) ) ) ; }
Removes all scopes with root nodes from a given script file .