org.kiama.example.lambda2

LambdaTree

object LambdaTree

A simple lambda calculus abstract syntax.

Source
LambdaTree.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LambdaTree
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AddOp() extends Op with Product with Serializable

    Primitive integer addition.

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

    Application of l to r.

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

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

  4. sealed abstract class Exp extends TreeNode

    Expressions.

  5. 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.

  6. type Idn = String

    Identifiers are represented as strings.

  7. case class IntType() extends Type with Product with Serializable

    Primitive integer type.

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

    Lambda expressions binding name of type tipe within body.

  9. 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.

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

    Parallel bindings in body.

  11. case class NoType() extends Type with Product with Serializable

    No type has been specified.

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

    Numeric expressions.

  13. sealed abstract class Op extends AnyRef

    Primitive binary operators.

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

    An application of a primitive binary operation.

  15. case class SubOp() extends Op with Product with Serializable

    Primitive integer subtraction.

  16. sealed abstract class Type extends TreeNode

    Types.

  17. case class UnknownType() extends Type with Product with Serializable

    The entity cannot be typed.

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

    Variable expressions.

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. def App(s1: ⇒ Strategy, s2: ⇒ Strategy): Strategy

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

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

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

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

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

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

  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

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

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped