Class Environment.VarRef
java.lang.Object
com.oracle.truffle.js.parser.env.Environment.VarRef
- Direct Known Subclasses:
Environment.AbstractFrameVarRef,Environment.GlobalLexVarRef,Environment.GlobalVarRef,Environment.WrappedVarRef
- Enclosing class:
Environment
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract JavaScriptNodeabstract JavaScriptNodeabstract JavaScriptNodecom.oracle.truffle.api.strings.TruffleStringgetName()booleanbooleanbooleanisConst()booleanbooleanbooleanisGlobal()voidsetHasBeenDeclared(boolean declared) toString()withRequired(boolean required)
-
Field Details
-
name
-
-
Constructor Details
-
VarRef
-
-
Method Details
-
createReadNode
-
createWriteNode
-
isFunctionLocal
public boolean isFunctionLocal() -
isFrameVar
public boolean isFrameVar() -
isGlobal
public boolean isGlobal() -
isConst
public boolean isConst() -
getFrameSlot
-
getName
public com.oracle.truffle.api.strings.TruffleString getName() -
createDeleteNode
-
createCompoundAssignNode
-
withTDZCheck
-
withRequired
-
hasTDZCheck
public boolean hasTDZCheck() -
hasBeenDeclared
public boolean hasBeenDeclared() -
setHasBeenDeclared
public void setHasBeenDeclared(boolean declared) -
toString
-