Uses of Interface
com.scriptbasic.spi.Interpreter
Packages that use Interpreter
Package
Description
-
Uses of Interpreter in com.scriptbasic.context
Fields in com.scriptbasic.context declared as Interpreter -
Uses of Interpreter in com.scriptbasic.executors
Classes in com.scriptbasic.executors that implement Interpreter -
Uses of Interpreter in com.scriptbasic.executors.commands
Methods in com.scriptbasic.executors.commands with parameters of type InterpreterModifier and TypeMethodDescriptionprotected voidAbstractInsecureCommand.assertInsecure(Interpreter interpreter) voidAbstractCommand.checkedExecute(Interpreter interpreter) protected static voidAbstractCommandIfElseKind.doneUndone(Interpreter interpreter) abstract voidAbstractCommand.execute(Interpreter interpreter) voidCommandCall.execute(Interpreter interpreter) voidCommandCase.execute(Interpreter interpreter) voidCommandElse.execute(Interpreter interpreter) voidCommandElseIf.execute(Interpreter interpreter) voidCommandEndIf.execute(Interpreter interpreter) voidCommandEndSelect.execute(Interpreter interpreter) voidCommandEndSub.execute(Interpreter interpreter) voidCommandFor.execute(Interpreter interpreter) voidCommandGlobal.execute(Interpreter interpreter) voidCommandIf.execute(Interpreter interpreter) voidCommandLet.execute(Interpreter interpreter) voidCommandLocal.execute(Interpreter interpreter) voidCommandMethod.execute(Interpreter interpreter) voidCommandNext.execute(Interpreter interpreter) voidCommandPrint.execute(Interpreter interpreter) voidCommandReturn.execute(Interpreter interpreter) voidCommandSelect.execute(Interpreter interpreter) voidCommandSub.execute(Interpreter interpreter) Just jump over to the end sub and over that.voidCommandUse.execute(Interpreter interpreter) voidCommandWend.execute(Interpreter interpreter) voidCommandWhile.execute(Interpreter interpreter) booleanCommandCase.CaseCondition.matchCase(Interpreter interpreter, RightValue selectExpressionValue) booleanCommandCase.EqualCaseCondition.matchCase(Interpreter interpreter, RightValue selectExpressionValue) booleanCommandCase.FromToCaseCondition.matchCase(Interpreter interpreter, RightValue selectExpressionValue) booleanCommandCase.matches(Interpreter interpreter, RightValue expressionValue) protected BooleanAbstractCommandIfKind.theConditionIsTrue(Interpreter interpreter) -
Uses of Interpreter in com.scriptbasic.executors.leftvalues
Methods in com.scriptbasic.executors.leftvalues with parameters of type InterpreterModifier and TypeMethodDescriptionvoidBasicLeftValue.setValue(RightValue rightValue, Interpreter interpreter) -
Uses of Interpreter in com.scriptbasic.executors.operators
Methods in com.scriptbasic.executors.operators with parameters of type InterpreterModifier and TypeMethodDescriptionfinal RightValueAbstractBinaryFullCircuitOperator.evaluate(Interpreter interpreter) AbstractShortCircuitBinaryOperator.evaluate(Interpreter interpreter) JavaObjectFieldAccessOperator.evaluate(Interpreter interpreter) UnaryOperatorMinus.evaluate(Interpreter interpreter) UnaryOperatorNot.evaluate(Interpreter interpreter) UnaryOperatorPlus.evaluate(Interpreter interpreter) protected abstract RightValueAbstractShortCircuitBinaryOperator.evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) protected RightValueLogicalAndOperator.evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) protected RightValueLogicalOrOperator.evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) protected RightValueAbstractBinaryFullCircuitOperator.getLeftOperandEvaluated(Interpreter interpreter) Function used to evaluate left operand.protected RightValueRightSideEqualsOperator.getLeftOperandEvaluated(Interpreter interpreter) protected RightValueRightSideGreaterOrEqualOperator.getLeftOperandEvaluated(Interpreter interpreter) protected RightValueRightSideLessOrEqualOperator.getLeftOperandEvaluated(Interpreter interpreter) protected RightValueAbstractBinaryFullCircuitOperator.getRightOperandEvaluated(Interpreter interpreter) Function used to evaluate right operand. -
Uses of Interpreter in com.scriptbasic.executors.rightvalues
Methods in com.scriptbasic.executors.rightvalues with parameters of type InterpreterModifier and TypeMethodDescriptionAbstractPrimitiveRightValue.evaluate(Interpreter interpreter) ArrayElementAccess.evaluate(Interpreter interpreter) FunctionCall.evaluate(Interpreter interpreter) VariableAccess.evaluate(Interpreter interpreter) final voidBasicArrayValue.setInterpreter(Interpreter interpreter) Set the interpreter that this array belongs to.Constructors in com.scriptbasic.executors.rightvalues with parameters of type InterpreterModifierConstructorDescriptionBasicArrayValue(Interpreter interpreter) Create a new BasicArrayValue and remember the interpreter. -
Uses of Interpreter in com.scriptbasic.hooks
Methods in com.scriptbasic.hooks with parameters of type Interpreter -
Uses of Interpreter in com.scriptbasic.interfaces
Methods in com.scriptbasic.interfaces with parameters of type InterpreterModifier and TypeMethodDescriptionEvaluator.evaluate(Interpreter interpreter) voidExecutor.execute(Interpreter interpreter) -
Uses of Interpreter in com.scriptbasic.spi
Methods in com.scriptbasic.spi that return InterpreterMethods in com.scriptbasic.spi with parameters of type InterpreterModifier and TypeMethodDescriptionvoidCommand.checkedExecute(Interpreter interpreter) voidInterpreterHook.setInterpreter(Interpreter interpreter) During registration the interpreter calls this method to make the interpreter accessible for the hook objects.voidSimpleHook.setInterpreter(Interpreter interpreter) voidLeftValue.setValue(RightValue rightValue, Interpreter interpreter) Assign the value to the left value. -
Uses of Interpreter in com.scriptbasic.utility
Methods in com.scriptbasic.utility with parameters of type InterpreterModifier and TypeMethodDescriptionstatic RightValueExpressionUtility.callBasicFunction(Interpreter interpreter, RightValue[] argumentValues, CommandSub commandSub, String functionName) static List<RightValue> ExpressionUtility.evaluateExpressionList(Interpreter interpreter, ExpressionList expressionList) static Object[]ExpressionUtility.getObjectArray(List<RightValue> args, Method method, Interpreter interpreter) static ObjectReflectionUtility.invoke(Interpreter interpreter, String symbolicName, Method method, Object object, List<RightValue> args) Invoke themethodon theobjectusing theargs.static voidMethodRegisterUtility.registerFunctions(Class<?> klass, Interpreter interpreter) Register all annotated methods of the classklassso that they can be accessed from BASIC.static voidHookRegisterUtility.registerHooks(Interpreter interpreter) Create hook instances and chain them up based on the configuration file. -
Uses of Interpreter in com.scriptbasic.utility.functions
Methods in com.scriptbasic.utility.functions with parameters of type InterpreterModifier and TypeMethodDescriptionstatic voidBasicRuntimeFunctionRegisterer.registerBasicRuntimeFunctions(Interpreter interpreter) Registers the functions that are implemented in Java into the interpreter passed as argument.