Substitute

gapt.formats.tip.util.Substitute
class Substitute(problem: TipSmtProblem)

This class implements substitution for TIP problems.

Value parameters

problem

The problem in which substitutions are to be carried out.

Attributes

Source
Substitute.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Substitutes a name by a given expression.

Substitutes a name by a given expression.

Value parameters

expr

The expression in which the substitution is to be carried out.

substitution

The substitution that is to be applied to the expression

Attributes

Returns

An expression that is equivalent to expr[oldName/replacement].

Source
Substitute.scala
def awayFrom(tipSmtCase: TipSmtCase, blacklist: Seq[String]): TipSmtCase

Renames the variables introduced by a case-statement away from blacklisted names.

Renames the variables introduced by a case-statement away from blacklisted names.

Value parameters

blacklist

The blacklisted names.

tipSmtCase

The case-statement in which variables are to be renamed.

Attributes

Returns

An equivalent case-statement whose bound variables do not intersect the blacklist.

Source
Substitute.scala