Class JSStringIteratorObject

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

public final class JSStringIteratorObject extends JSNonProxyObject
  • Constructor Details

    • JSStringIteratorObject

      protected JSStringIteratorObject(com.oracle.truffle.api.object.Shape shape, JSDynamicObject proto, com.oracle.truffle.api.strings.TruffleString iteratedString, int nextIndex)
  • Method Details

    • getIteratedString

      public com.oracle.truffle.api.strings.TruffleString getIteratedString()
    • setIteratedString

      public void setIteratedString(com.oracle.truffle.api.strings.TruffleString iteratedString)
    • getNextIndex

      public int getNextIndex()
    • setNextIndex

      public void setNextIndex(int nextIndex)
    • 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