public abstract class DeclareGlobalNode extends JavaScriptBaseNode
| Modifier and Type | Field and Description |
|---|---|
protected com.oracle.truffle.api.profiles.BranchProfile |
errorProfile |
protected String |
varName |
| Modifier | Constructor and Description |
|---|---|
protected |
DeclareGlobalNode(String varName) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract DeclareGlobalNode |
copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags) |
abstract void |
executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame,
JSContext context,
JSRealm realm) |
boolean |
isGlobalFunctionDeclaration() |
boolean |
isLexicallyDeclared() |
void |
verify(JSContext context,
JSRealm realm) |
copy, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected final String varName
protected final com.oracle.truffle.api.profiles.BranchProfile errorProfile
protected DeclareGlobalNode(String varName)
public abstract void executeVoid(com.oracle.truffle.api.frame.VirtualFrame frame,
JSContext context,
JSRealm realm)
public boolean isLexicallyDeclared()
public boolean isGlobalFunctionDeclaration()
protected abstract DeclareGlobalNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)