Modifier and Type | Class and Description |
---|---|
class |
BasicExtendedInterpreter |
Modifier and Type | Method and Description |
---|---|
void |
AbstractCommand.checkedExecute(ExtendedInterpreter interpreter) |
protected static Boolean |
AbstractCommandIfElseKind.conditionWasNotDoneYet(ExtendedInterpreter interpreter) |
protected static void |
AbstractCommandIfElseKind.doneUndone(ExtendedInterpreter interpreter) |
void |
CommandWhile.execute(ExtendedInterpreter interpreter) |
void |
CommandWend.execute(ExtendedInterpreter interpreter) |
void |
CommandUse.execute(ExtendedInterpreter interpreter) |
void |
CommandSub.execute(ExtendedInterpreter interpreter)
Just jump over to the end sub and over that.
|
void |
CommandReturn.execute(ExtendedInterpreter interpreter) |
void |
CommandPrint.execute(ExtendedInterpreter interpreter) |
void |
CommandNext.execute(ExtendedInterpreter interpreter) |
void |
CommandMethod.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 |
CommandEndSub.execute(ExtendedInterpreter interpreter) |
void |
CommandEndIf.execute(ExtendedInterpreter interpreter) |
void |
CommandElseIf.execute(ExtendedInterpreter interpreter) |
void |
CommandElse.execute(ExtendedInterpreter interpreter) |
void |
CommandCall.execute(ExtendedInterpreter interpreter) |
abstract void |
AbstractCommand.execute(ExtendedInterpreter interpreter) |
protected static void |
AbstractCommandIfElseKind.indicateConditionalJump(ExtendedInterpreter interpreter)
Indicate that the execution just executed a jump after the IF statement
or after the ELSEIF statement.
|
protected static void |
AbstractCommandIfElseKind.indicateConditionDone(ExtendedInterpreter interpreter)
Indicate that one of the conditions in the IF/ELSEIF/.../ELSE/ENDIF was
already true and the ELSEIF should not be executed but jump even if the
condition is true and the control got there jumping.
|
protected static Boolean |
AbstractCommandIfElseKind.itWasConditionalJump(ExtendedInterpreter interpreter) |
protected static void |
AbstractCommandIfElseKind.jumpDone(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) |
RightValue |
AbstractPrimitiveRightValue.evaluate(ExtendedInterpreter extendedInterpreter) |
void |
BasicArrayValue.setInterpreter(ExtendedInterpreter interpreter)
Set the interpreter that this array belongs to.
|
Constructor and Description |
---|
BasicArrayValue(ExtendedInterpreter interpreter)
Create a new BasicArrayValue and remember the interpreter.
|
Modifier and Type | Method and Description |
---|---|
protected ExtendedInterpreter |
SimpleHook.getInterpreter() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleHook.setInterpreter(ExtendedInterpreter interpreter) |
void |
NullHook.setInterpreter(ExtendedInterpreter interpreter) |
Modifier and Type | Method and Description |
---|---|
void |
Command.checkedExecute(ExtendedInterpreter interpreter) |
RightValue |
Evaluator.evaluate(ExtendedInterpreter extendedInterpreter) |
void |
Executor.execute(ExtendedInterpreter interpreter) |
void |
InterpreterHook.setInterpreter(ExtendedInterpreter interpreter)
During registration the interpreter calls this method to make the
interpreter accessible for the hook objects.
|
void |
LeftValue.setValue(RightValue rightValue,
ExtendedInterpreter extendedInterpreter) |
Modifier and Type | Method and Description |
---|---|
static ExtendedInterpreter |
FactoryUtility.getExtendedInterpreter(Factory factory) |
Modifier and Type | Method and Description |
---|---|
static RightValue |
ExpressionUtility.callBasicFunction(ExtendedInterpreter interpreter,
RightValue[] argumentValues,
CommandSub commandSub,
String functionName) |
static List<RightValue> |
ExpressionUtility.evaluateExpressionList(ExtendedInterpreter extendedInterpreter,
ExpressionList expressionList) |
static Object[] |
ExpressionUtility.getObjectArray(List<RightValue> args,
Method method,
ExtendedInterpreter extendedInterpreter) |
static Object |
ReflectionUtility.invoke(String symbolicName,
ExtendedInterpreter interpreter,
Method method,
Object object,
List<RightValue> args)
Invoke the
method on the object using the args . |
static void |
MethodRegisterUtility.registerFunctions(Class<?> klass,
ExtendedInterpreter interpreter)
Register all annotated methods of the class
klass so that they
can be accessed from BASIC. |
static void |
HookRegisterUtility.registerHooks(ExtendedInterpreter interpreter)
Create hook instances and chain them up based on the configuration file.
|
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.