public class GlobalScopeNode extends JavaScriptNode
| Modifier and Type | Field and Description |
|---|---|
protected JSContext |
context |
INTERMEDIATE_VALUE| Modifier | Constructor and Description |
|---|---|
protected |
GlobalScopeNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected JavaScriptNode |
copyUninitialized() |
static JavaScriptNode |
create(JSContext context) |
static JavaScriptNode |
createWithTDZCheck(JSContext context,
String varName) |
Object |
execute(com.oracle.truffle.api.frame.VirtualFrame frame)
Executes this node using the specified context and frame and returns the result value.
|
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, executeBoolean, executeByte, executeCharacter, executeDouble, executeDynamicObject, executeFloat, executeInt, executeLargeInteger, executeLong, executeObjectArray, executeString, executeTruffleObject, executeVoid, expressionToString, getSourceSection, hasSourceSection, hasTag, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected final JSContext context
protected GlobalScopeNode(JSContext context)
public static JavaScriptNode create(JSContext context)
public static JavaScriptNode createWithTDZCheck(JSContext context, String varName)
public Object execute(com.oracle.truffle.api.frame.VirtualFrame frame)
JavaScriptNodeexecute in class JavaScriptNodeframe - the frame of the currently executing guest language methodprotected JavaScriptNode copyUninitialized()
copyUninitialized in class JavaScriptNode