public abstract class NewLiteralStorage extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
getterSetters |
protected int |
index |
protected Object[] |
keys |
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[] |
getGetterSetters() |
Object[] |
getKeys() |
Object[] |
getValues() |
void |
pushGetter(Object value) |
void |
pushKey(Object key) |
void |
pushSetter(Object value) |
void |
pushValue(Object value) |
void |
spread(Context cx,
Scriptable scope,
Object source) |
protected Object[] keys
protected int[] getterSetters
protected Object[] values
protected int index
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)
public Object[] getKeys()
public int[] getGetterSetters()
public Object[] getValues()
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.