object HOLPosition extends Serializable

Source
HOLPosition.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HOLPosition
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(is: Int*): HOLPosition
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. def definesHOLPosition(exp: Expr)(pos: LambdaPosition): Boolean

    Tests whether a LambdaPosition denotes a HOLPosition for the given expression.

  8. def differingPositions(exp1: Expr, exp2: Expr): List[HOLPosition]

    Compares to Exprs and returns the list of outermost positions where they differ.

    Compares to Exprs and returns the list of outermost positions where they differ.

    exp1

    The first expression.

    exp2

    The second expression.

    returns

    The list of outermost positions at which exp1 and exp2 differ.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getPositions(exp: Expr, pred: (Expr) ⇒ Boolean = _ => true): List[HOLPosition]

    Returns a list of positions of subexpressions that satisfy some predicate.

    Returns a list of positions of subexpressions that satisfy some predicate.

    This function is a wrapper around gapt.expr.LambdaPosition.getPositions.

    exp

    The expression under consideration.

    pred

    The predicate to be evaluated. Defaults to "always true", i.e. if called without this argument, the function will return all positions.

    returns

    Positions of subexpressions satisfying pred.

  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def replace(exp: Expr, pos: HOLPosition, repTerm: Expr): Expr

    Replaces a a subexpression in a Expr.

    Replaces a a subexpression in a Expr. This function is actually a wrapper around gapt.expr.LambdaPosition.replace.

    exp

    The expression in which to perform the replacement.

    pos

    The position at which to replace.

    repTerm

    The expression that exp(pos) should be replaced with.

  19. def replace(f: Formula, pos: HOLPosition, repTerm: Expr): Formula

    Replaces a a subexpression in a Formula.

    Replaces a a subexpression in a Formula. This function is actually a wrapper around gapt.expr.LambdaPosition.replace.

    f

    The formula in which to perform the replacement.

    pos

    The position at which to replace.

    repTerm

    The expression that f(pos) should be replaced with.

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toHOLPosition(exp: Expr)(pos: LambdaPosition): HOLPosition

    Converts a LambdaPosition into the corresponding HOLPosition.

    Converts a LambdaPosition into the corresponding HOLPosition.

    Note that position conversion is always relative to a given expression.

    exp

    The relevant Expr.

    pos

    The position to be converted.

    returns

    The corresponding HOLPosition.

  22. def toLambdaPosition(exp: Expr)(pos: HOLPosition): LambdaPosition

    Converts a HOLPosition into the corresponding LambdaPosition.

    Converts a HOLPosition into the corresponding LambdaPosition.

    Note that position conversion is always relative to a given expression.

    exp

    The relevant Expr.

    pos

    The position to be converted.

    returns

    The corresponding LambdaPosition.

  23. def toLambdaPositionOption(exp: Expr)(pos: HOLPosition): Option[LambdaPosition]

    Converts a HOLPosition into the corresponding LambdaPosition, if one exists.

    Converts a HOLPosition into the corresponding LambdaPosition, if one exists.

    Note that position conversion is always relative to a given expression.

    exp

    The relevant Expr.

    pos

    The position to be converted.

    returns

    The corresponding LambdaPosition.

  24. def toList(pos: HOLPosition): List[Int]
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped