Uses of Class
bsh.Interpreter

Packages that use Interpreter
bsh   
bsh.commands   
rom.interpreter   
 

Uses of Interpreter in bsh
 

Fields in bsh declared as Interpreter
(package private)  Interpreter This.declaringInterpreter
          This is the interpreter running when the This ref was created.
(package private)  Interpreter Interpreter.parent
          If this interpeter is a child of another, the parent
 

Methods in bsh that return Interpreter
 Interpreter Interpreter.getParent()
           
 

Methods in bsh with parameters of type Interpreter
(package private) static This This.getThis(NameSpace namespace, Interpreter declaringInterpreter)
          getThis() is a factory for bsh.This type references.
 java.lang.Object This.invokeMethod(java.lang.String name, java.lang.Object[] args, Interpreter interpreter, CallStack callstack, SimpleNode callerInfo)
          Invoke specified method with specified interpreter.
static void This.bind(This ths, NameSpace namespace, Interpreter declaringInterpreter)
          Bind a This reference to a parent's namespace with the specified declaring interpreter.
 java.lang.Object SimpleNode.eval(CallStack callstack, Interpreter interpreter)
          This is the general signature for evaluation of a node.
static java.lang.Object Reflect.invokeObjectMethod(Interpreter interpreter, java.lang.Object object, java.lang.String methodName, java.lang.Object[] args, SimpleNode callerInfo)
          Invoke method on object.
 java.lang.Object NameSpace.get(java.lang.String name, Interpreter interpreter)
          Resolve name to an object through this namespace.
(package private)  This NameSpace.getThis(Interpreter declaringInterpreter)
          A This object is a thin layer over a namespace, comprising a bsh object context.
 java.lang.Object NameSpace.invokeMethod(java.lang.String methodName, java.lang.Object[] args, Interpreter interpreter)
          Invoke a method in this namespace with the specified args and interpreter reference.
 java.lang.Object NameSpace.invokeMethod(java.lang.String methodName, java.lang.Object[] args, Interpreter interpreter, CallStack callstack, SimpleNode callerInfo)
          invoke a method in this namespace with the specified args, interpreter reference, and callstack This is a convenience for users outside of this package.
 java.lang.Object Name.toObject(CallStack callstack, Interpreter interpreter)
          Resolve possibly complex name to an object value.
 java.lang.Object Name.toObject(CallStack callstack, Interpreter interpreter, boolean forceClass)
           
private  java.lang.Object Name.consumeNextObjectField(CallStack callstack, Interpreter interpreter, boolean forceClass)
          Get next prefixed object field component
