sealed trait ExprGenParams extends AnyRef
A set of parameters for randomly generating Expressions
- Source
- ExprGenParams.scala
- Alphabetic
- By Inheritance
- ExprGenParams
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
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
-
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.
-
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
-
abstract
def
maxDepth: Int
The maximum levels of nested sub-expressions that may be generated
-
abstract
def
maxWidth: Int
The maximum width of any generated expression, including sub-expressions
-
abstract
def
namespace: Namespace
The namespace to use for generating new References
The namespace to use for generating new References
- Attributes
- protected
-
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
-
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
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
generateSingleExprCircuit[G[_]]()(implicit arg0: GenMonad[G]): Circuit
Runs the expression generator once and returns the generated expression wrapped in a Module and Circuit
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
This is the documentation for Firrtl.