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