| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | eval(CallStack callstack, Interpreter interpreter)
Overrides bsh. |
| public Object | eval(Class<T>
the base class type of the array (no dimensionality) baseType, int the top number of dimensions of the array
e.g. 2 for a String [][]; dimensions, CallStack callstack, Interpreter interpreter)Construct the array from the initializer syntax. |
| private void |
| BSHArrayInitializer | back to summary |
|---|---|
| pack-priv BSHArrayInitializer(int id) | |
| eval | back to summary |
|---|---|
| public Object eval(CallStack callstack, Interpreter interpreter) throws EvalError Overrides bsh. Doc from bsh. This is the general signature for evaluation of a node. | |
| eval | back to summary |
|---|---|
| public Object eval(Class<T> baseType, int dimensions, CallStack callstack, Interpreter interpreter) throws EvalError Construct the array from the initializer syntax.
| |
| throwTypeError | back to summary |
|---|---|
| private void throwTypeError(Class<T> baseType, Object initializer, int argNum, CallStack callstack) throws EvalError | |