-
-
-
-
Methods in com.scriptbasic.executors.operators that return RightValue
| Modifier and Type |
Method |
Description |
RightValue |
AbstractBinaryFullCircuitOperator.evaluate(Interpreter interpreter) |
|
RightValue |
AbstractShortCircuitBinaryOperator.evaluate(Interpreter interpreter) |
|
RightValue |
JavaObjectFieldAccessOperator.evaluate(Interpreter interpreter) |
|
RightValue |
UnaryOperatorMinus.evaluate(Interpreter interpreter) |
|
RightValue |
UnaryOperatorNot.evaluate(Interpreter interpreter) |
|
RightValue |
UnaryOperatorPlus.evaluate(Interpreter interpreter) |
|
protected RightValue |
AbstractBinaryFullCircuitNumericOperator.evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
|
protected abstract RightValue |
AbstractBinaryFullCircuitOperator.evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
|
protected RightValue |
AbstractCompareOperator.evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
|
protected abstract RightValue |
AbstractShortCircuitBinaryOperator.evaluateOn(Interpreter interpreter,
RightValue leftOperand,
Expression rightOperand) |
|
protected RightValue |
AmpersandOperator.evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
|
protected RightValue |
LogicalAndOperator.evaluateOn(Interpreter interpreter,
RightValue leftOperand,
Expression rightOperand) |
|
protected RightValue |
LogicalOrOperator.evaluateOn(Interpreter interpreter,
RightValue leftOperand,
Expression rightOperand) |
|
protected RightValue |
AbstractBinaryFullCircuitOperator.getLeftOperandEvaluated(Interpreter interpreter) |
Function used to evaluate left operand.
|
protected RightValue |
RightSideEqualsOperator.getLeftOperandEvaluated(Interpreter interpreter) |
|
protected RightValue |
RightSideGreaterOrEqualOperator.getLeftOperandEvaluated(Interpreter interpreter) |
|
protected RightValue |
RightSideLessOrEqualOperator.getLeftOperandEvaluated(Interpreter interpreter) |
|
protected RightValue |
AbstractBinaryFullCircuitOperator.getRightOperandEvaluated(Interpreter interpreter) |
Function used to evaluate right operand.
|
protected abstract RightValue |
AbstractBinaryFullCircuitNumericOperator.operateOnDoubleDouble(java.lang.Double a,
java.lang.Double b) |
|
protected RightValue |
AddOperator.operateOnDoubleDouble(java.lang.Double a,
java.lang.Double b) |
|
protected RightValue |
DivideOperator.operateOnDoubleDouble(java.lang.Double a,
java.lang.Double b) |
|
protected RightValue |
IntegerDivideOperator.operateOnDoubleDouble(java.lang.Double a,
java.lang.Double b) |
|
protected RightValue |
MinusOperator.operateOnDoubleDouble(java.lang.Double a,
java.lang.Double b) |
|
protected RightValue |
ModuloOperator.operateOnDoubleDouble(java.lang.Double a,
java.lang.Double b) |
|
protected RightValue |
MultiplyOperator.operateOnDoubleDouble(java.lang.Double a,
java.lang.Double b) |
|
protected RightValue |
PowerOperator.operateOnDoubleDouble(java.lang.Double a,
java.lang.Double b) |
|
protected RightValue |
AbstractBinaryFullCircuitHalfDoubleOperator.operateOnDoubleLong(java.lang.Double a,
java.lang.Long b) |
|
protected abstract RightValue |
AbstractBinaryFullCircuitNumericOperator.operateOnDoubleLong(java.lang.Double a,
java.lang.Long b) |
|
protected RightValue |
ModuloOperator.operateOnDoubleLong(java.lang.Double a,
java.lang.Long b) |
|
protected RightValue |
AbstractBinaryFullCircuitHalfDoubleOperator.operateOnLongDouble(java.lang.Long a,
java.lang.Double b) |
|
protected abstract RightValue |
AbstractBinaryFullCircuitNumericOperator.operateOnLongDouble(java.lang.Long a,
java.lang.Double b) |
|
protected RightValue |
ModuloOperator.operateOnLongDouble(java.lang.Long a,
java.lang.Double b) |
|
protected RightValue |
AbstractBinaryFullCircuitFullDoubleOperator.operateOnLongLong(java.lang.Long a,
java.lang.Long b) |
|
protected abstract RightValue |
AbstractBinaryFullCircuitNumericOperator.operateOnLongLong(java.lang.Long a,
java.lang.Long b) |
|
protected RightValue |
AddOperator.operateOnLongLong(java.lang.Long a,
java.lang.Long b) |
|
protected RightValue |
DivideOperator.operateOnLongLong(java.lang.Long a,
java.lang.Long b) |
|
protected RightValue |
IntegerDivideOperator.operateOnLongLong(java.lang.Long a,
java.lang.Long b) |
|
protected RightValue |
MinusOperator.operateOnLongLong(java.lang.Long a,
java.lang.Long b) |
|
protected RightValue |
ModuloOperator.operateOnLongLong(java.lang.Long a,
java.lang.Long b) |
|
protected RightValue |
MultiplyOperator.operateOnLongLong(java.lang.Long a,
java.lang.Long b) |
|
protected RightValue |
AbstractBinaryFullCircuitNumericOperator.operateOnValues(RightValue leftOperand,
RightValue rightOperand) |
|
protected RightValue |
AddOperator.operateOnValues(RightValue leftOperand,
RightValue rightOperand) |
If any operand is a string then concatenate the strings
|
Methods in com.scriptbasic.executors.operators with parameters of type RightValue
| Modifier and Type |
Method |
Description |
protected RightValue |
AbstractBinaryFullCircuitNumericOperator.evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
|
protected abstract RightValue |
AbstractBinaryFullCircuitOperator.evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
|
protected RightValue |
AbstractCompareOperator.evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
|
protected abstract RightValue |
AbstractShortCircuitBinaryOperator.evaluateOn(Interpreter interpreter,
RightValue leftOperand,
Expression rightOperand) |
|
protected RightValue |
AmpersandOperator.evaluateOn(RightValue leftOperand,
RightValue rightOperand) |
|
protected RightValue |
LogicalAndOperator.evaluateOn(Interpreter interpreter,
RightValue leftOperand,
Expression rightOperand) |
|
protected RightValue |
LogicalOrOperator.evaluateOn(Interpreter interpreter,
RightValue leftOperand,
Expression rightOperand) |
|
protected static java.lang.Boolean |
AbstractOperator.getAsBoolean(RightValue op) |
Try to convert operator to boolean
|
protected static java.lang.Double |
AbstractOperator.getAsDouble(RightValue op) |
Try to convert operator to double
|
protected static java.lang.Long |
AbstractOperator.getAsLong(RightValue op) |
Try to convert operator to long
|
protected static java.lang.Object |
AbstractOperator.getAsObject(RightValue op) |
Try to convert operator to java object
|
protected static java.lang.String |
AbstractOperator.getAsString(RightValue op) |
Try to convert operator to string
|
protected RightValue |
AbstractBinaryFullCircuitNumericOperator.operateOnValues(RightValue leftOperand,
RightValue rightOperand) |
|
protected RightValue |
AddOperator.operateOnValues(RightValue leftOperand,
RightValue rightOperand) |
If any operand is a string then concatenate the strings
|
-
-
-
-
Methods in com.scriptbasic.spi with parameters of type RightValue
| Modifier and Type |
Method |
Description |
default void |
InterpreterHook.beforeSubroutineCall(java.lang.String subroutineName,
LeftValueList arguments,
RightValue[] argumentValues) |
This method is called before the interpreter invokes a subroutine.
|
void |
SimpleHook.beforeSubroutineCall(java.lang.String subroutineName,
LeftValueList arguments,
RightValue[] argumentValues) |
|
void |
SimpleHook.beforeSubroutineCallEx(java.lang.String subroutineName,
LeftValueList arguments,
RightValue[] argumentValues) |
|
void |
Interpreter.setReturnValue(RightValue returnValue) |
Register the return value.
|
default void |
InterpreterHook.setReturnValue(RightValue returnValue) |
This method is called after a subroutine has set its return value.
|
void |
SimpleHook.setReturnValue(RightValue returnValue) |
|
void |
SimpleHook.setReturnValueEx(RightValue returnValue) |
|
void |
LeftValue.setValue(RightValue rightValue,
Interpreter interpreter) |
Assign the value to the left value.
|
default RightValue |
InterpreterHook.variableRead(java.lang.String variableName,
RightValue value) |
This hook is called when the interpreter accesses a variable.
|
RightValue |
SimpleHook.variableRead(java.lang.String variableName,
RightValue value) |
|
RightValue |
SimpleHook.variableReadEx(java.lang.String variableName,
RightValue value) |
|
-
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.Object |
ReflectionUtility.invoke(Interpreter interpreter,
java.lang.String symbolicName,
java.lang.reflect.Method method,
java.lang.Object object,
java.util.List<RightValue> args) |
Invoke the method on the object using the args.
|