- createGlobalScope
- declare
Declares a variable.
- getArgumentsVar
Get a unique VAR object to represents "arguments" within this scope
- getClosestHoistScope
If a var were declared in this scope, return the scope it would be hoisted to.
For function scopes,
- getDepth
The depth of the scope. The global scope has depth 0.
- getGlobalScope
- getOwnSlot
- getParent
- getRootNode
Gets the container node of the scope. This is typically the FUNCTION node or the
global BLOCK/SCRIPT
- getVar
Returns the variable, may be null
- getVarCount
Returns number of variables in this scope (excluding the special 'arguments'
variable)
- getVarIterable
Return an iterable over all of the variables declared in this scope (except the
special 'arguments'