org.kiama.example.lambda

LambdaGen

object LambdaGen extends GeneratingREPL[Exp] with Generator

A read-eval-print loop for generating random expressions.

Linear Supertypes
Generator, GeneratingREPL[Exp], REPL, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LambdaGen
  2. Generator
  3. GeneratingREPL
  4. REPL
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. implicit def arbExp : Arbitrary[Exp]

    Attributes
    implicit
    Definition Classes
    Generator
  7. implicit def arbVar : Arbitrary[Var]

    Attributes
    implicit
    Definition Classes
    Generator
  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def genAppExp (sz: Int): Gen[App]

    Definition Classes
    Generator
  14. def genExp (sz: Int): Gen[Exp]

    Definition Classes
    Generator
  15. val genIdn : Gen[String]

    Definition Classes
    Generator
  16. def genLamExp (sz: Int): Gen[Lam]

    Definition Classes
    Generator
  17. val genLeafExp : Gen[Product with Serializable with Exp]

    Definition Classes
    Generator
  18. val genNum : Gen[Num]

    Definition Classes
    Generator
  19. val genVar : Gen[Var]

    Definition Classes
    Generator
  20. def generator (): Arbitrary[Exp]

    The generator to use to make values of type T.

    The generator to use to make values of type T.

    Definition Classes
    LambdaGenGeneratingREPL
  21. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  22. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  23. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  24. def main (args: Array[String]): Unit

    Definition Classes
    REPL
  25. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. def process (t: Exp): Unit

    Process a generated value.

    Process a generated value. Default: print it.

    Definition Classes
    GeneratingREPL
  29. def processline (line: String): Unit

    Generate a new instance and print it, ignoring the input line.

    Generate a new instance and print it, ignoring the input line.

    Definition Classes
    GeneratingREPL → REPL
  30. def prompt (): String

    Display a prompt.

    Display a prompt.

    Definition Classes
    GeneratingREPL → REPL
  31. def setup (args: Array[String]): Boolean

    Carry out setup processing for the REPL.

    Carry out setup processing for the REPL.

    Definition Classes
    GeneratingREPL → REPL
  32. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  33. def toString (): String

    Definition Classes
    AnyRef → Any
  34. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Generator

Inherited from GeneratingREPL[Exp]

Inherited from REPL

Inherited from AnyRef

Inherited from Any