public static IScope findRoot ( IScope from ) { IScope current = from ; while ( current . hasParent ( ) ) { current = current . getParent ( ) ; } return current ; }
Finds root scope for specified scope object . Root scope is the top level scope among scope s parents .