Package me.topchetoeu.j2s.repl.debug
Class StackObject
java.lang.Object
me.topchetoeu.j2s.runtime.values.Value
me.topchetoeu.j2s.runtime.values.objects.ObjectValue
me.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
me.topchetoeu.j2s.repl.debug.StackObject
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 class me.topchetoeu.j2s.runtime.values.Value
me.topchetoeu.j2s.runtime.values.Value.State
-
Field Summary
FieldsFields inherited from class me.topchetoeu.j2s.runtime.values.objects.ObjectValue
prototype
Fields inherited from class 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 -
Method Summary
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 me.topchetoeu.j2s.runtime.values.Value
add, and, apply, bitwiseNot, 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, divide, errorToReadable, fromIterator, getMember, getMember, getMember, getMember, getMember, getMemberDescriptor, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberOrNull, getMemberPath, getMemberPath, getMembers, getOwnMember, getOwnMember, getOwnMember, getOwnMember, getSymbolMembers, global, greater, greaterOrEqual, hasMember, hasMember, hasMember, hasMember, hasMember, intrinsics, isInstanceOf, isNaN, less, lessOrEqual, looseEqual, modulo, multiply, negative, or, setMember, setMember, setMember, setMember, setMember, setMemberIfExists, setMemberIfExists, setMemberIfExists, setMemberIfExists, setMemberIfExists, shiftLeft, shiftRight, subtract, toIterable, toReadable, unsignedShiftRight, xor
-
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 classme.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 classme.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
-
has
public boolean has(int i) - Specified by:
has
in classme.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
-
remove
public boolean remove(int i) - Specified by:
remove
in classme.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
-
setSize
public boolean setSize(int val) - Specified by:
setSize
in classme.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
-
size
public int size()- Specified by:
size
in classme.topchetoeu.j2s.runtime.values.objects.ArrayLikeValue
-