Class GenericExpression<ENVIRONMENT extends IScratchEnvironment,GENERIC_TYPE,RETURN_TYPE,ARGUMENTS extends ScratchArguments<ENVIRONMENT,?>>
java.lang.Object
com.petrolpark.core.scratch.symbol.ScratchSymbol<ENVIRONMENT,ARGUMENTS>
com.petrolpark.core.scratch.symbol.expression.ScratchExpression<ENVIRONMENT,RETURN_TYPE,ARGUMENTS>
com.petrolpark.core.scratch.symbol.expression.GenericExpression<ENVIRONMENT,GENERIC_TYPE,RETURN_TYPE,ARGUMENTS>
- All Implemented Interfaces:
IScratchExpression<ENVIRONMENT,,RETURN_TYPE, ARGUMENTS> IGenericScratchSymbol<ENVIRONMENT,,GENERIC_TYPE, ARGUMENTS> IScratchSymbol<ENVIRONMENT,ARGUMENTS>
- Direct Known Subclasses:
ConditionalExpression,EqualsExpression,MissingExpression,QueryListExpression,QueryVariableExpression
public abstract class GenericExpression<ENVIRONMENT extends IScratchEnvironment,GENERIC_TYPE,RETURN_TYPE,ARGUMENTS extends ScratchArguments<ENVIRONMENT,?>>
extends ScratchExpression<ENVIRONMENT,RETURN_TYPE,ARGUMENTS>
implements IGenericScratchSymbol<ENVIRONMENT,GENERIC_TYPE,ARGUMENTS>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGenericExpression.Type<EXPRESSION extends GenericExpression<?,?, ?, ?>> -
Field Summary
FieldsFields 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
ConstructorsModifierConstructorDescriptionprotectedGenericExpression(IScratchClass<GENERIC_TYPE> genericClass, ScratchParameters<ENVIRONMENT, ARGUMENTS> parameters) -
Method Summary
Methods 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.IGenericScratchSymbol
canEvaluateMethods inherited from interface com.petrolpark.core.scratch.symbol.expression.IScratchExpression
evaluate, getExpressionType, getReturnClassMethods inherited from interface com.petrolpark.core.scratch.symbol.IScratchSymbol
getParameters
-
Field Details
-
genericClass
-
-
Constructor Details
-
GenericExpression
protected GenericExpression(IScratchClass<GENERIC_TYPE> genericClass, ScratchParameters<ENVIRONMENT, ARGUMENTS> parameters)
-
-
Method Details
-
getGenericScratchClass
- Specified by:
getGenericScratchClassin interfaceIGenericScratchSymbol<ENVIRONMENT extends IScratchEnvironment,GENERIC_TYPE, RETURN_TYPE>
-