Package net.ssehub.easy.varModel.cst
Interface CopyVisitor.IVariableReplacer
-
- All Superinterfaces:
IVersionRestriction.IVariableMapper
- All Known Implementing Classes:
EvaluationUtils.VariableReplacer
- Enclosing class:
- CopyVisitor
public static interface CopyVisitor.IVariableReplacer extends IVersionRestriction.IVariableMapper
Defines a common variable replacer. (Shall replacemappingin the future).- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConstraintSyntaxTreemapLeaf(Variable variable)Maps a leaf variable.ConstraintSyntaxTreemapSelf(Self self)Maps a leaf node.-
Methods inherited from interface net.ssehub.easy.basics.modelManagement.IVersionRestriction.IVariableMapper
map
-
-
-
-
Method Detail
-
mapLeaf
ConstraintSyntaxTree mapLeaf(Variable variable)
Maps a leaf variable.- Parameters:
variable- the variable to be mapped- Returns:
- the mapped expression or null if there is no mapping
-
mapSelf
ConstraintSyntaxTree mapSelf(Self self)
Maps a leaf node.- Parameters:
self- the node to be mapped- Returns:
- the mapped expression or null if there is no mapping
-
-