Class Environment.WrappedVarRef
java.lang.Object
com.oracle.truffle.js.parser.env.Environment.VarRef
com.oracle.truffle.js.parser.env.Environment.WrappedVarRef
-
Field Summary
Fields inherited from class com.oracle.truffle.js.parser.env.Environment.VarRef
name -
Constructor Summary
ConstructorsConstructorDescriptionWrappedVarRef(Object name, Environment.VarRef wrappee, com.oracle.truffle.js.parser.env.Environment.WrapClosure wrapClosure) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanisGlobal()withRequired(boolean required) Methods inherited from class com.oracle.truffle.js.parser.env.Environment.VarRef
getName, hasBeenDeclared, isConst, isFrameVar, setHasBeenDeclared, toString
-
Constructor Details
-
WrappedVarRef
public WrappedVarRef(Object name, Environment.VarRef wrappee, com.oracle.truffle.js.parser.env.Environment.WrapClosure wrapClosure)
-
-
Method Details
-
createReadNode
- Specified by:
createReadNodein classEnvironment.VarRef
-
createWriteNode
- Specified by:
createWriteNodein classEnvironment.VarRef
-
createDeleteNode
- Specified by:
createDeleteNodein classEnvironment.VarRef
-
createCompoundAssignNode
- Overrides:
createCompoundAssignNodein classEnvironment.VarRef
-
isFunctionLocal
public boolean isFunctionLocal()- Overrides:
isFunctionLocalin classEnvironment.VarRef
-
getFrameSlot
- Overrides:
getFrameSlotin classEnvironment.VarRef
-
isGlobal
public boolean isGlobal()- Overrides:
isGlobalin classEnvironment.VarRef
-
getWrappee
-
withTDZCheck
- Overrides:
withTDZCheckin classEnvironment.VarRef
-
withRequired
- Overrides:
withRequiredin classEnvironment.VarRef
-
hasTDZCheck
public boolean hasTDZCheck()- Overrides:
hasTDZCheckin classEnvironment.VarRef
-