Class JSWebAssemblyExportedGCObject

java.lang.Object
com.oracle.truffle.api.object.DynamicObject
All Implemented Interfaces:
com.oracle.truffle.api.interop.TruffleObject

public final class JSWebAssemblyExportedGCObject extends JSClassObject
  • Constructor Details

    • JSWebAssemblyExportedGCObject

      protected JSWebAssemblyExportedGCObject(com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto, Object wasmGCObject)
  • Method Details

    • getWASMGCObject

      public Object getWASMGCObject()
    • isExtensible

      public boolean isExtensible()
      Description copied from class: JSDynamicObject
      [IsExtensible]] ().
      Specified by:
      isExtensible in class JSDynamicObject
    • preventExtensions

      public boolean preventExtensions(boolean doThrow)
      Description copied from class: JSDynamicObject
      [[PreventExtensions]] ().
      Specified by:
      preventExtensions in class JSDynamicObject
    • 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]".
      Specified by:
      getClassName in class JSDynamicObject
    • 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.
      Specified by:
      toDisplayStringImpl in class JSDynamicObject
      Parameters:
      format - formatting parameters
      depth - current nesting depth