Class GetMethodNode

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

public abstract class GetMethodNode extends JavaScriptBaseNode
ES6 7.3.9 GetMethod(O, P).
  • Constructor Details

    • GetMethodNode

      protected GetMethodNode(JSContext context, Object propertyKey)
  • Method Details

    • create

      public static GetMethodNode create(JSContext ctx, Object key)
    • getKey

      public final Object getKey()
    • executeWithTarget

      public abstract Object executeWithTarget(Object target)
    • doGetMethod

      protected Object doGetMethod(Object target, com.oracle.truffle.api.profiles.InlinedConditionProfile undefinedOrNull, com.oracle.truffle.api.profiles.InlinedBranchProfile notCallableBranch)