| Modifier and Type | Method and Description | 
|---|---|
Object | 
BasicExtendedInterpreter.call(String functionName,
    Object[] arguments)  | 
void | 
BasicExtendedInterpreter.execute()  | 
void | 
BasicExtendedInterpreter.execute(Command startCommand)  | 
Method | 
BasicMethodRegistry.getJavaMethod(Class<?> klass,
             String alias)  | 
Method | 
BasicExtendedInterpreter.getJavaMethod(Class<?> klass,
             String methodName)  | 
Object | 
BasicExtendedInterpreter.getVariable(String name)  | 
void | 
BasicExtendedInterpreter.setVariable(String name,
           Object value)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AbstractCommand.checkedExecute(ExtendedInterpreter interpreter)  | 
void | 
CommandWhile.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandReturn.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandPrint.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandNext.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandLocal.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandLet.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandIf.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandGlobal.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandFor.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandElseIf.execute(ExtendedInterpreter interpreter)  | 
void | 
CommandCall.execute(ExtendedInterpreter interpreter)  | 
abstract void | 
AbstractCommand.execute(ExtendedInterpreter interpreter)  | 
protected Boolean | 
AbstractCommandIfKind.theConditionIsTrue(ExtendedInterpreter interpreter)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
BasicLeftValue.setValue(RightValue rightValue,
        ExtendedInterpreter extendedInterpreter)  | 
| Modifier and Type | Method and Description | 
|---|---|
RightValue | 
UnaryOperatorPlus.evaluate(ExtendedInterpreter extendedInterpreter)  | 
RightValue | 
UnaryOperatorNot.evaluate(ExtendedInterpreter extendedInterpreter)  | 
RightValue | 
UnaryOperatorMinus.evaluate(ExtendedInterpreter extendedInterpreter)  | 
RightValue | 
JavaObjectFieldAccessOperator.evaluate(ExtendedInterpreter interpreter)  | 
RightValue | 
AbstractShortCircuitBinaryOperator.evaluate(ExtendedInterpreter extendedInterpreter)  | 
RightValue | 
AbstractBinaryFullCircuitOperator.evaluate(ExtendedInterpreter extendedInterpreter)  | 
protected RightValue | 
LogicalOrOperator.evaluateOn(ExtendedInterpreter extendedInterpreter,
          RightValue leftOperand,
          Expression rightOperand)  | 
protected RightValue | 
LogicalAndOperator.evaluateOn(ExtendedInterpreter extendedInterpreter,
          RightValue leftOperand,
          Expression rightOperand)  | 
protected abstract RightValue | 
AbstractShortCircuitBinaryOperator.evaluateOn(ExtendedInterpreter extendedInterpreter,
          RightValue leftOperand,
          Expression rightOperand)  | 
| Modifier and Type | Method and Description | 
|---|---|
RightValue | 
VariableAccess.evaluate(ExtendedInterpreter interpreter)  | 
RightValue | 
FunctionCall.evaluate(ExtendedInterpreter interpreter)  | 
RightValue | 
ArrayElementAccess.evaluate(ExtendedInterpreter interpreter)  | 
Object | 
BasicArrayValue.get(Integer index)
Get the  
index-th element of the array. | 
void | 
BasicArrayValue.set(Integer index,
   Object object)
Set the index-th element of the array 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BasicRuntimeException  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
Interpreter.call(String functionName,
    Object[] arguments)
Call a function defined by the program passing the objects as arguments. 
 | 
void | 
Command.checkedExecute(ExtendedInterpreter interpreter)  | 
RightValue | 
Evaluator.evaluate(ExtendedInterpreter extendedInterpreter)  | 
void | 
Interpreter.execute()
Execute the program. 
 | 
void | 
ExtendedInterpreter.execute(Command startCommand)
Execute the program starting at the command  
startCommand | 
void | 
Executor.execute(ExtendedInterpreter interpreter)  | 
Method | 
MethodRegistry.getJavaMethod(Class<?> klass,
             String alias)
Get the method for a given alias used to name a method in a specific Java
 class. 
 | 
Method | 
ExtendedInterpreter.getJavaMethod(Class<?> klass,
             String methodName)
Get the method named from the klass based on the declaration given in a
 previously executed  
METHOD basic command. | 
Object | 
Interpreter.getVariable(String name)
Get the value of a global variable. 
 | 
RightValue | 
VariableMap.getVariableValue(String variableName)
Get the value of a variable. 
 | 
void | 
LocalVariableMap.registerGlobalVariable(String variableName)
Register a variable as a global variable. 
 | 
void | 
LocalVariableMap.registerLocalVariable(String variableName)
Define the variable as a local variable in a local environment. 
 | 
void | 
LeftValue.setValue(RightValue rightValue,
        ExtendedInterpreter extendedInterpreter)  | 
void | 
Interpreter.setVariable(String name,
           Object value)
Set the value of the global variable. 
 | 
void | 
VariableMap.setVariable(String variableName,
           RightValue rightValue)
Set the value of the variable. 
 | 
Boolean | 
VariableMap.variableDefined(String variableName)
Checks that a variable exists and has a defined value in this map. 
 | 
Boolean | 
VariableMap.variableExists(String variableName)
Checks that a variable exists in this map. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RightValue | 
MixedBasicVariableMap.getVariableValue(String variableName)  | 
RightValue | 
BasicLocalVariableMap.getVariableValue(String variableName)  | 
boolean | 
BasicLocalVariableMap.isGlobal(String variableName)  | 
boolean | 
BasicLocalVariableMap.isLocal(String variableName)  | 
void | 
MixedBasicVariableMap.registerGlobalVariable(String variableName)  | 
void | 
BasicLocalVariableMap.registerGlobalVariable(String variableName)  | 
void | 
BasicLocalVariableMap.registerLocalVariable(String variableName)  | 
void | 
MixedBasicVariableMap.setVariable(String variableName,
           RightValue rightValue)  | 
void | 
BasicLocalVariableMap.setVariable(String variableName,
           RightValue rightValue)  | 
Boolean | 
MixedBasicVariableMap.variableDefined(String variableName)  | 
Boolean | 
BasicLocalVariableMap.variableDefined(String variableName)  | 
Boolean | 
MixedBasicVariableMap.variableExists(String variableName)  | 
Boolean | 
BasicLocalVariableMap.variableExists(String variableName)  | 
| Modifier and Type | Method and Description | 
|---|---|
static RightValue | 
ExpressionUtility.callBasicFunction(ExtendedInterpreter interpreter,
                 RightValue[] argumentValues,
                 CommandSub commandSub,
                 String functionName)  | 
static Integer | 
RightValueUtility.convert2Integer(RightValue index)  | 
static List<RightValue> | 
ExpressionUtility.evaluateExpressionList(ExtendedInterpreter extendedInterpreter,
                      ExpressionList expressionList)  | 
static Object | 
KlassUtility.getField(Object object,
        String fieldName)
Get the value of a field of an object and return it. 
 | 
static Object[] | 
ExpressionUtility.getObjectArray(List<RightValue> args,
              Method method,
              ExtendedInterpreter extendedInterpreter)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Number | 
MathFunctions.abs(Number x)  | 
static void | 
ErrorFunctions.asserT(String s,
      Boolean b)
Throw an exception causing BASIC runtime error if the assertion fails. 
 | 
static void | 
ErrorFunctions.error(String s)
Throw an exception causing BASIC runtime error. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static BasicArrayValue | 
FileHandlingFunctions.listFiles(String fileName)  | 
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.