public abstract class JSProxyCallNode extends JavaScriptBaseNode
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isNew |
protected boolean |
isNewTarget |
| Modifier | Constructor and Description |
|---|---|
protected |
JSProxyCallNode(JSContext context,
boolean isNew,
boolean isNewTarget) |
| Modifier and Type | Method and Description |
|---|---|
static JSProxyCallNode |
create(JSContext context,
boolean isNew,
boolean isNewTarget) |
protected Object |
doCall(Object[] arguments,
IsCallableNode isCallable,
com.oracle.truffle.api.profiles.InlinedConditionProfile pxTrapFunProfile,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
Implements the [[Call]] internal method ("apply" trap) for Proxy.
|
protected Object |
doConstruct(Object[] arguments,
IsConstructorNode isConstructor,
com.oracle.truffle.api.profiles.InlinedConditionProfile pxTrapFunProfile,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
Implements the [[Construct]] internal method ("construct" trap) for Proxy.
|
abstract Object |
execute(Object[] arguments) |
copy, 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 JSProxyCallNode(JSContext context, boolean isNew, boolean isNewTarget)
public static JSProxyCallNode create(JSContext context, boolean isNew, boolean isNewTarget)
protected Object doCall(Object[] arguments, IsCallableNode isCallable, com.oracle.truffle.api.profiles.InlinedConditionProfile pxTrapFunProfile, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
protected Object doConstruct(Object[] arguments, IsConstructorNode isConstructor, com.oracle.truffle.api.profiles.InlinedConditionProfile pxTrapFunProfile, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)