object TermReplacement
A term replacement homomorphically extends a partial function on lambda expressions to all lambda expressions.
This is done on a "best effort" basis. Replacing constants by ground terms of the same type will usually work, anything beyond that might or might not work.
- Source
- TermReplacement.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TermReplacement
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[T](t: T, replacements: Map[Const, Expr], tyReplacements: Map[TBase, Ty])(implicit arg0: ClosedUnderReplacement[T]): T
- def apply[I, O](obj: I, p: PartialFunction[Expr, Expr])(implicit ev: Replaceable[I, O]): O
- def apply(f: Formula, what: Expr, by: Expr): Formula
- def apply(term: Expr, what: Expr, by: Expr): Expr
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hygienic[I, O](obj: I, partialMap: Map[Const, Expr])(implicit ev: Replaceable[I, O]): O
Performs capture-avoiding term replacement.
Performs capture-avoiding term replacement.
If a constant or variable occurs both in the range of partialMap and obj, we rename the occurrence in obj first to something else.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def undoGrounding[T](t: T, subst: Substitution)(implicit arg0: ClosedUnderReplacement[T]): T
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
This is the API documentation for GAPT.
The main package is gapt.