case class ID(name: String) extends EXP with Product with Serializable

identifiers the empty identifier ID("") is reserved: it refers to the current declaration, which is useful in recursive ADT and FUNCTION definitions

Source
Expressions.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ID
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. EXP
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ID(name: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *(e: EXP): PROD

    product types: A1 * ...

    product types: A1 * ... * An

    Definition Classes
    EXP
  4. def **(right: EXP): TIMES

    multiplication: a ** b

    multiplication: a ** b

    Definition Classes
    EXP
  5. def +(e: EXP): STRINGCONCAT

    concatenation of strings: s + s'

    concatenation of strings: s + s'

    Definition Classes
    EXP
  6. def ++(right: EXP): PLUS

    addition: a ++ b

    addition: a ++ b

    Definition Classes
    EXP
  7. def ::(n: String): ARG

    variable declarations: n :: A

    variable declarations: n :: A

    Definition Classes
    EXP
  8. def :::(n: String): FIELD

    field declarations: n ::: A

    field declarations: n ::: A

    Definition Classes
    EXP
  9. def :::(l: EXP): CONCAT

    concatenation of lists: l ::: l'

    concatenation of lists: l ::: l'

    Definition Classes
    EXP
  10. def <--(args: ARG*): FUNCTYPE

    function types: return <-- (x1 :: A1, ...

    function types: return <-- (x1 :: A1, ... xn :: An)

    Definition Classes
    EXP
  11. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def ===(right: EXP): EQUAL

    equality predicate: e === e'

    equality predicate: e === e'

    Definition Classes
    EXP
  13. def ==>(body: EXP): CASE

    case in a pattern match: id |> body

  14. def Match(cases: CASE*): MATCH

    pattern matching: a Match (pattern1 |> case1, ..., patternN |> caseN)

    pattern matching: a Match (pattern1 |> case1, ..., patternN |> caseN)

    Definition Classes
    EXP
  15. def __(f: ID): SELECT

    accessing fields of a record: r n

    accessing fields of a record: r n

    Definition Classes
    EXP
  16. def __(i: Int): PROJ

    projections: a n

    projections: a n

    Definition Classes
    EXP
  17. def apply(fs: FIELD*): ARECORD

    construction of a record: rectype(f1 ::: v1, ...

    construction of a record: rectype(f1 ::: v1, ... fn ::: vn)

  18. def apply(args: EXP*): APPLY

    application to arguments: id(args)

  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def at(index: EXP): AT

    accessing elements of lists: l n

    accessing elements of lists: l n

    Definition Classes
    EXP
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def length: LENGTH

    length of a list: l.length

    length of a list: l.length

    Definition Classes
    EXP
  27. def list: LIST

    type of lists: a.list

    type of lists: a.list

    Definition Classes
    EXP
  28. def map(f: String): MAP

    map over a list: l map f

    map over a list: l map f

    Definition Classes
    EXP
  29. val name: String
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def o(that: ID): ID
  34. def prepend(s: String): String
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. def |(e: EXP): TUPLE

    tuples: a1 | ...

    tuples: a1 | ... | an

    Definition Classes
    EXP

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from EXP

Inherited from AnyRef

Inherited from Any

Ungrouped