abstract class Expr extends AnyRef
- Alphabetic
- By Inheritance
- Expr
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Expr()
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def !==(that: Expr): Formula
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &(that: Expr): Formula
- def +(other: String): String
- def -->(that: Expr): Formula
- def ->[B](y: B): (Expr, B)
- def <->(that: Expr): Formula
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ===(that: Expr): Atom
- def ^(n: Int)(that: Expr): Expr
- def alphaEquals(that: Expr): Boolean
Alpha-equality.
Alpha-equality.
- that
Lambda expression to compare against.
- returns
whether this lambda expression is equal to that lambda expression modulo alpha-conversion.
- def apply(that: Iterable[Expr]): Expr
- def apply(that: Expr*): Expr
- def apply(pos: HOLPosition): Expr
Retrieves this expression's subexpression at a given position.
Retrieves this expression's subexpression at a given position.
- pos
The position to be retrieved.
- returns
The subexpression at pos.
- def apply(p: LambdaPosition): 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()
- def contains(exp: Expr): Boolean
Tests whether an expression is a subexpression.
Tests whether an expression is a subexpression.
- exp
The subexpression to be found.
- returns
A boolean that is true if exp is a subexpression
- def ensuring(cond: (Expr) => Boolean, msg: => Any): Expr
- def ensuring(cond: (Expr) => Boolean): Expr
- def ensuring(cond: Boolean, msg: => Any): Expr
- def ensuring(cond: Boolean): Expr
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(a: Any): Boolean
- Definition Classes
- Expr → AnyRef → Any
- def find(exp: Expr): List[HOLPosition]
Finds all HOL positions of a subexpression in this expression.
Finds all HOL positions of a subexpression in this expression.
- exp
The subexpression to be found.
- returns
A list containing all positions where exp occurs.
- def get(pos: HOLPosition): Option[Expr]
Retrieves this expression's subexpression at a given position, if there is one.
Retrieves this expression's subexpression at a given position, if there is one.
- pos
The position to be retrieved.
- returns
If there is a subexpression at that position, return Some(that expression). Otherwise None.
- def get(p: LambdaPosition): Option[Expr]
Returns the subexpression at the given position, if it exists.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isDefinedAt(pos: HOLPosition): Boolean
Tests whether this expression has a subexpression at a given position.
Tests whether this expression has a subexpression at a given position.
- pos
The position to be tested.
- returns
Whether this(pos) is defined.
- def isDefinedAt(p: LambdaPosition): Boolean
Tests whether this Expression has a subexpression at the given position.
- 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()
- def replace(pos: HOLPosition, replacement: Expr): Expr
- def replace(pos: LambdaPosition, replacement: Expr): Expr
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toAsciiString: String
Converts this expression into a 7-bit safe ASCII string.
Converts this expression into a 7-bit safe ASCII string.
The output can be parsed using e.g. the string interpolators, and we guarantee that the expression can be perfectly reconstructed from the string output.
- def toRawAsciiString: String
- def toRawString: String
- def toSigRelativeString(implicit sig: BabelSignature): String
Converts this expression into a string, taking the signature into account.
Converts this expression into a string, taking the signature into account.
This produces a similar output as toString, but will use the variable convention indicated by the signature. That is, if sig defines x to be a constant, then we output just x instead of the default #c(x: i).
- def toString(): String
Converts this expression into a string.
Converts this expression into a string.
The output can be parsed using e.g. the string interpolators, and we guarantee that the expression can be perfectly reconstructed from the string output.
- Definition Classes
- Expr → AnyRef → Any
- def toUntypedAsciiString(implicit sig: BabelSignature): String
- def toUntypedString(implicit sig: BabelSignature): String
- def unary_-: Formula
- 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])
- def |(that: Expr): Formula
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Expr toStringFormat[Expr] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (Expr, B)
- Implicit
- This member is added by an implicit conversion from Expr toArrowAssoc[Expr] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
This is the API documentation for GAPT.
The main package is gapt.