public class ScopeManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
defineVariable(org.mozilla.javascript.Scriptable scope,
java.lang.String variableName,
java.lang.Object object) |
static org.mozilla.javascript.Scriptable |
getPublicScope()
Gets the publicScope attribute of the ScopeManager class
|
static org.mozilla.javascript.Scriptable |
getScopeForModel(IModel m)
Gets the scopeForModel attribute of the ScopeManager class
|
static java.lang.Object |
getVariable(org.mozilla.javascript.Scriptable scope,
java.lang.String variableName) |
static org.mozilla.javascript.Scriptable |
newScope(org.mozilla.javascript.Scriptable scriptable) |
public static org.mozilla.javascript.Scriptable getPublicScope()
public static org.mozilla.javascript.Scriptable getScopeForModel(IModel m)
m
- Description of the Parameterpublic static org.mozilla.javascript.Scriptable newScope(org.mozilla.javascript.Scriptable scriptable)
public static void defineVariable(org.mozilla.javascript.Scriptable scope, java.lang.String variableName, java.lang.Object object)
scope
- variableName
- object
- public static java.lang.Object getVariable(org.mozilla.javascript.Scriptable scope, java.lang.String variableName)