java.lang.Object
org.htmlunit.corejs.javascript.NewLiteralStorage
Used to store the support structures for a literal object (or array) being built.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNewLiteralStorage(Object[] ids, int length, boolean createKeys) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidattemptToInferFunctionName(Object value) static NewLiteralStoragestatic NewLiteralStorageint[]int[]Object[]getKeys()Object[]booleanvoidpushGetter(Object value) voidvoidpushSetter(Object value) voidvoidsetSkipIndexes(int[] skipIndexes) void
-
Field Details
-
keys
-
getterSetters
protected int[] getterSetters -
values
-
index
protected int index -
skipIndexes
protected int[] skipIndexes -
spreadAdjustments
protected int[] spreadAdjustments
-
-
Constructor Details
-
NewLiteralStorage
-
-
Method Details
-
pushValue
-
pushGetter
-
pushSetter
-
pushKey
-
spread
-
getKeys
-
getGetterSetters
public int[] getGetterSetters() -
getValues
-
setSkipIndexes
public void setSkipIndexes(int[] skipIndexes) -
hasSkipIndexes
public boolean hasSkipIndexes() -
getAdjustedSkipIndexes
public int[] getAdjustedSkipIndexes() -
create
-
create
-
attemptToInferFunctionName
-