org.kiama.example.lambda2

AST

object AST extends AnyRef

A simple lambda calculus abstract syntax.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. AST
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. case class App (e1: Exp, e2: Exp) extends Exp with Product with Serializable

    Application of l to r.

  2. case class Bind (i: Idn, e: Exp) extends Product with Serializable

    A single binding from a set of parallel bindings (Letp).

  3. class Exp extends Attributable with Positional

    Expressions.

  4. case class FunType (t1: Type, t2: Type) extends Type with Product with Serializable

    Function type from an argument type arg to a result type res.

  5. type Idn = String

    Identifiers are represented as strings.

  6. case class Lam (i: Idn, t: Type, e: Exp) extends Exp with Product with Serializable

    Lambda expressions binding name of type tipe within body.

  7. case class Let (i: Idn, t: Type, e1: Exp, e2: Exp) extends Exp with Product with Serializable

    Bind name of type tipe to the value of exp in body.

  8. case class Letp (bs: List[Bind], e: Exp) extends Exp with Product with Serializable

    Parallel bindings in body.

  9. case class Num (n: Int) extends Exp with Product with Serializable

    Numeric expressions.

  10. class Op extends AnyRef

    Primitive binary operators.

  11. case class Opn (e1: Exp, o: Op, e2: Exp) extends Exp with Product with Serializable

    An application of a primitive binary operation.

  12. class Type extends Attributable

    Types.

  13. case class Var (i: Idn) extends Exp with Product with Serializable

    Variable expressions.

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. object AddOp extends Op with Product with Serializable

    Primitive integer addition.

  7. def App (s1: ⇒ Strategy, s2: ⇒ Strategy): Strategy

  8. def Bind (s1: ⇒ Strategy, s2: ⇒ Strategy): Strategy

  9. object IntType extends Type with Product with Serializable

    Primitive integer type.

  10. def Lam (s1: ⇒ Strategy, s2: ⇒ Strategy, s3: ⇒ Strategy): Strategy

  11. def Let (s1: ⇒ Strategy, s2: ⇒ Strategy, s3: ⇒ Strategy, s4: ⇒ Strategy): Strategy

  12. def Letp (s1: ⇒ Strategy, s2: ⇒ Strategy): Strategy

  13. def Opn (s1: ⇒ Strategy, s2: ⇒ Strategy, s3: ⇒ Strategy): Strategy

  14. object SubOp extends Op with Product with Serializable

    Primitive integer subtraction.

  15. def Var (s1: ⇒ Strategy): Strategy

  16. def asInstanceOf [T0] : T0

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

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  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 ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  27. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any