Class GenericExpression<ENVIRONMENT extends IScratchEnvironment,GENERIC_TYPE,RETURN_TYPE,ARGUMENTS extends ScratchArguments<ENVIRONMENT,?>,EXPRESSION extends GenericExpression<ENVIRONMENT,GENERIC_TYPE,RETURN_TYPE,ARGUMENTS,?>>
java.lang.Object
com.petrolpark.core.scratch.symbol.ScratchSymbol<ENVIRONMENT,ARGUMENTS>
com.petrolpark.core.scratch.symbol.expression.ScratchExpression<ENVIRONMENT,RETURN_TYPE,ARGUMENTS,EXPRESSION>
com.petrolpark.core.scratch.symbol.expression.GenericExpression<ENVIRONMENT,GENERIC_TYPE,RETURN_TYPE,ARGUMENTS,EXPRESSION>
- All Implemented Interfaces:
IScratchExpression<ENVIRONMENT,,RETURN_TYPE, ARGUMENTS, EXPRESSION> IGenericScratchSymbol<ENVIRONMENT,,GENERIC_TYPE, ARGUMENTS> IScratchSymbol<ENVIRONMENT,ARGUMENTS>
- Direct Known Subclasses:
ConditionalExpression,EqualsExpression
public abstract class GenericExpression<ENVIRONMENT extends IScratchEnvironment,GENERIC_TYPE,RETURN_TYPE,ARGUMENTS extends ScratchArguments<ENVIRONMENT,?>,EXPRESSION extends GenericExpression<ENVIRONMENT,GENERIC_TYPE,RETURN_TYPE,ARGUMENTS,?>>
extends ScratchExpression<ENVIRONMENT,RETURN_TYPE,ARGUMENTS,EXPRESSION>
implements IGenericScratchSymbol<ENVIRONMENT,GENERIC_TYPE,ARGUMENTS>
-
Nested Class Summary
Nested 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
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.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>
-