public abstract class NewLiteralStorage extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
getterSetters |
protected int |
index |
protected Object[] |
keys |
protected int[] |
skipIndexes |
protected int[] |
spreadAdjustments |
protected Object[] |
values |
| Modifier | Constructor and Description |
|---|---|
protected |
NewLiteralStorage(Object[] ids,
int length,
boolean createKeys) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
attemptToInferFunctionName(Object value) |
static NewLiteralStorage |
create(Context cx,
int length,
boolean createKeys) |
static NewLiteralStorage |
create(Context cx,
Object[] ids) |
int[] |
getAdjustedSkipIndexes() |
int[] |
getGetterSetters() |
Object[] |
getKeys() |
Object[] |
getValues() |
boolean |
hasSkipIndexes() |
void |
pushGetter(Object value) |
void |
pushKey(Object key) |
void |
pushSetter(Object value) |
void |
pushValue(Object value) |
void |
setSkipIndexes(int[] skipIndexes) |
void |
spread(Context cx,
Scriptable scope,
Object source,
int sourcePosition) |
protected Object[] keys
protected int[] getterSetters
protected Object[] values
protected int index
protected int[] skipIndexes
protected int[] spreadAdjustments
protected NewLiteralStorage(Object[] ids, int length, boolean createKeys)
public void pushValue(Object value)
public void pushGetter(Object value)
public void pushSetter(Object value)
public void pushKey(Object key)
public void spread(Context cx, Scriptable scope, Object source, int sourcePosition)
public Object[] getKeys()
public int[] getGetterSetters()
public Object[] getValues()
public void setSkipIndexes(int[] skipIndexes)
public boolean hasSkipIndexes()
public int[] getAdjustedSkipIndexes()
public static NewLiteralStorage create(Context cx, Object[] ids)
public static NewLiteralStorage create(Context cx, int length, boolean createKeys)
protected abstract void attemptToInferFunctionName(Object value)
Copyright © 2025 HtmlUnit. All rights reserved.