Top Fields Constructors Methods
bsh

pack-priv Class BSHPrimarySuffix

extends SimpleNode
Class Inheritance
Imports
java.util.Hashtable, java.lang.reflect.Array, .InvocationTargetException

Field Summary

Modifier and TypeField and Description
public static final int
public String
public static final int
pack-priv Object
public static final int
public int
public static final int
Inherited from bsh.SimpleNode:
childrenfirstTokenidJAVACODElastTokenparentsourceFile

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private Object
doIndex(Object obj, boolean toLHS, CallStack callstack, Interpreter interpreter)

array index.

private Object
doName(Object obj, boolean toLHS, CallStack callstack, Interpreter interpreter)

private Object
doProperty(boolean toLHS, Object obj, CallStack callstack, Interpreter interpreter)

Property access.

public Object
doSuffix(Object obj, boolean toLHS, CallStack callstack, Interpreter interpreter)

pack-priv static int
getIndexAux(Object obj, CallStack callstack, Interpreter interpreter, SimpleNode callerInfo)

Inherited from bsh.SimpleNode:
dumpevalgetChildgetLineNumbergetSourceFilegetTextjjtAddChildjjtClosejjtGetChildjjtGetNumChildrenjjtGetParentjjtOpenjjtSetParentprunesetSourceFiletoStringtoString

Field Detail

CLASSback to summary
public static final int CLASS
fieldback to summary
public String field
INDEXback to summary
public static final int INDEX
indexback to summary
pack-priv Object index
NAMEback to summary
public static final int NAME
operationback to summary
public int operation
PROPERTYback to summary
public static final int PROPERTY

Constructor Detail

BSHPrimarySuffixback to summary
pack-priv BSHPrimarySuffix(int id)

Method Detail

doIndexback to summary
private Object doIndex(Object obj, boolean toLHS, CallStack callstack, Interpreter interpreter) throws EvalError, ReflectError

array index. Must handle toLHS case.

doNameback to summary
private Object doName(Object obj, boolean toLHS, CallStack callstack, Interpreter interpreter) throws EvalError, ReflectError, InvocationTargetException
doPropertyback to summary
private Object doProperty(boolean toLHS, Object obj, CallStack callstack, Interpreter interpreter) throws EvalError

Property access. Must handle toLHS case.

doSuffixback to summary
public Object doSuffix(Object obj, boolean toLHS, CallStack callstack, Interpreter interpreter) throws EvalError
getIndexAuxback to summary
pack-priv static int getIndexAux(Object obj, CallStack callstack, Interpreter interpreter, SimpleNode callerInfo) throws EvalError