Class WeakMapPrototypeBuiltins.JSWeakMapHasNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
WeakMapPrototypeBuiltins

public abstract static class WeakMapPrototypeBuiltins.JSWeakMapHasNode extends WeakMapPrototypeBuiltins.JSWeakMapBaseNode
Implementation of the WeakMap.prototype.has().
  • Constructor Details

  • Method Details

    • hasJSObject

      protected boolean hasJSObject(JSWeakMapObject thisObj, JSObject key, com.oracle.truffle.api.object.DynamicObjectLibrary invertedGetter, com.oracle.truffle.api.profiles.InlinedConditionProfile hasInvertedProfile)
    • hasSymbol

      protected boolean hasSymbol(JSWeakMapObject thisObj, Symbol key, CanBeHeldWeaklyNode canBeHeldWeakly, com.oracle.truffle.api.profiles.InlinedConditionProfile hasInvertedProfile)
    • hasInvalidKey

      protected static boolean hasInvalidKey(JSWeakMapObject thisObj, Object key, CanBeHeldWeaklyNode canBeHeldWeakly)
    • notWeakMap

      protected static boolean notWeakMap(Object thisObj, Object key)