Class JSFrameSlot
java.lang.Object
com.oracle.truffle.js.nodes.JSFrameSlot
Describes a JS frame slot. Used as a temporary representation during parsing.
-
Constructor Summary
ConstructorsConstructorDescriptionJSFrameSlot(int index, Object identifier, int flags, com.oracle.truffle.api.frame.FrameSlotKind kind) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic JSFrameSlotfromIndexedFrameSlot(com.oracle.truffle.api.frame.FrameDescriptor desc, int index) intgetFlags()intgetIndex()getInfo()com.oracle.truffle.api.frame.FrameSlotKindgetKind()intbooleanHas this symbol been declared.inthashCode()static booleanisAllowedIdentifierType(Object identifier) voidsetHasBeenDeclared(boolean declared) Mark this symbol as declared/undeclared.voidsetMappedParameterIndex(int mappedParameterIndex) toString()
-
Constructor Details
-
JSFrameSlot
public JSFrameSlot(int index, Object identifier, int flags, com.oracle.truffle.api.frame.FrameSlotKind kind)
-
-
Method Details
-
fromIndexedFrameSlot
public static JSFrameSlot fromIndexedFrameSlot(com.oracle.truffle.api.frame.FrameDescriptor desc, int index) -
getIndex
public int getIndex() -
getIdentifier
-
getFlags
public int getFlags() -
getInfo
-
getKind
public com.oracle.truffle.api.frame.FrameSlotKind getKind() -
hashCode
-
equals
-
toString
-
isAllowedIdentifierType
-
hasBeenDeclared
public boolean hasBeenDeclared()Has this symbol been declared. -
setHasBeenDeclared
public void setHasBeenDeclared(boolean declared) Mark this symbol as declared/undeclared. -
getMappedParameterIndex
public int getMappedParameterIndex() -
setMappedParameterIndex
public void setMappedParameterIndex(int mappedParameterIndex)
-