There is one special case here termed METHOD_EVAL where the LHS is used in an intermediate evaluation of a chain of suffixes and wraps a method invocation. In this case it may only be resolved to a value and cannot be assigned. (You can't assign a value to the result of a method call e.g. "foo() = 5;").
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | FIELD
Identifiers for the various types of LHS. |
| pack-priv Field | |
| pack-priv static final int | INDEX
Identifiers for the various types of LHS. |
| pack-priv int | |
| pack-priv boolean | localVar
The assignment should be to a local variable |
| pack-priv static final int | METHOD_EVAL
Identifiers for the various types of LHS. |
| pack-priv NameSpace | |
| pack-priv Object | |
| pack-priv static final int | PROPERTY
Identifiers for the various types of LHS. |
| pack-priv String | |
| pack-priv int | |
| pack-priv static final int | VARIABLE
Identifiers for the various types of LHS. |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| FIELD | back to summary |
|---|---|
| pack-priv static final int FIELD Identifiers for the various types of LHS. | |
| field | back to summary |
|---|---|
| pack-priv Field field | |
| INDEX | back to summary |
|---|---|
| pack-priv static final int INDEX Identifiers for the various types of LHS. | |
| index | back to summary |
|---|---|
| pack-priv int index | |
| localVar | back to summary |
|---|---|
| pack-priv boolean localVar The assignment should be to a local variable | |
| METHOD_EVAL | back to summary |
|---|---|
| pack-priv static final int METHOD_EVAL Identifiers for the various types of LHS. | |
| nameSpace | back to summary |
|---|---|
| pack-priv NameSpace nameSpace | |
| object | back to summary |
|---|---|
| pack-priv Object object | |
| PROPERTY | back to summary |
|---|---|
| pack-priv static final int PROPERTY Identifiers for the various types of LHS. | |
| propName | back to summary |
|---|---|
| pack-priv String propName | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| VARIABLE | back to summary |
|---|---|
| pack-priv static final int VARIABLE Identifiers for the various types of LHS. | |
| varName | back to summary |
|---|---|
| pack-priv String varName | |
| LHS | back to summary |
|---|---|
pack-priv LHS(NameSpace nameSpace, String varName, boolean localVar)
| |
| LHS | back to summary |
|---|---|
| pack-priv LHS(Field field) Static field LHS Constructor. This simply calls Object field constructor with null object. | |
| LHS | back to summary |
|---|---|
| pack-priv LHS(Object object, Field field) Object field LHS Constructor. | |
| LHS | back to summary |
|---|---|
| pack-priv LHS(Object object, String propName) Object property LHS Constructor. | |
| LHS | back to summary |
|---|---|
| pack-priv LHS(Object array, int index) Array index LHS Constructor. | |
| assign | back to summary |
|---|---|
| public Object assign(Object val, boolean strictJava) throws UtilEvalError Assign a value to the LHS. | |
| getValue | back to summary |
|---|---|
| public Object getValue() throws UtilEvalError | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |