public abstract class DeclareGlobalVariableNode extends DeclareGlobalNode
errorProfile, varName| Modifier | Constructor and Description |
|---|---|
protected |
DeclareGlobalVariableNode(com.oracle.truffle.api.strings.TruffleString varName,
boolean configurable) |
| Modifier and Type | Method and Description |
|---|---|
protected DeclareGlobalNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
static DeclareGlobalVariableNode |
create(com.oracle.truffle.api.strings.TruffleString varName,
boolean configurable) |
protected void |
doCached(JSGlobalObject globalObject,
JSContext context,
PropertySetNode cache) |
protected void |
doGeneric(JSDynamicObject globalObject,
JSContext context) |
protected void |
doUncached(JSGlobalObject globalObject,
JSContext context) |
protected abstract void |
executeVoid(JSDynamicObject globalObject,
JSContext context) |
void |
executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame,
JSContext context,
JSRealm realm) |
protected PropertySetNode |
makeDefineOwnPropertyCache(JSContext context) |
void |
verify(JSContext context,
JSRealm realm) |
ensureHasVarDeclarationOrRestrictedGlobalProperty, isGlobalFunctionDeclaration, isLexicallyDeclaredcopy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected DeclareGlobalVariableNode(com.oracle.truffle.api.strings.TruffleString varName,
boolean configurable)
public static DeclareGlobalVariableNode create(com.oracle.truffle.api.strings.TruffleString varName, boolean configurable)
public void verify(JSContext context, JSRealm realm)
verify in class DeclareGlobalNodepublic final void executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame,
JSContext context,
JSRealm realm)
executeVoid in class DeclareGlobalNodeprotected abstract void executeVoid(JSDynamicObject globalObject, JSContext context)
protected void doCached(JSGlobalObject globalObject, JSContext context, PropertySetNode cache)
protected void doUncached(JSGlobalObject globalObject, JSContext context)
protected void doGeneric(JSDynamicObject globalObject, JSContext context)
protected final PropertySetNode makeDefineOwnPropertyCache(JSContext context)
protected DeclareGlobalNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
copyUninitialized in class DeclareGlobalNode