Package net.ssehub.easy.varModel.cst
Interface IConstraintTreeVisitor
- All Known Implementing Classes:
AbstractConstraintTreeVisitor,AbstractStateVariablesInConstraintFinder,AbstractVariableInConstraintFinder,AbstractVarModelWriter,AssignmentReducer,BasicCopyVisitor,CompoundValueSetter,ConfigurableIVMLWriter,ConstraintClassifier,ConstraintReplacer,ConstraintSplitWriter,ContainsSelfVisitor,CopyVisitor,CSTCopyVisitor,DebugConstraintTreeVisitor,DeclrationInConstraintFinder,EvaluationVisitor,ExpressionVersionRestrictionValidator,IDecisionVariableInConstraintFinder,IvmlValidationVisitor,IVMLWriter,MandatoryDeclarationClassifier,PrefixSearchVisitor,StaticAccessFinder,ValidationVisitor,VariablesInConstraintFinder,VariableUsage
public interface IConstraintTreeVisitor
Defines the interface for a visitor for the constraint tree.
- Author:
- Holger Eichelberger
-
Method Summary
Modifier and TypeMethodDescriptionvoidvisitAnnotationVariable(AttributeVariable variable) Visits aAttributeVariable.voidVisits the block.voidvisitComment(Comment comment) Visits a comment.voidvisitCompoundAccess(CompoundAccess access) Visits a compound access node.voidvisitCompoundInitializer(CompoundInitializer initializer) Visits a compound initializer.voidvisitConstantValue(ConstantValue value) Visits a constant value.voidvisitContainerInitializer(ContainerInitializer initializer) Visits a container initializer.voidVisits a container operation call (e.g.voidvisitDeferInitExpression(DeferInitExpression expression) Visits a default init expression.voidvisitIfThen(IfThen ifThen) Visits an if-then-else expression.voidVisits a let expression.voidvisitMultiAndExpression(MultiAndExpression expression) Visits a multi-and expression.voidVisits an OCL feature call.voidvisitParenthesis(Parenthesis parenthesis) Visits a parenthesis.voidVisits self.voidvisitUnresolvedExpression(UnresolvedExpression expression) Visits an unresolved expression.voidvisitVariable(Variable variable) Visits a variable.
-
Method Details
-
visitConstantValue
Visits a constant value.- Parameters:
value- the value which should be visited
-
visitVariable
Visits a variable.- Parameters:
variable- the variable which should be visited
-
visitAnnotationVariable
Visits aAttributeVariable.- Parameters:
variable- the attribute variable which should be visited
-
visitParenthesis
Visits a parenthesis.- Parameters:
parenthesis- the parenthesis which should be visited
-
visitComment
Visits a comment.- Parameters:
comment- the comment node which should be visited
-
visitOclFeatureCall
Visits an OCL feature call.- Parameters:
call- the feature call which should be visited
-
visitLet
Visits a let expression.- Parameters:
let- the let expression which should be visited
-
visitIfThen
Visits an if-then-else expression.- Parameters:
ifThen- the if-then-else expression which should be visited
-
visitContainerOperationCall
Visits a container operation call (e.g. quantors, iterators).- Parameters:
call- the container operation call
-
visitCompoundAccess
Visits a compound access node.- Parameters:
access- the compound access node
-
visitUnresolvedExpression
Visits an unresolved expression. Please note that an unresolved expression may represent a leaf as well as an inner tree node. Typically, visitors shall continue visiting transparently atUnresolvedExpression.getActualExpression().- Parameters:
expression- the expression
-
visitCompoundInitializer
Visits a compound initializer.- Parameters:
initializer- the compound initializer node
-
visitContainerInitializer
Visits a container initializer.- Parameters:
initializer- the container initializer node
-
visitSelf
Visits self.- Parameters:
self- the self object to visit
-
visitBlockExpression
Visits the block.- Parameters:
block- the block to be visited
-
visitMultiAndExpression
Visits a multi-and expression.- Parameters:
expression- the expression to be visited
-
visitDeferInitExpression
Visits a default init expression.- Parameters:
expression- the expression
-