private boolean isGlobalVarReference ( String name , Scope s ) { Var v = s . getVar ( name ) ; if ( v == null && externsScope != null ) { v = externsScope . getVar ( name ) ; } return v != null && ! v . isLocal ( ) ; }
Determines whether a variable name reference in a particular scope is a global variable reference .