sealed trait ExprGenParams extends AnyRef

A set of parameters for randomly generating Expressions

Source
ExprGenParams.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExprGenParams
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def decrementDepth: ExprGenParams

    Returns a copy of this ExprGenParams with the maximum depth decremented

    Returns a copy of this ExprGenParams with the maximum depth decremented

    Attributes
    protected
  2. abstract def generators: Map[ExprGen[_ <: Expression], Int]

    A mapping of expression generator to frequency

    A mapping of expression generator to frequency

    The frequency number determines the probability that the corresponding generator will be chosen. i.g. for Map(A -> 1, B -> 2, C -> B), the probabilities for A, B, and C are 1/6, 2/6, and 3/6 respectively. This map must be non-empty and all frequency numbers must be greater than zero.

  3. abstract def incrementDepth: ExprGenParams

    Returns a copy of this ExprGenParams with the maximum depth incremented

    Returns a copy of this ExprGenParams with the maximum depth incremented

    Attributes
    protected
  4. abstract def maxDepth: Int

    The maximum levels of nested sub-expressions that may be generated

  5. abstract def maxWidth: Int

    The maximum width of any generated expression, including sub-expressions

  6. abstract def namespace: Namespace

    The namespace to use for generating new References

    The namespace to use for generating new References

    Attributes
    protected
  7. abstract def unboundRefs: Set[Reference]

    The set of generated references that don't have a corresponding declaration

    The set of generated references that don't have a corresponding declaration

    Attributes
    protected
  8. abstract def withRef(ref: Reference): ExprGenParams

    Returns a copy of this ExprGenParams with the reference added to the set of unbound references

    Returns a copy of this ExprGenParams with the reference added to the set of unbound references

    Attributes
    protected

Concrete 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def generateSingleExprCircuit[G[_]]()(implicit arg0: GenMonad[G]): Circuit

    Runs the expression generator once and returns the generated expression wrapped in a Module and Circuit

  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped