Package com.schibsted.spt.data.jslt.impl
Class ScopeManager.ScopeFrame
java.lang.Object
com.schibsted.spt.data.jslt.impl.ScopeManager.ScopeFrame
- Enclosing class:
ScopeManager
A scope frame is smaller than a stack frame: each object, object
comprehension, for expression, and if expression will have its
own scope frame. These need to be handled separately because of
the shadowing of variables.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private ScopeManager.StackFrame
private Map
<String, VariableInfo> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
registerVariable
(VariableInfo variable) resolveVariable
(String name)
-
Field Details
-
inFunction
private boolean inFunction -
parent
-
variables
-
-
Constructor Details
-
ScopeFrame
-
-
Method Details
-
registerVariable
-
resolveVariable
-