(package private)  java.lang.Object Name.resolveThisFieldReference(CallStack callstack, NameSpace thisNamespace, Interpreter interpreter, java.lang.String varName, boolean specialFieldsVisible)
          Resolve a variable relative to a This reference.
 LHS Name.toLHS(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object Name.invokeMethod(Interpreter interpreter, java.lang.Object[] args, CallStack callstack, SimpleNode callerInfo)
          Invoke the method identified by name.
 java.lang.Object Name.invokeLocalMethod(Interpreter interpreter, java.lang.Object[] args, CallStack callstack, SimpleNode callerInfo)
          Invoke a locally declared method or a bsh command.
 java.lang.Object BSHWhileStatement.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHVariableDeclarator.eval(BSHType typeNode, CallStack callstack, Interpreter interpreter)
          Evaluate the optional initializer value.
 java.lang.Object BSHUnaryExpression.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHTypedVariableDeclaration.eval(CallStack callstack, Interpreter interpreter)
          evaluate the type and one or more variable declarators, e.g.: int a, b=5, c;
 java.lang.Object BSHTryStatement.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHThrowStatement.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHTernaryExpression.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHSwitchStatement.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHSwitchLabel.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHStatementExpressionList.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHReturnStatement.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHPrimarySuffix.doSuffix(java.lang.Object obj, CallStack callstack, Interpreter interpreter)
           
private  java.lang.Object BSHPrimarySuffix.doName(java.lang.Object obj, CallStack callstack, Interpreter interpreter)
           
(package private) static int BSHPrimarySuffix.getIndexAux(java.lang.Object obj, CallStack callstack, Interpreter interpreter, SimpleNode callerNode)
          Just factoring out some common code for the two suffix classes...
private  java.lang.Object BSHPrimarySuffix.doIndex(java.lang.Object obj, CallStack callstack, Interpreter interpreter)
           
private  java.lang.Object BSHPrimarySuffix.doProperty(java.lang.Object obj, CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHPrimaryExpression.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHMethodInvocation.eval(CallStack callstack, Interpreter interpreter)
          Evaluate the method invocation with the specified callstack and interpreter
 java.lang.Object BshMethod.invoke(java.lang.Object[] argValues, Interpreter interpreter, CallStack callstack)
          Invoke the declared method with the specified arguments, interpreter reference, and callstack.
(package private)  java.lang.Object BshMethod.invokeDeclaredMethod(java.lang.Object[] argValues, Interpreter interpreter, CallStack callstack, SimpleNode callerInfo)
          Invoke the bsh method with the specified args, interpreter ref, and callstack.
 java.lang.Object BSHLiteral.eval(CallStack callstack, Interpreter interpreter)
           
 LHS BSHLHSPrimarySuffix.doLHSSuffix(java.lang.Object obj, CallStack callstack, Interpreter interpreter)
           
private  LHS BSHLHSPrimarySuffix.doName(java.lang.Object obj, CallStack callstack, Interpreter interpreter)
           
private  LHS BSHLHSPrimarySuffix.doIndex(java.lang.Object obj, CallStack callstack, Interpreter interpreter)
           
private  LHS BSHLHSPrimarySuffix.doProperty(java.lang.Object obj, CallStack callstack, Interpreter interpreter)
           
 LHS BSHLHSPrimaryExpression.toLHS(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHImportDeclaration.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHIfStatement.eval(CallStack callstack, Interpreter interpreter)
           
static boolean BSHIfStatement.evaluateCondition(SimpleNode condExp, CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHForStatement.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHCastExpression.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHBlock.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHBlock.eval(CallStack callstack, Interpreter interpreter, boolean overrideNamespace)
           
 java.lang.Object BSHBinaryExpression.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHAssignment.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHArrayInitializer.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHArrayInitializer.eval(java.lang.Class baseType, int dimensions, CallStack callstack, Interpreter interpreter)
          Construct the array from the initializer syntax.
 java.lang.Object BSHArrayDimensions.eval(java.lang.Class type, CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHArrayDimensions.eval(CallStack callstack, Interpreter interpreter)
          Evaluate the structure of the array in one of two ways: a) an initializer exists, evaluate it and return the fully constructed array object, also record the dimensions of that array b) evaluate and record the lengths in each dimension and return void.
 java.lang.Object[] BSHArguments.getArguments(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHAmbiguousName.toObject(CallStack callstack, Interpreter interpreter)
           
 LHS BSHAmbiguousName.toLHS(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHAmbiguousName.eval(CallStack callstack, Interpreter interpreter)
           
 java.lang.Object BSHAllocationExpression.eval(CallStack callstack, Interpreter interpreter)
           
private  java.lang.Object BSHAllocationExpression.objectAllocation(BSHAmbiguousName nameNode, BSHArguments argumentsNode, CallStack callstack, Interpreter interpreter)
           
private  java.lang.Object BSHAllocationExpression.constructWithBody(java.lang.Class type, java.lang.Object[] args, BSHBlock body, CallStack callstack, Interpreter interpreter)
           
private  java.lang.Object BSHAllocationExpression.objectArrayAllocation(BSHAmbiguousName nameNode, BSHArrayDimensions dimensionsNode, CallStack callstack, Interpreter interpreter)
           
private  java.lang.Object BSHAllocationExpression.primitiveArrayAllocation(BSHPrimitiveType typeNode, BSHArrayDimensions dimensionsNode, CallStack callstack, Interpreter interpreter)
           
(package private)  This BlockNameSpace.getThis(Interpreter declaringInterpreter)
          this is our parent's this
 

Constructors in bsh with parameters of type Interpreter
XThis(NameSpace namespace, Interpreter declaringInterp)
           
This(NameSpace namespace, Interpreter declaringInterpreter)
           
JThis(NameSpace namespace, Interpreter declaringInterp)
           
Interpreter(java.io.Reader in, java.io.PrintStream out, java.io.PrintStream err, boolean interactive, NameSpace namespace, Interpreter parent, java.lang.String sourceFileInfo)
          The main constructor.
 

Uses of Interpreter in bsh.commands
 

Methods in bsh.commands with parameters of type Interpreter
static void dir.invoke(Interpreter env, NameSpace namespace)
           
static void dir.invoke(Interpreter env, NameSpace namespace, java.lang.String dir)
           
 

Uses of Interpreter in rom.interpreter
 

Fields in rom.interpreter declared as Interpreter
private  Interpreter RJCEInterpreter.beanInterpreter