Uses of Interface
com.scriptbasic.spi.RightValue
-
-
Uses of RightValue in com.scriptbasic.executors
Methods in com.scriptbasic.executors that return RightValue Modifier and Type Method Description RightValueBasicInterpreter. getReturnValue()Methods in com.scriptbasic.executors with parameters of type RightValue Modifier and Type Method Description voidBasicInterpreter. setReturnValue(RightValue returnValue) -
Uses of RightValue in com.scriptbasic.executors.leftvalues
Methods in com.scriptbasic.executors.leftvalues with parameters of type RightValue Modifier and Type Method Description voidBasicLeftValue. setValue(RightValue rightValue, Interpreter interpreter) -
Uses of RightValue in com.scriptbasic.executors.operators
Methods in com.scriptbasic.executors.operators that return RightValue Modifier and Type Method Description RightValueAbstractBinaryFullCircuitOperator. evaluate(Interpreter interpreter)RightValueAbstractShortCircuitBinaryOperator. evaluate(Interpreter interpreter)RightValueJavaObjectFieldAccessOperator. evaluate(Interpreter interpreter)RightValueUnaryOperatorMinus. evaluate(Interpreter interpreter)RightValueUnaryOperatorNot. evaluate(Interpreter interpreter)RightValueUnaryOperatorPlus. evaluate(Interpreter interpreter)protected 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 RightValueLogicalAndOperator. evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand)protected RightValueLogicalOrOperator. evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand)protected abstract RightValueAbstractBinaryFullCircuitNumericOperator. operateOnDoubleDouble(java.lang.Double a, java.lang.Double b)protected RightValueAddOperator. operateOnDoubleDouble(java.lang.Double a, java.lang.Double b)protected RightValueDivideOperator. operateOnDoubleDouble(java.lang.Double a, java.lang.Double b)protected RightValueIntegerDivideOperator. operateOnDoubleDouble(java.lang.Double a, java.lang.Double b)protected RightValueMinusOperator. operateOnDoubleDouble(java.lang.Double a, java.lang.Double b)protected RightValueModuloOperator. operateOnDoubleDouble(java.lang.Double a, java.lang.Double b)protected RightValueMultiplyOperator. operateOnDoubleDouble(java.lang.Double a, java.lang.Double b)protected RightValuePowerOperator. operateOnDoubleDouble(java.lang.Double a, java.lang.Double b)protected RightValueAbstractBinaryFullCircuitHalfDoubleOperator. operateOnDoubleLong(java.lang.Double a, java.lang.Long b)protected abstract RightValueAbstractBinaryFullCircuitNumericOperator. operateOnDoubleLong(java.lang.Double a, java.lang.Long b)protected RightValueModuloOperator. operateOnDoubleLong(java.lang.Double a, java.lang.Long b)protected RightValueAbstractBinaryFullCircuitHalfDoubleOperator. operateOnLongDouble(java.lang.Long a, java.lang.Double b)protected abstract RightValueAbstractBinaryFullCircuitNumericOperator. operateOnLongDouble(java.lang.Long a, java.lang.Double b)protected RightValueModuloOperator. operateOnLongDouble(java.lang.Long a, java.lang.Double b)protected RightValueAbstractBinaryFullCircuitFullDoubleOperator. operateOnLongLong(java.lang.Long a, java.lang.Long b)protected abstract RightValueAbstractBinaryFullCircuitNumericOperator. operateOnLongLong(java.lang.Long a, java.lang.Long b)protected RightValueAddOperator. operateOnLongLong(java.lang.Long a, java.lang.Long b)protected RightValueDivideOperator. operateOnLongLong(java.lang.Long a, java.lang.Long b)protected RightValueIntegerDivideOperator. operateOnLongLong(java.lang.Long a, java.lang.Long b)protected RightValueMinusOperator. operateOnLongLong(java.lang.Long a, java.lang.Long b)protected RightValueModuloOperator. operateOnLongLong(java.lang.Long a, java.lang.Long b)protected RightValueMultiplyOperator. operateOnLongLong(java.lang.Long a, java.lang.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 RightValue Modifier and Type Method Description protected static intAbstractCompareOperator. compareJavaObjectTo(BasicJavaObjectValue f, RightValue op)protected abstract java.lang.BooleanAbstractCompareOperator. compareTo(BasicBooleanValue s, RightValue op)protected abstract java.lang.BooleanAbstractCompareOperator. compareTo(BasicDoubleValue d, RightValue op)protected abstract java.lang.BooleanAbstractCompareOperator. compareTo(BasicJavaObjectValue s, RightValue op)protected abstract java.lang.BooleanAbstractCompareOperator. compareTo(BasicLongValue l, RightValue op)protected abstract java.lang.BooleanAbstractCompareOperator. compareTo(BasicStringValue s, RightValue op)protected java.lang.BooleanEqualsOperator. compareTo(BasicBooleanValue f, RightValue op)protected java.lang.BooleanEqualsOperator. compareTo(BasicDoubleValue f, RightValue op)protected java.lang.BooleanEqualsOperator. compareTo(BasicJavaObjectValue f, RightValue op)protected java.lang.BooleanEqualsOperator. compareTo(BasicLongValue f, RightValue op)protected java.lang.BooleanEqualsOperator. compareTo(BasicStringValue f, RightValue op)protected java.lang.BooleanGreaterOrEqualOperator. compareTo(BasicBooleanValue f, RightValue op)protected java.lang.BooleanGreaterOrEqualOperator. compareTo(BasicDoubleValue f, RightValue op)protected java.lang.BooleanGreaterOrEqualOperator. compareTo(BasicJavaObjectValue f, RightValue op)protected java.lang.BooleanGreaterOrEqualOperator. compareTo(BasicLongValue f, RightValue op)protected java.lang.BooleanGreaterOrEqualOperator. compareTo(BasicStringValue f, RightValue op)protected java.lang.BooleanGreaterThanOperator. compareTo(BasicBooleanValue f, RightValue op)protected java.lang.BooleanGreaterThanOperator. compareTo(BasicDoubleValue f, RightValue op)protected java.lang.BooleanGreaterThanOperator. compareTo(BasicJavaObjectValue f, RightValue op)protected java.lang.BooleanGreaterThanOperator. compareTo(BasicLongValue f, RightValue op)protected java.lang.BooleanGreaterThanOperator. compareTo(BasicStringValue f, RightValue op)protected java.lang.BooleanLessOrEqualOperator. compareTo(BasicBooleanValue f, RightValue op)protected java.lang.BooleanLessOrEqualOperator. compareTo(BasicDoubleValue f, RightValue op)protected java.lang.BooleanLessOrEqualOperator. compareTo(BasicJavaObjectValue f, RightValue op)protected java.lang.BooleanLessOrEqualOperator. compareTo(BasicLongValue f, RightValue op)protected java.lang.BooleanLessOrEqualOperator. compareTo(BasicStringValue f, RightValue op)protected java.lang.BooleanLessThanOperator. compareTo(BasicBooleanValue f, RightValue op)protected java.lang.BooleanLessThanOperator. compareTo(BasicDoubleValue f, RightValue op)protected java.lang.BooleanLessThanOperator. compareTo(BasicJavaObjectValue f, RightValue op)protected java.lang.BooleanLessThanOperator. compareTo(BasicLongValue f, RightValue op)protected java.lang.BooleanLessThanOperator. compareTo(BasicStringValue f, RightValue op)protected java.lang.BooleanNotEqualOperator. compareTo(BasicBooleanValue f, RightValue op)protected java.lang.BooleanNotEqualOperator. compareTo(BasicDoubleValue f, RightValue op)protected java.lang.BooleanNotEqualOperator. compareTo(BasicJavaObjectValue f, RightValue op)protected java.lang.BooleanNotEqualOperator. compareTo(BasicLongValue f, RightValue op)protected java.lang.BooleanNotEqualOperator. compareTo(BasicStringValue f, RightValue op)protected 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 RightValueLogicalAndOperator. evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand)protected RightValueLogicalOrOperator. evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand)protected RightValueAbstractBinaryFullCircuitNumericOperator. operateOnValues(RightValue leftOperand, RightValue rightOperand)protected RightValueAddOperator. operateOnValues(RightValue leftOperand, RightValue rightOperand)If any operand is a string then concatenate the strings -
Uses of RightValue in com.scriptbasic.executors.rightvalues
Classes in com.scriptbasic.executors.rightvalues that implement RightValue Modifier and Type Class Description classAbstractNumericRightValue<T extends java.lang.Number>classAbstractPrimitiveRightValue<T>classBasicArrayValueclassBasicBooleanValueclassBasicDoubleValueclassBasicJavaObjectValueclassBasicLongValueclassBasicStringValueMethods in com.scriptbasic.executors.rightvalues that return RightValue Modifier and Type Method Description RightValueAbstractPrimitiveRightValue. evaluate(Interpreter interpreter)RightValueArrayElementAccess. evaluate(Interpreter interpreter)RightValueFunctionCall. evaluate(Interpreter interpreter)RightValueVariableAccess. evaluate(Interpreter interpreter)Methods in com.scriptbasic.executors.rightvalues with parameters of type RightValue Modifier and Type Method Description static java.lang.BooleanBasicBooleanValue. asBoolean(RightValue originalValue)static java.lang.DoubleBasicDoubleValue. asDouble(RightValue rv)static java.lang.DoubleBasicDoubleValue. asDouble(RightValue rv, java.lang.String errorMessageForNull)static java.lang.LongBasicLongValue. asLong(RightValue rv)static java.lang.LongBasicLongValue. asLong(RightValue rv, java.lang.String errorMessageForNull)static java.lang.ObjectBasicJavaObjectValue. asObject(RightValue rightValue)static java.lang.StringBasicStringValue. asString(RightValue rv) -
Uses of RightValue in com.scriptbasic.interfaces
Methods in com.scriptbasic.interfaces that return RightValue Modifier and Type Method Description RightValueEvaluator. evaluate(Interpreter interpreter)RightValueVariableMap. getVariableValue(java.lang.String variableName)Get the value of a variable.Methods in com.scriptbasic.interfaces with parameters of type RightValue Modifier and Type Method Description voidVariableMap. setVariable(java.lang.String variableName, RightValue rightValue)Set the value of the variable. -
Uses of RightValue in com.scriptbasic.memory
Methods in com.scriptbasic.memory that return RightValue Modifier and Type Method Description RightValueBasicLocalVariableMap. getVariableValue(java.lang.String variableName)RightValueMixedBasicVariableMap. getVariableValue(java.lang.String variableName)Methods in com.scriptbasic.memory with parameters of type RightValue Modifier and Type Method Description voidBasicLocalVariableMap. setVariable(java.lang.String variableName, RightValue rightValue)voidMixedBasicVariableMap. setVariable(java.lang.String variableName, RightValue rightValue) -
Uses of RightValue in com.scriptbasic.spi
Methods in com.scriptbasic.spi that return RightValue Modifier and Type Method Description static RightValueBasicValue. create(java.lang.Object object)RightValueInterpreter. getReturnValue()Get the return value that was set by the execution of the subroutine.default RightValueInterpreterHook. variableRead(java.lang.String variableName, RightValue value)This hook is called when the interpreter accesses a variable.RightValueSimpleHook. variableRead(java.lang.String variableName, RightValue value)RightValueSimpleHook. variableReadEx(java.lang.String variableName, RightValue value)Methods in com.scriptbasic.spi with parameters of type RightValue Modifier and Type Method Description default voidInterpreterHook. beforeSubroutineCall(java.lang.String subroutineName, LeftValueList arguments, RightValue[] argumentValues)This method is called before the interpreter invokes a subroutine.voidSimpleHook. beforeSubroutineCall(java.lang.String subroutineName, LeftValueList arguments, RightValue[] argumentValues)voidSimpleHook. beforeSubroutineCallEx(java.lang.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(java.lang.String variableName, RightValue value)This hook is called when the interpreter accesses a variable.RightValueSimpleHook. variableRead(java.lang.String variableName, RightValue value)RightValueSimpleHook. variableReadEx(java.lang.String variableName, RightValue value) -
Uses of RightValue in com.scriptbasic.utility
Methods in com.scriptbasic.utility that return RightValue Modifier and Type Method Description static RightValueExpressionUtility. callBasicFunction(Interpreter interpreter, RightValue[] argumentValues, CommandSub commandSub, java.lang.String functionName)static RightValueRightValueUtility. createRightValue(java.lang.Object value)Create a right value from the object.static RightValue[]RightValueUtility. createRightValues(java.lang.Object[] values)Create a right value array from an object array.Methods in com.scriptbasic.utility that return types with arguments of type RightValue Modifier and Type Method Description static java.util.List<RightValue>ExpressionUtility. evaluateExpressionList(Interpreter interpreter, ExpressionList expressionList)Methods in com.scriptbasic.utility with parameters of type RightValue Modifier and Type Method Description static RightValueExpressionUtility. callBasicFunction(Interpreter interpreter, RightValue[] argumentValues, CommandSub commandSub, java.lang.String functionName)static java.lang.IntegerRightValueUtility. convert2Integer(RightValue index)static java.lang.ObjectRightValueUtility. getValueObject(RightValue arg)static java.lang.ObjectCastUtility. toObject(RightValue rightValue)Method parameters in com.scriptbasic.utility with type arguments of type RightValue Modifier and Type Method Description static java.lang.Object[]ExpressionUtility. getObjectArray(java.util.List<RightValue> args, java.lang.reflect.Method method, Interpreter interpreter)static java.lang.ObjectReflectionUtility. invoke(Interpreter interpreter, java.lang.String symbolicName, java.lang.reflect.Method method, java.lang.Object object, java.util.List<RightValue> args)Invoke themethodon theobjectusing theargs.
-