object ContainsSymbol extends ContextAwareVisitor[(IExpression) => Boolean, Unit]
Check whether an expression contains some IVariable
,
IConstant
, IAtom
, or IFunApp
.
- Alphabetic
- By Inheritance
- ContainsSymbol
- ContextAwareVisitor
- CollectingVisitor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract class PreVisitResult extends AnyRef
- Definition Classes
- CollectingVisitor
- case class ShortCutResult(res: R) extends PreVisitResult with Product with Serializable
Skip the call to
postVisit
and do not visit any of the sub-expressions.Skip the call to
postVisit
and do not visit any of the sub-expressions. Instead, directly returnres
as result- Definition Classes
- CollectingVisitor
- case class SubArgs(args: Seq[A]) extends PreVisitResult with Product with Serializable
Specify the arguments to use for the individual sub-expressions
Specify the arguments to use for the individual sub-expressions
- Definition Classes
- CollectingVisitor
- case class TryAgain(newT: IExpression, newArg: A) extends PreVisitResult with Product with Serializable
Call
preVisit
again with a different expression and argumentCall
preVisit
again with a different expression and argument- Definition Classes
- CollectingVisitor
- case class UniSubArgs(arg: A) extends PreVisitResult with Product with Serializable
Use
arg
for each of the direct sub-expressionsUse
arg
for each of the direct sub-expressions- Definition Classes
- CollectingVisitor
Value Members
- case object KeepArg extends PreVisitResult with Product with Serializable
Use the same argument for the direct sub-expressions as for this expression
Use the same argument for the direct sub-expressions as for this expression
- Definition Classes
- CollectingVisitor
- 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 allVariablesAtLeast(t: IExpression, threshold: Int): Boolean
Check that given expression only contains variables with index at least
threshold
. - def apply(t: IExpression, searchExpr: IExpression): Boolean
- def apply(t: IExpression, pred: (IExpression) => Boolean): Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def containsFunctions(t: IExpression): Boolean
Check whether the given expression contains any functions (instances of
IFunApp
). - def containsPredicate(t: IExpression, p: Predicate): Boolean
Check whether the given expression contains some predicate.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def freeFrom(t: IExpression, syms: Set[IVariable]): Boolean
Check that given expression does not contain any of the variables.
- def freeFromVariableIndex(t: IExpression, indexes: Set[Int]): Boolean
Check that given expression does not contain any of the variables.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def isClosed(t: IExpression): Boolean
Check that given expression does not contain free/unbound variables.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPresburger(t: IExpression): Boolean
Check whether the given expression is in Presburger arithmetic.
- def isPresburgerBV(t: IExpression): Boolean
Check whether given formula is in Presburger or bit-vector arithmetic.
- def isPresburgerBVNonLin(t: IExpression): Boolean
Check whether given formula is in Presburger, bit-vector, or non-linear arithmetic.
- def isPresburgerBVNonLinWithPreds(t: IExpression): Boolean
Check whether given formula is in Presburger, bit-vector, or non-linear arithmetic, but possibly including predicate atoms in which all arguments are concrete numbers.
- def isPresburgerBVWithPreds(t: IExpression): Boolean
Check whether given formula is in Presburger or bit-vector arithmetic, but possibly including predicate atoms in which all arguments are concrete numbers.
- def isPresburgerWithPreds(t: IExpression): Boolean
Check whether given formula is in Presburger arithmetic, but possibly including predicate atoms in which all arguments are concrete numbers.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def postVisit(t: IExpression, context: Context[(IExpression) => Boolean], subres: Seq[Unit]): Unit
- Definition Classes
- ContainsSymbol → CollectingVisitor
- def preVisit(t: IExpression, context: Context[(IExpression) => Boolean]): PreVisitResult
- Definition Classes
- ContainsSymbol → ContextAwareVisitor → CollectingVisitor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def visit(expr: IExpression, arg: Context[(IExpression) => Boolean]): Unit
- Definition Classes
- CollectingVisitor
- def visitWithoutResult(expr: IExpression, arg: Context[(IExpression) => Boolean]): Unit
- Definition Classes
- CollectingVisitor
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)