Trait

inox.evaluators

HasDefaultGlobalContext

Related Doc: package evaluators

Permalink

trait HasDefaultGlobalContext extends ContextualEvaluator

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HasDefaultGlobalContext
  2. ContextualEvaluator
  3. Evaluator
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class DefaultRecContext(tps: Seq[ast.Trees.Type], mappings: Map[ast.Trees.ValDef, ast.Trees.Expr], chooses: Map[(Identifier, Seq[ast.Trees.Type]), ast.Trees.Expr]) extends RecContext[DefaultRecContext] with Product with Serializable

    Permalink
    Definition Classes
    ContextualEvaluator
  2. case class EvalError(msg: String) extends Exception with Product with Serializable

    Permalink
    Definition Classes
    ContextualEvaluator
  3. type EvaluationResult = Result[Value]

    Permalink
    Definition Classes
    Evaluator
  4. type GC = GlobalContext

    Permalink
  5. class GlobalContext extends AnyRef

    Permalink
    Definition Classes
    ContextualEvaluator
  6. case class QuantificationError(msg: String) extends Exception with Product with Serializable

    Permalink
    Definition Classes
    ContextualEvaluator
  7. abstract type RC <: RecContext[RC]

    Permalink
    Definition Classes
    ContextualEvaluator
  8. trait RecContext[RC <: RecContext[RC]] extends AnyRef

    Permalink
    Definition Classes
    ContextualEvaluator
  9. case class RuntimeError(msg: String) extends Exception with Product with Serializable

    Permalink
    Definition Classes
    ContextualEvaluator
  10. abstract type Value

    Permalink

    The type of value that this Evaluator calculates Typically, it will be Expr for deterministic evaluators, and StreamExpr for non-deterministic ones.

    The type of value that this Evaluator calculates Typically, it will be Expr for deterministic evaluators, and StreamExpr for non-deterministic ones.

    Definition Classes
    Evaluator

Abstract Value Members

  1. abstract def e(expr: ast.Trees.Expr)(implicit rctx: RC, gctx: GC): Value

    Permalink
    Attributes
    protected
    Definition Classes
    ContextualEvaluator
  2. abstract def initRC(model: Program.Model): RC

    Permalink
    Definition Classes
    ContextualEvaluator
  3. abstract val options: Options

    Permalink
    Definition Classes
    Evaluator
  4. abstract val program: Program

    Permalink
    Definition Classes
    Evaluator

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def compile(expr: ast.Trees.Expr, args: Seq[ast.Trees.ValDef]): Option[(Program.Model) ⇒ EvaluationResult]

    Permalink

    Compiles an expression into a function, where the arguments are the free variables in the expression.

    Compiles an expression into a function, where the arguments are the free variables in the expression. argorder specifies in which order the arguments should be passed. The default implementation uses the evaluation function each time, but evaluators are free to (and encouraged to) apply any specialization.

    Definition Classes
    Evaluator
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def eval(ex: ast.Trees.Expr, model: Program.Model): EvaluationResult

    Permalink

    Evaluates an expression, using model as a valuation function for the free variables.

    Evaluates an expression, using model as a valuation function for the free variables.

    Definition Classes
    ContextualEvaluatorEvaluator
  10. final def eval(expr: ast.Trees.Expr): EvaluationResult

    Permalink

    Evaluates a ground expression.

    Evaluates a ground expression.

    Definition Classes
    Evaluator
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def initGC: GlobalContext

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. lazy val maxSteps: Int

    Permalink
    Definition Classes
    ContextualEvaluator
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def typeErrorMsg(tree: ast.Trees.Expr, expected: ast.Trees.Type): String

    Permalink
    Definition Classes
    ContextualEvaluator
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ContextualEvaluator

Inherited from Evaluator

Inherited from AnyRef

Inherited from Any

Ungrouped