Class FreezeVarOperations.NameOperationEvaluator
java.lang.Object
net.ssehub.easy.varModel.cstEvaluation.FreezeVarOperations.NameOperationEvaluator
- All Implemented Interfaces:
IOperationEvaluator
- Enclosing class:
FreezeVarOperations
private static class FreezeVarOperations.NameOperationEvaluator
extends Object
implements IOperationEvaluator
Implements the operation evaluator for variable names.
- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateNameOperationEvaluator(boolean qualified) Creates a new name operation evaluator. -
Method Summary
Modifier and TypeMethodDescriptionevaluate(EvaluationAccessor operand, EvaluationAccessor[] arguments) Evaluates an operation.
-
Field Details
-
qualified
private boolean qualified
-
-
Constructor Details
-
NameOperationEvaluator
private NameOperationEvaluator(boolean qualified) Creates a new name operation evaluator.- Parameters:
qualified- whether qualified or simple names shall be returned
-
-
Method Details
-
evaluate
Description copied from interface:IOperationEvaluatorEvaluates an operation.- Specified by:
evaluatein interfaceIOperationEvaluator- Parameters:
operand- the operand valuearguments- the arguments to be used for the evaluation- Returns:
- the result of the operation (variable or value)
-