Class StackObject

java.lang.Object
me.topchetoeu.j2s.runtime.values.objects.ObjectValue
me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
me.topchetoeu.j2s.lib.debug.StackObject
All Implemented Interfaces:
me.topchetoeu.j2s.runtime.values.Value

public class StackObject extends me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
  • Nested Class Summary

    Nested classes/interfaces inherited from class me.topchetoeu.j2s.runtime.values.objects.ObjectValue

    me.topchetoeu.j2s.runtime.values.objects.ObjectValue.Property, me.topchetoeu.j2s.runtime.values.objects.ObjectValue.PrototypeProvider

    Nested classes/interfaces inherited from interface me.topchetoeu.j2s.runtime.values.Value

    me.topchetoeu.j2s.runtime.values.Value.State
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final me.topchetoeu.j2s.runtime.Frame
     

    Fields inherited from class me.topchetoeu.j2s.runtime.values.objects.ObjectValue

    prototype

    Fields inherited from interface me.topchetoeu.j2s.runtime.values.Value

    ARRAY_PROTO, BOOL_PROTO, ERROR_PROTO, FUNCTION_PROTO, GLOBAL, INT32_ARR_PROTO, INT8_ARR_PROTO, INTRINSICS, NULL, NUMBER_PROTO, OBJECT_PROTO, RANGE_ERR_PROTO, STRING_PROTO, SYMBOL_PROTO, SYNTAX_ERR_PROTO, TYPE_ERR_PROTO, UINT8_ARR_PROTO, UNDEFINED
  • Constructor Summary

    Constructors
    Constructor
    Description
    StackObject(me.topchetoeu.j2s.runtime.Frame frame)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    me.topchetoeu.j2s.runtime.values.Value
    get(int i)
     
    boolean
    has(int i)
     
    boolean
    remove(int i)
     
    boolean
    set(me.topchetoeu.j2s.common.Environment env, int i, me.topchetoeu.j2s.runtime.values.Value val)
     
    boolean
    setSize(int val)
     
    int
     

    Methods inherited from class me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue

    defineOwnField, deleteOwnMember, getOwnMember, getOwnMembers, toArray, toReadableLines

    Methods inherited from class me.topchetoeu.j2s.runtime.values.objects.ObjectValue

    defineOwnProperty, freeze, getOwnSymbolMembers, getPrototype, getState, isPrimitive, preventExtensions, seal, setPrototype, setPrototype, setPrototype, toBoolean, toNumber, toPrimitive, toReadableLines, toString, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface me.topchetoeu.j2s.runtime.values.Value

    apply, callWith, callWithAsync, construct, constructNoSelf, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnField, defineOwnProperty, defineOwnProperty, defineOwnProperty, defineOwnProperty, deleteMember, deleteMember, deleteMember, deleteMember, deleteMember, deleteOwnMember, deleteOwnMember, deleteOwnMember, deleteOwnMember, getMember, getMember, getMember, getMember, getMember, getMemberDescriptor, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberPath, getMemberPath, getMembers, getOwnMember, getOwnMember, getOwnMember, getOwnMember, getSymbolMembers, hasMember, hasMember, hasMember, hasMember, hasMember, isInstanceOf, isNaN, setMember, setMember, setMember, setMember, setMember, setMemberIfExists, setMemberIfExists, setMemberIfExists, setMemberIfExists, setMemberIfExists, toIterable, toReadable
  • Field Details

    • frame

      public final me.topchetoeu.j2s.runtime.Frame frame
  • Constructor Details

    • StackObject

      public StackObject(me.topchetoeu.j2s.runtime.Frame frame)
  • Method Details

    • get

      public me.topchetoeu.j2s.runtime.values.Value get(int i)
      Specified by:
      get in class me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
    • set

      public boolean set(me.topchetoeu.j2s.common.Environment env, int i, me.topchetoeu.j2s.runtime.values.Value val)
      Specified by:
      set in class me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
    • has

      public boolean has(int i)
      Specified by:
      has in class me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
    • remove

      public boolean remove(int i)
      Specified by:
      remove in class me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
    • setSize

      public boolean setSize(int val)
      Specified by:
      setSize in class me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
    • size

      public int size()
      Specified by:
      size in class me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue