Class Environment.FrameSlotVarRef
java.lang.Object
com.oracle.truffle.js.parser.env.Environment.VarRef
com.oracle.truffle.js.parser.env.Environment.AbstractFrameVarRef
com.oracle.truffle.js.parser.env.Environment.FrameSlotVarRef
- Enclosing class:
Environment
-
Field Summary
FieldsFields inherited from class com.oracle.truffle.js.parser.env.Environment.AbstractFrameVarRef
frameLevel, resolvedEnv, scopeLevelFields inherited from class com.oracle.truffle.js.parser.env.Environment.VarRef
name -
Constructor Summary
ConstructorsConstructorDescriptionFrameSlotVarRef(JSFrameSlot frameSlot, int scopeLevel, int frameLevel, Object name, Environment current) FrameSlotVarRef(JSFrameSlot frameSlot, int scopeLevel, int frameLevel, Object name, Environment current, boolean checkTDZ) -
Method Summary
Methods inherited from class com.oracle.truffle.js.parser.env.Environment.AbstractFrameVarRef
createDeleteNode, createScopeFrameNode, getFrameLevel, getScopeLevel, isFunctionLocal, isGlobal, isInCurrentFunctionFrameMethods inherited from class com.oracle.truffle.js.parser.env.Environment.VarRef
createCompoundAssignNode, getName, hasBeenDeclared, isFrameVar, setHasBeenDeclared, toString, withRequired
-
Field Details
-
frameSlot
-
-
Constructor Details
-
FrameSlotVarRef
public FrameSlotVarRef(JSFrameSlot frameSlot, int scopeLevel, int frameLevel, Object name, Environment current) -
FrameSlotVarRef
public FrameSlotVarRef(JSFrameSlot frameSlot, int scopeLevel, int frameLevel, Object name, Environment current, boolean checkTDZ)
-
-
Method Details
-
getFrameSlot
- Overrides:
getFrameSlotin classEnvironment.VarRef
-
isConst
public boolean isConst()- Overrides:
isConstin classEnvironment.VarRef
-
createReadNode
- Specified by:
createReadNodein classEnvironment.VarRef
-
createWriteNode
- Specified by:
createWriteNodein classEnvironment.VarRef
-
withTDZCheck
- Overrides:
withTDZCheckin classEnvironment.VarRef
-
hasTDZCheck
public boolean hasTDZCheck()- Overrides:
hasTDZCheckin classEnvironment.VarRef
-