All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gapt.formats.tip.transformation.TipSmtProblemTransformation.scala Maven / Gradle / Ivy

The newest version!
package gapt.formats.tip.transformation

import gapt.formats.tip.parser.TipSmtProblem

trait TipSmtProblemTransformation {

  def transform(problem: TipSmtProblem): TipSmtProblem

  def ->>:(other: TipSmtProblemTransformation): TipSmtProblemTransformation = {
    new TipSmtProblemTransformation {
      override def transform(problem: TipSmtProblem): TipSmtProblem =
        TipSmtProblemTransformation.this.transform(other.transform(problem))
    }
  }

  def >>:(problem: TipSmtProblem): TipSmtProblem = transform(problem)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy