Substitution

gapt.formats.tip.util.Substitution

Attributes

Source
Substitution.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(variable: TipSmtIdentifier, term: TipSmtExpression)

Creates a new substitution.

Creates a new substitution.

Value parameters

term

A term to be associated with the given variable.

variable

A variable with which a term is to be associated.

Attributes

Source
Substitution.scala

Concrete methods

Attributes

Returns

The set variables for which this substitution is defined.

Source
Substitution.scala

Filters the variable/term associations.

Filters the variable/term associations.

Value parameters

predicate

The predicate that is used to filter the substitution.

Attributes

Returns

A substitution containing only those variable/term associations for which the predicate has evaluated to true.

Source
Substitution.scala

Retrieves the term associated with the given variable.

Retrieves the term associated with the given variable.

Value parameters

variable

The variable whose associated term is to be retrieved.

Attributes

Returns

The associated term if it exists, otherwise the variable is returned unmodified.

Source
Substitution.scala
def range(implicit problem: TipSmtProblem): Set[TipSmtIdentifier]

Retrieves the free variables of the expressions in this subsitutition.

Retrieves the free variables of the expressions in this subsitutition.

Value parameters

problem

The problem with respect to which free variables are determined.

Attributes

Returns

The set of all free variables occurring the expressions of this substitution

Source
Substitution.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product