- All Superinterfaces:
ConstProperties<VarScope>,PropHolder<VarScope>,Serializable
- All Known Implementing Classes:
AInterpreter.DebugScope,CatchScope,DeclarationScope,FunctionScope,Global,ImporterTopLevel,LocalScope,ModuleScope,NativeCall,ScopeObject,TopLevel,WithScope
Interface that represents an the bindings of an ECMAScript environment record. Unlike
Scriptable scopes do not have prototypes.-
Method Summary
Methods inherited from interface org.htmlunit.corejs.javascript.ConstProperties
defineConst, isConst, putConst
-
Method Details
-
getParentScope
VarScope getParentScope()Get the parent scope of this scope.- Returns:
- the parent scope
-
getAncestor
Description copied from interface:PropHolderGet the parent scope of the object.- Specified by:
getAncestorin interfacePropHolder<VarScope>- Returns:
- the parent scope
-
isNestedScope
default boolean isNestedScope() -
copyScope
-