public final class GlobalScopeVarWrapperNode extends VarWrapperNode implements ReadNode, WriteNode
INTERMEDIATE_VALUE| Constructor and Description |
|---|
GlobalScopeVarWrapperNode(String varName,
JavaScriptNode defaultDelegate,
JavaScriptNode dynamicScope,
JSTargetableNode scopeAccessNode) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
Object |
executeWrite(com.oracle.truffle.api.frame.VirtualFrame frame,
Object value) |
JavaScriptNode |
getDelegateNode() |
JavaScriptNode |
getRhs() |
boolean |
hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag) |
boolean |
isInstrumentable() |
void |
setMethod() |
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealmaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializepublic GlobalScopeVarWrapperNode(String varName, JavaScriptNode defaultDelegate, JavaScriptNode dynamicScope, JSTargetableNode scopeAccessNode)
public JavaScriptNode getDelegateNode()
getDelegateNode in class VarWrapperNodepublic boolean hasTag(Class<? extends com.oracle.truffle.api.instrumentation.Tag> tag)
hasTag in interface com.oracle.truffle.api.instrumentation.InstrumentableNodehasTag in class JavaScriptNodepublic boolean isInstrumentable()
isInstrumentable in interface com.oracle.truffle.api.instrumentation.InstrumentableNodeisInstrumentable in class JavaScriptNodepublic Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNodeexecute in class JavaScriptNodeframe - the frame of the currently executing guest language methodpublic Object executeWrite(com.oracle.truffle.api.frame.VirtualFrame frame, Object value)
executeWrite in interface WriteNodepublic JavaScriptNode getRhs()
protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class JavaScriptNodepublic void setMethod()