Uses of Interface
de.firemage.autograder.core.integrated.evaluator.fold.Fold
Packages that use Fold
Package
Description
-
Uses of Fold in de.firemage.autograder.core.integrated.evaluator
Constructors in de.firemage.autograder.core.integrated.evaluator with parameters of type Fold -
Uses of Fold in de.firemage.autograder.core.integrated.evaluator.fold
Classes in de.firemage.autograder.core.integrated.evaluator.fold that implement FoldModifier and TypeClassDescriptionfinal classApplies casts toCtExpressions.final classFor some binary and unary operator expressions, the operands are cast to a different type before the operation is applied.final classChains multiple folds together.final classRemoves operators that cancel each other out like-(-x)or!(!x)that would bex.final classEvaluates literal operations like1 + 2that can be evaluated to a constant value.final classfinal classInfers the type of operators if they are not set.final classInline reads of constant variables with its value.final classfinal classMethods in de.firemage.autograder.core.integrated.evaluator.fold that return FoldModifier and TypeMethodDescriptionstatic Foldstatic Foldstatic FoldApplyOperatorPromotion.create()Creates a new instance of this fold.static FoldApplyOperatorPromotion.create(ApplyOperatorPromotion.OperatorPredicate<? super spoon.reflect.code.CtBinaryOperator<?>> shouldApplyOnBinaryOperator, ApplyOperatorPromotion.OperatorPredicate<? super spoon.reflect.code.CtUnaryOperator<?>> shouldApplyOnUnaryOperator) static FoldDeduplicateOperatorApplication.create()static FoldEvaluateLiteralOperations.create()static FoldEvaluatePartialLiteralOperations.create()static FoldInferOperatorTypes.create()static FoldInlineVariableRead.create()static FoldPromoteOperands.create()static FoldPromoteOperands.create(ApplyOperatorPromotion.OperatorPredicate<? super spoon.reflect.code.CtBinaryOperator<?>> shouldApplyOnBinaryOperator, ApplyOperatorPromotion.OperatorPredicate<? super spoon.reflect.code.CtUnaryOperator<?>> shouldApplyOnUnaryOperator) static FoldRemoveRedundantCasts.create()static FoldApplyCasts.onLiterals()Methods in de.firemage.autograder.core.integrated.evaluator.fold with parameters of type FoldMethod parameters in de.firemage.autograder.core.integrated.evaluator.fold with type arguments of type Fold