Class LogicalOrOperator
java.lang.Object
com.scriptbasic.executors.AbstractExpression
com.scriptbasic.executors.operators.AbstractOperator
com.scriptbasic.executors.operators.AbstractBinaryOperator
com.scriptbasic.executors.operators.AbstractShortCircuitBinaryOperator
com.scriptbasic.executors.operators.LogicalOrOperator
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RightValueevaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) Methods inherited from class com.scriptbasic.executors.operators.AbstractShortCircuitBinaryOperator
evaluateMethods inherited from class com.scriptbasic.executors.operators.AbstractBinaryOperator
getLeftOperand, getRightOperand, setLeftOperand, setRightOperandMethods inherited from class com.scriptbasic.executors.operators.AbstractOperator
getAsBoolean, getAsDouble, getAsLong, getAsObject, getAsString
-
Constructor Details
-
LogicalOrOperator
public LogicalOrOperator()
-
-
Method Details
-
evaluateOn
protected RightValue evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) throws ScriptBasicException - Specified by:
evaluateOnin classAbstractShortCircuitBinaryOperator- Throws:
ScriptBasicException
-