Uses of Interface
com.scriptbasic.spi.RightValue
Packages that use RightValue
Package
Description
-
Uses of RightValue in com.scriptbasic.executors
Methods in com.scriptbasic.executors that return RightValueMethods in com.scriptbasic.executors with parameters of type RightValue -
Uses of RightValue in com.scriptbasic.executors.commands
Methods in com.scriptbasic.executors.commands with parameters of type RightValueModifier and TypeMethodDescriptionbooleanCommandCase.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) -
Uses of RightValue in com.scriptbasic.executors.leftvalues
Methods in com.scriptbasic.executors.leftvalues with parameters of type RightValueModifier and TypeMethodDescriptionvoidBasicLeftValue.setValue(RightValue rightValue, Interpreter interpreter) -
Uses of RightValue in com.scriptbasic.executors.operators
Methods in com.scriptbasic.executors.operators that return RightValueModifier 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 final RightValueAbstractBinaryFullCircuitNumericOperator.evaluateOn(RightValue leftOperand, RightValue rightOperand) protected abstract RightValueAbstractBinaryFullCircuitOperator.evaluateOn(RightValue leftOperand, RightValue rightOperand) protected RightValueAbstractCompareOperator.evaluateOn(RightValue leftOperand, RightValue rightOperand) protected abstract RightValueAbstractShortCircuitBinaryOperator.evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) protected RightValueAmpersandOperator.evaluateOn(RightValue leftOperand, RightValue 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.protected RightValueAbstractBinaryFullCircuitFullDoubleOperator.operateOnDate(Long a, Long b) protected abstract RightValueAbstractBinaryFullCircuitNumericOperator.operateOnDate(Long a, Long b) protected RightValueAddOperator.operateOnDate(Long a, Long b) protected RightValueDivideOperator.operateOnDate(Long a, Long b) protected RightValueIntegerDivideOperator.operateOnDate(Long a, Long b) protected RightValueMinusOperator.operateOnDate(Long a, Long b) protected RightValueModuloOperator.operateOnDate(Long a, Long b) protected RightValueMultiplyOperator.operateOnDate(Long a, Long b) protected abstract RightValueAbstractBinaryFullCircuitNumericOperator.operateOnDoubleDouble(Double a, Double b) protected RightValueAddOperator.operateOnDoubleDouble(Double a, Double b) protected RightValueDivideOperator.operateOnDoubleDouble(Double a, Double b) protected RightValueIntegerDivideOperator.operateOnDoubleDouble(Double a, Double b) protected RightValueMinusOperator.operateOnDoubleDouble(Double a, Double b) protected RightValueModuloOperator.operateOnDoubleDouble(Double a, Double b) protected RightValueMultiplyOperator.operateOnDoubleDouble(Double a, Double b) protected RightValuePowerOperator.operateOnDoubleDouble(Double a, Double b) protected final RightValueAbstractBinaryFullCircuitHalfDoubleOperator.operateOnDoubleLong(Double a, Long b) protected abstract RightValueAbstractBinaryFullCircuitNumericOperator.operateOnDoubleLong(Double a, Long b) protected RightValueModuloOperator.operateOnDoubleLong(Double a, Long b) protected final RightValueAbstractBinaryFullCircuitHalfDoubleOperator.operateOnLongDouble(Long a, Double b) protected abstract RightValueAbstractBinaryFullCircuitNumericOperator.operateOnLongDouble(Long a, Double b) protected RightValueModuloOperator.operateOnLongDouble(Long a, Double b) protected final RightValueAbstractBinaryFullCircuitFullDoubleOperator.operateOnLongLong(Long a, Long b) protected abstract RightValueAbstractBinaryFullCircuitNumericOperator.operateOnLongLong(Long a, Long b) protected RightValueAddOperator.operateOnLongLong(Long a, Long b) protected RightValueDivideOperator.operateOnLongLong(Long a, Long b) protected RightValueIntegerDivideOperator.operateOnLongLong(Long a, Long b) protected RightValueMinusOperator.operateOnLongLong(Long a, Long b) protected RightValueModuloOperator.operateOnLongLong(Long a, Long b) protected RightValueMultiplyOperator.operateOnLongLong(Long a, Long b) protected RightValueAbstractBinaryFullCircuitNumericOperator.operateOnValues(RightValue leftOperand, RightValue rightOperand) protected RightValueAddOperator.operateOnValues(RightValue leftOperand, RightValue rightOperand) If any operand is a string then concatenate the stringsMethods in com.scriptbasic.executors.operators with parameters of type RightValueModifier and TypeMethodDescriptionprotected final RightValueAbstractBinaryFullCircuitNumericOperator.evaluateOn(RightValue leftOperand, RightValue rightOperand) protected abstract RightValueAbstractBinaryFullCircuitOperator.evaluateOn(RightValue leftOperand, RightValue rightOperand) protected RightValueAbstractCompareOperator.evaluateOn(RightValue leftOperand, RightValue rightOperand) protected abstract RightValueAbstractShortCircuitBinaryOperator.evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) protected RightValueAmpersandOperator.evaluateOn(RightValue leftOperand, RightValue rightOperand) protected RightValueLogicalAndOperator.evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) protected RightValueLogicalOrOperator.evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) protected static BooleanAbstractOperator.getAsBoolean(RightValue op) Try to convert operator to booleanprotected static DoubleAbstractOperator.getAsDouble(RightValue op) Try to convert operator to doubleprotected static LongAbstractOperator.getAsLong(RightValue op) Try to convert operator to longprotected static ObjectAbstractOperator.getAsObject(RightValue op) Try to convert operator to java objectprotected static StringAbstractOperator.getAsString(RightValue op) Try to convert operator to stringprotected RightValueAbstractBinaryFullCircuitNumericOperator.operateOnValues(RightValue leftOperand, RightValue rightOperand) protected RightValueAddOperator.operateOnValues(RightValue leftOperand, RightValue rightOperand) If any operand is a string then concatenate the stringsConstructors in com.scriptbasic.executors.operators with parameters of type RightValueModifierConstructorDescriptionRightSideEqualsOperator(RightValue leftOperandEvaluated) RightSideGreaterOrEqualOperator(RightValue leftOperandEvaluated) RightSideLessOrEqualOperator(RightValue leftOperandEvaluated) -
Uses of RightValue in com.scriptbasic.executors.rightvalues
Classes in com.scriptbasic.executors.rightvalues that implement RightValueModifier and TypeClassDescriptionclassAbstractNumericRightValue<N extends Number,T> classclassfinal classclassclassclassclassclassclassMethods in com.scriptbasic.executors.rightvalues that return RightValueModifier and TypeMethodDescriptionAbstractPrimitiveRightValue.evaluate(Interpreter interpreter) ArrayElementAccess.evaluate(Interpreter interpreter) FunctionCall.evaluate(Interpreter interpreter) VariableAccess.evaluate(Interpreter interpreter) Methods in com.scriptbasic.executors.rightvalues with parameters of type RightValueModifier and TypeMethodDescriptionstatic BooleanBasicBooleanValue.asBoolean(RightValue originalValue) static DoubleBasicDoubleValue.asDouble(RightValue rv) static DoubleBasicDoubleValue.asDouble(RightValue rv, String errorMessageForNull) static LongBasicLongValue.asLong(RightValue rv) static LongBasicLongValue.asLong(RightValue rv, String errorMessageForNull) static ObjectBasicJavaObjectValue.asObject(RightValue rightValue) static StringBasicStringValue.asString(RightValue rv) -
Uses of RightValue in com.scriptbasic.interfaces
Methods in com.scriptbasic.interfaces that return RightValueModifier and TypeMethodDescriptionEvaluator.evaluate(Interpreter interpreter) VariableMap.getVariableValue(String variableName) Get the value of a variable.Methods in com.scriptbasic.interfaces with parameters of type RightValueModifier and TypeMethodDescriptionvoidVariableMap.setVariable(String variableName, RightValue rightValue) Set the value of the variable. -
Uses of RightValue in com.scriptbasic.memory
Methods in com.scriptbasic.memory that return RightValueModifier and TypeMethodDescriptionBasicLocalVariableMap.getVariableValue(String variableName) MixedBasicVariableMap.getVariableValue(String variableName) Methods in com.scriptbasic.memory with parameters of type RightValueModifier and TypeMethodDescriptionvoidBasicLocalVariableMap.setVariable(String variableName, RightValue rightValue) voidMixedBasicVariableMap.setVariable(String variableName, RightValue rightValue) -
Uses of RightValue in com.scriptbasic.spi
Methods in com.scriptbasic.spi that return RightValueModifier and TypeMethodDescriptionstatic RightValueInterpreter.getReturnValue()Get the return value that was set by the execution of the subroutine.default RightValueInterpreterHook.variableRead(String variableName, RightValue value) This hook is called when the interpreter accesses a variable.SimpleHook.variableRead(String variableName, RightValue value) SimpleHook.variableReadEx(String variableName, RightValue value) Methods in com.scriptbasic.spi with parameters of type RightValueModifier and TypeMethodDescriptiondefault voidInterpreterHook.beforeSubroutineCall(String subroutineName, LeftValueList arguments, RightValue[] argumentValues) This method is called before the interpreter invokes a subroutine.voidSimpleHook.beforeSubroutineCall(String subroutineName, LeftValueList arguments, RightValue[] argumentValues) voidSimpleHook.beforeSubroutineCallEx(String subroutineName, LeftValueList arguments, RightValue[] argumentValues) voidInterpreter.setReturnValue(RightValue returnValue) Register the return value.default voidInterpreterHook.setReturnValue(RightValue returnValue) This method is called after a subroutine has set its return value.voidSimpleHook.setReturnValue(RightValue returnValue) voidSimpleHook.setReturnValueEx(RightValue returnValue) voidLeftValue.setValue(RightValue rightValue, Interpreter interpreter) Assign the value to the left value.default RightValueInterpreterHook.variableRead(String variableName, RightValue value) This hook is called when the interpreter accesses a variable.SimpleHook.variableRead(String variableName, RightValue value) SimpleHook.variableReadEx(String variableName, RightValue value) -
Uses of RightValue in com.scriptbasic.utility
Methods in com.scriptbasic.utility that return RightValueModifier and TypeMethodDescriptionstatic RightValueExpressionUtility.callBasicFunction(Interpreter interpreter, RightValue[] argumentValues, CommandSub commandSub, String functionName) static RightValueRightValueUtility.createRightValue(Object value) Create a right value from the object.static RightValue[]RightValueUtility.createRightValues(Object[] values) Create a right value array from an object array.Methods in com.scriptbasic.utility that return types with arguments of type RightValueModifier and TypeMethodDescriptionstatic List<RightValue> ExpressionUtility.evaluateExpressionList(Interpreter interpreter, ExpressionList expressionList) Methods in com.scriptbasic.utility with parameters of type RightValueModifier and TypeMethodDescriptionstatic RightValueExpressionUtility.callBasicFunction(Interpreter interpreter, RightValue[] argumentValues, CommandSub commandSub, String functionName) static IntegerRightValueUtility.convert2Integer(RightValue index) static ObjectRightValueUtility.getValueObject(RightValue arg) static ObjectCastUtility.toObject(RightValue rightValue) Method parameters in com.scriptbasic.utility with type arguments of type RightValueModifier and TypeMethodDescriptionstatic 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.