Class VmMapping


public final class VmMapping extends VmListingOrMapping
  • Constructor Details

  • Method Details

    • empty

      public static VmMapping empty()
    • isDefaultProperty

      public static boolean isDefaultProperty(Object propertyKey)
    • getVmClass

      public VmClass getVmClass()
      Specified by:
      getVmClass in class VmValue
    • getAllKeys

      public VmSet getAllKeys()
    • export

      public Map<Object,Object> export()
      Description copied from class: VmObjectLike
      Exports this object to an external representation. Does not export local, hidden, or external properties
      Specified by:
      export in class VmObjectLike
    • accept

      public void accept(VmValueVisitor visitor)
      Specified by:
      accept in class VmValue
    • accept

      public <T> T accept(VmValueConverter<T> converter, Iterable<Object> path)
      Specified by:
      accept in class VmValue
    • equals

      public boolean equals(Object obj)
      Description copied from class: VmValue
      Enables calling `vmValue.equals()` when not behind a Truffle boundary.
      Specified by:
      equals in class VmValue
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getLength

      public long getLength()