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 Type
    Method
    Description
    mapLeaf(Variable variable)
    Maps a leaf variable.
    mapSelf(Self self)
    Maps a leaf node.

    Methods inherited from interface net.ssehub.easy.basics.modelManagement.IVersionRestriction.IVariableMapper

    map
  • Method Details

    • 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