Packages

  • package root
    Definition Classes
    root
  • package IVF

    This project is built over the following components

    This project is built over the following components

    • IVF.Model : contains abstract syntax trees and control flow graphs, enables to execute code
    • IVF.Criterion : defines criterion and coverage, useful to test a given program on predefined states set with a criterion
    • IVF.TestGenerator : enables to generate automatically tests from criteria
    Definition Classes
    root
  • package Model

    Contains models necessary to run tests

    Contains models necessary to run tests

    Definition Classes
    IVF
  • package AST

    Contains abstract syntax tree definitions

    Contains abstract syntax tree definitions

    Definition Classes
    Model
    See also

    IVF.Model.AST

  • package A

    Contains arithmetic expression ASTs and Operators

    Contains arithmetic expression ASTs and Operators

    Definition Classes
    AST
    See also

    IVF.Model.AST.A.Expression

  • package B

    Contains binary expression ASTs and Operators

    Contains binary expression ASTs and Operators

    Definition Classes
    AST
    See also

    IVF.Model.AST.B.Expression

  • Assign
  • Command
  • If
  • Sequence
  • Skip
  • While
c

IVF.Model.AST

Sequence

case class Sequence(tExpressions: List[Command]) extends AST with Command with Product with Serializable

A sequence of commands

tExpressions

list of commands

Linear Supertypes
Serializable, Serializable, Product, Equals, Command, AST, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sequence
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Command
  7. AST
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Sequence(tExpressions: List[Command])

    tExpressions

    list of commands

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def exec(state: State): State

    Executes a command given a state

    Executes a command given a state

    state

    state

    Definition Classes
    Command
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def isDef(variable: Variable): Boolean

    Checks if an AST directly defines a given variable

    Checks if an AST directly defines a given variable

    variable

    the variable to check

    Definition Classes
    AST
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isRef(variable: Variable): Boolean

    Checks if an AST contains a reference to a given variable

    Checks if an AST contains a reference to a given variable

    variable

    the variable to check

    Definition Classes
    AST
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def replace(searchVar: Variable, newVar: Variable): Command

    Replaces a variable to another in this tree

    Replaces a variable to another in this tree

    searchVar

    the variable to search for

    newVar

    the replacement variable

    returns

    a new Expression with applied changes

    Definition Classes
    Command
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. val tExpressions: List[Command]
  19. def toCFG: CFG

    Shorthand for toCFGRec

    Shorthand for toCFGRec

    Definition Classes
    Command
  20. def toCFGRec(i: Int): (CFG, Int, List[Int])

    Transforms this AST to a CFG recursively

    Transforms this AST to a CFG recursively

    Note that this function will ALWAYS return a graph with one more node at the end

    i

    the current available label

    returns

    the built CFG, the next available label, and a list of outgoing connexions

    Definition Classes
    Command
  21. def toString(): String

    Returns a string representation of this AST

    Returns a string representation of this AST

    Implemented here for easy update (with match clause)

    Definition Classes
    AST → AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Command

Inherited from AST

Inherited from AnyRef

Inherited from Any

Ungrouped