Class QueryVariableExpression<TYPE,ARGUMENT extends IScratchArgument<IScratchEnvironment,TYPE>>
java.lang.Object
com.petrolpark.core.scratch.symbol.ScratchSymbol<IVariableScratchEnvironment,ScratchArguments.Just<IVariableScratchEnvironment,ScratchVariableIdentifier,VariableArgument>,ScratchParameters.Just<IVariableScratchEnvironment,ScratchVariableIdentifier,VariableArgument,VariableArgument.VariableParameter>>
com.petrolpark.core.scratch.symbol.expression.ScratchExpression<IVariableScratchEnvironment,TYPE,ScratchArguments.Just<IVariableScratchEnvironment,ScratchVariableIdentifier,VariableArgument>,ScratchParameters.Just<IVariableScratchEnvironment,ScratchVariableIdentifier,VariableArgument,VariableArgument.VariableParameter>>
com.petrolpark.core.scratch.symbol.expression.GenericExpression<IVariableScratchEnvironment,TYPE,ARGUMENT,TYPE,ScratchArguments.Just<IVariableScratchEnvironment,ScratchVariableIdentifier,VariableArgument>,ScratchParameters.Just<IVariableScratchEnvironment,ScratchVariableIdentifier,VariableArgument,VariableArgument.VariableParameter>>
com.petrolpark.core.scratch.symbol.expression.UnaryGenericExpression<IVariableScratchEnvironment,TYPE,ARGUMENT,TYPE,ScratchVariableIdentifier,VariableArgument,VariableArgument.VariableParameter>
com.petrolpark.core.scratch.symbol.expression.variable.QueryVariableExpression<TYPE,ARGUMENT>
- All Implemented Interfaces:
IScratchExpression<IVariableScratchEnvironment,,TYPE, ScratchArguments.Just<IVariableScratchEnvironment, ScratchVariableIdentifier, VariableArgument>, ScratchParameters.Just<IVariableScratchEnvironment, ScratchVariableIdentifier, VariableArgument, VariableArgument.VariableParameter>> IGenericScratchSymbol<IVariableScratchEnvironment,,TYPE, ARGUMENT, ScratchArguments.Just<IVariableScratchEnvironment, ScratchVariableIdentifier, VariableArgument>, ScratchParameters.Just<IVariableScratchEnvironment, ScratchVariableIdentifier, VariableArgument, VariableArgument.VariableParameter>> IScratchSymbol<IVariableScratchEnvironment,ScratchArguments.Just<IVariableScratchEnvironment, ScratchVariableIdentifier, VariableArgument>, ScratchParameters.Just<IVariableScratchEnvironment, ScratchVariableIdentifier, VariableArgument, VariableArgument.VariableParameter>>
public final class QueryVariableExpression<TYPE,ARGUMENT extends IScratchArgument<IScratchEnvironment,TYPE>>
extends UnaryGenericExpression<IVariableScratchEnvironment,TYPE,ARGUMENT,TYPE,ScratchVariableIdentifier,VariableArgument,VariableArgument.VariableParameter>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.petrolpark.core.scratch.symbol.expression.GenericExpression
GenericExpression.Type<EXPRESSION extends GenericExpression<?,?, ?, ?, ?, ?>> -
Field Summary
Fields inherited from class com.petrolpark.core.scratch.symbol.expression.GenericExpression
genericClassFields 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
ConstructorsModifierConstructorDescriptionprotectedQueryVariableExpression(IScratchClass<TYPE, ARGUMENT> genericClass) -
Method Summary
Modifier and TypeMethodDescriptionstatic final <TYPE,ARGUMENT extends IScratchArgument<IScratchEnvironment, TYPE>>
QueryVariableExpression<TYPE, ARGUMENT> create(IScratchClass<TYPE, ARGUMENT> genericClass) evaluate(IVariableScratchEnvironment environment, ScratchVariableIdentifier argument) Methods inherited from class com.petrolpark.core.scratch.symbol.expression.UnaryGenericExpression
evaluateMethods inherited from class com.petrolpark.core.scratch.symbol.expression.GenericExpression
getGenericScratchClassMethods 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.IScratchSymbol
getParameters
-
Constructor Details
-
QueryVariableExpression
-
-
Method Details
-
create
public static final <TYPE,ARGUMENT extends IScratchArgument<IScratchEnvironment, QueryVariableExpression<TYPE,TYPE>> ARGUMENT> create(IScratchClass<TYPE, ARGUMENT> genericClass) -
evaluate
-
getReturnClass
-
getExpressionType
-