Class JSSetObject

All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject

public final class JSSetObject extends JSNonProxyObject
  • Constructor Details

    • JSSetObject

      protected JSSetObject(com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto, JSHashMap map)
  • Method Details

    • getMap

      public JSHashMap getMap()
    • getClassName

      public com.oracle.truffle.api.strings.TruffleString getClassName()
      Description copied from class: JSDynamicObject
      The [[Class]] internal property. For ES5, this is the second part of what Object.prototype.toString.call(myObj) returns, e.g. "[object Array]".
      Overrides:
      getClassName in class JSNonProxyObject
    • toDisplayStringImpl

      public com.oracle.truffle.api.strings.TruffleString toDisplayStringImpl(boolean allowSideEffects, ToDisplayStringFormat format, int depth)
      Description copied from class: JSDynamicObject
      A more informative toString variant, mainly used for error messages.
      Overrides:
      toDisplayStringImpl in class JSNonProxyObject
      Parameters:
      format - formatting parameters
      depth - current nesting depth