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 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