Class LogicalAndOperator
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.LogicalAndOperator
- All Implemented Interfaces:
AnalysisResult,Evaluator,Expression
public class LogicalAndOperator extends AbstractShortCircuitBinaryOperator
-
Constructor Summary
Constructors Constructor Description LogicalAndOperator() -
Method Summary
Modifier and Type Method Description protected 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
-
LogicalAndOperator
public LogicalAndOperator()
-
-
Method Details
-
evaluateOn
protected RightValue evaluateOn(Interpreter interpreter, RightValue leftOperand, Expression rightOperand) throws ScriptBasicException- Specified by:
evaluateOnin classAbstractShortCircuitBinaryOperator- Throws:
ScriptBasicException
-