Class JSProxyCallNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.JSProxyCallNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class JSProxyCallNode extends JavaScriptBaseNode
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node

    com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final boolean
     
    protected final boolean
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    JSProxyCallNode(JSContext context, boolean isNew, boolean isNewTarget)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     

    Methods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode

    copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace

    Methods inherited from class com.oracle.truffle.api.nodes.Node

    accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • isNew

      protected final boolean isNew
    • isNewTarget

      protected final boolean isNewTarget
  • Constructor Details

    • JSProxyCallNode

      protected JSProxyCallNode(JSContext context, boolean isNew, boolean isNewTarget)
  • Method Details

    • execute

      public abstract Object execute(Object[] arguments)
    • create

      public static JSProxyCallNode create(JSContext context, boolean isNew, boolean isNewTarget)
    • doCall

      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.
    • doConstruct

      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.