Class IntegerArithmeticExpression
java.lang.Object
com.petrolpark.core.scratch.symbol.ScratchSymbol<IScratchEnvironment,ScratchArguments.And<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ScratchArguments.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>>>,ScratchParameters.And<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>,ScratchArguments.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>>,ScratchParameters.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,DropdownArgument.DropdownParameter<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>,ScratchParameters.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>>>>>
com.petrolpark.core.scratch.symbol.expression.ScratchExpression<IScratchEnvironment,Long,ScratchArguments.And<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ScratchArguments.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>>>,ScratchParameters.And<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>,ScratchArguments.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>>,ScratchParameters.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,DropdownArgument.DropdownParameter<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>,ScratchParameters.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>>>>>
com.petrolpark.core.scratch.symbol.expression.SimpleExpressionType<IScratchEnvironment,Long,ScratchArguments.And<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ScratchArguments.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>>>,ScratchParameters.And<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>,ScratchArguments.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>>,ScratchParameters.And<IScratchEnvironment,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,DropdownArgument.DropdownParameter<IScratchEnvironment,IntegerArithmeticExpression.Operation>,ScratchArguments.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>>,ScratchParameters.Just<IScratchEnvironment,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>>>>,IntegerArithmeticExpression>
com.petrolpark.core.scratch.symbol.expression.TernaryExpressionType<IScratchEnvironment,Long,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,DropdownArgument.DropdownParameter<IScratchEnvironment,IntegerArithmeticExpression.Operation>,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>,IntegerArithmeticExpression>
com.petrolpark.core.scratch.symbol.expression.math.IntegerArithmeticExpression
- All Implemented Interfaces:
IScratchExpression<IScratchEnvironment,,Long, ScratchArguments.And<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ScratchArguments.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>>>, ScratchParameters.And<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment, Long>, ScratchArguments.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>>, ScratchParameters.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, DropdownArgument.DropdownParameter<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>, ScratchParameters.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment, Long>>>>> IScratchExpression.Type<IntegerArithmeticExpression>,IScratchSymbol<IScratchEnvironment,,ScratchArguments.And<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ScratchArguments.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>>>, ScratchParameters.And<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment, Long>, ScratchArguments.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>>, ScratchParameters.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, DropdownArgument.DropdownParameter<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>, ScratchParameters.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment, Long>>>>> IScratchSymbol.Type<IntegerArithmeticExpression>
public class IntegerArithmeticExpression
extends TernaryExpressionType<IScratchEnvironment,Long,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>,IntegerArithmeticExpression.Operation,DropdownArgument<IScratchEnvironment,IntegerArithmeticExpression.Operation>,DropdownArgument.DropdownParameter<IScratchEnvironment,IntegerArithmeticExpression.Operation>,Long,ExpressionOrLiteralArgument<IScratchEnvironment,Long>,ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment,Long>,IntegerArithmeticExpression>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.petrolpark.core.scratch.symbol.expression.IScratchExpression
IScratchExpression.Type<EXPRESSION extends IScratchExpression<?,?, ?, ?>> Nested classes/interfaces inherited from interface com.petrolpark.core.scratch.symbol.IScratchSymbol
IScratchSymbol.Type<SYMBOL extends IScratchSymbol<?,?, ?>> -
Field Summary
Fields inherited from class com.petrolpark.core.scratch.symbol.ScratchSymbol
parametersFields inherited from interface com.petrolpark.core.scratch.symbol.expression.IScratchExpression
CODEC, STREAM_CODEC, TYPED_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(IScratchEnvironment environment, Long argument1, IntegerArithmeticExpression.Operation argument2, Long argument3) protected IntegerArithmeticExpressionself()Methods inherited from class com.petrolpark.core.scratch.symbol.expression.TernaryExpressionType
evaluateMethods inherited from class com.petrolpark.core.scratch.symbol.expression.SimpleExpressionType
codec, getExpressionType, streamCodecMethods inherited from class com.petrolpark.core.scratch.symbol.ScratchSymbol
getParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.petrolpark.core.scratch.symbol.IScratchSymbol
canEvaluate, getParameters
-
Constructor Details
-
IntegerArithmeticExpression
public IntegerArithmeticExpression()
-
-
Method Details
-
getReturnClass
-
evaluate
public Long evaluate(IScratchEnvironment environment, Long argument1, IntegerArithmeticExpression.Operation argument2, Long argument3) - Specified by:
evaluatein classTernaryExpressionType<IScratchEnvironment,Long, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment, Long>, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, DropdownArgument.DropdownParameter<IScratchEnvironment, IntegerArithmeticExpression.Operation>, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment, Long>, IntegerArithmeticExpression>
-
self
- Specified by:
selfin classSimpleExpressionType<IScratchEnvironment,Long, ScratchArguments.And<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ScratchArguments.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>>>, ScratchParameters.And<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment, Long>, ScratchArguments.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>>, ScratchParameters.And<IScratchEnvironment, IntegerArithmeticExpression.Operation, DropdownArgument<IScratchEnvironment, IntegerArithmeticExpression.Operation>, DropdownArgument.DropdownParameter<IScratchEnvironment, IntegerArithmeticExpression.Operation>, ScratchArguments.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>>, ScratchParameters.Just<IScratchEnvironment, Long, ExpressionOrLiteralArgument<IScratchEnvironment, Long>, ExpressionOrLiteralArgument.ExpressionOrLiteralParameter<IScratchEnvironment, Long>>>>, IntegerArithmeticExpression>
-