public abstract class Environment.AbstractFrameVarRef extends Environment.VarRef
| Modifier and Type | Field and Description |
|---|---|
protected int |
frameLevel |
protected Environment |
resolvedEnv |
protected int |
scopeLevel |
name| Constructor and Description |
|---|
AbstractFrameVarRef(int scopeLevel,
int frameLevel,
Object name,
Environment resolvedEnv) |
| Modifier and Type | Method and Description |
|---|---|
JavaScriptNode |
createDeleteNode() |
ScopeFrameNode |
createScopeFrameNode() |
int |
getFrameLevel() |
int |
getScopeLevel() |
boolean |
isFunctionLocal() |
boolean |
isGlobal() |
protected boolean |
isInCurrentFunctionFrame() |
createCompoundAssignNode, createReadNode, createWriteNode, getFrameSlot, getName, hasBeenDeclared, hasTDZCheck, isConst, isFrameVar, setHasBeenDeclared, toString, withRequired, withTDZCheckprotected final int scopeLevel
protected final int frameLevel
protected final Environment resolvedEnv
public AbstractFrameVarRef(int scopeLevel,
int frameLevel,
Object name,
Environment resolvedEnv)
public int getScopeLevel()
public int getFrameLevel()
public boolean isFunctionLocal()
isFunctionLocal in class Environment.VarRefpublic boolean isGlobal()
isGlobal in class Environment.VarRefpublic JavaScriptNode createDeleteNode()
createDeleteNode in class Environment.VarRefpublic ScopeFrameNode createScopeFrameNode()
protected boolean isInCurrentFunctionFrame()