public abstract class Environment.AbstractFrameVarRef extends Environment.VarRef
Modifier and Type | Field and Description |
---|---|
protected Environment |
current |
protected int |
frameLevel |
protected int |
scopeLevel |
name
Constructor and Description |
---|
AbstractFrameVarRef(int scopeLevel,
int frameLevel,
String name,
Environment current) |
Modifier and Type | Method and Description |
---|---|
int |
getFrameLevel() |
int |
getScopeLevel() |
boolean |
isFunctionLocal() |
boolean |
isGlobal() |
createCompoundAssignNode, createDeleteNode, createReadNode, createWriteNode, getFrameSlot, getName, isConst, isFrameVar, withRequired, withTDZCheck
protected final int scopeLevel
protected final int frameLevel
protected final Environment current
public AbstractFrameVarRef(int scopeLevel, int frameLevel, String name, Environment current)
public int getScopeLevel()
public int getFrameLevel()
public boolean isFunctionLocal()
isFunctionLocal
in class Environment.VarRef
public boolean isGlobal()
isGlobal
in class Environment.VarRef