org.kiama.attribution.DynamicAttribution

DynamicAttribute

class DynamicAttribute [T, U] extends $eq$eq$greater[T, U]

A dynamic atribute defined initially by the function f.

Source
DynamicAttribution.scala
Linear Supertypes
PartialFunction[T, U], (T) ⇒ U, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. DynamicAttribute
  2. PartialFunction
  3. Function1
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DynamicAttribute (f: $eq$eq$greater[T, U])

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 += (g: $eq$eq$greater[T, U]): Unit

    Add the equations defined by the function g to the definition of this attribute after the existing definitions.

  5. def -= (g: $eq$eq$greater[T, U]): Unit

    Remove the function g from the definitions of this attribute.

    Remove the function g from the definitions of this attribute. If g was not previously added to the definitions, do nothing.

  6. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  8. def andThen [C] (k: (U) ⇒ C): PartialFunction[T, C]

    Definition Classes
    PartialFunction → Function1
  9. def apply (t: T): U

    Obtain the attribute value.

    Obtain the attribute value.

    Definition Classes
    DynamicAttribute → Function1
  10. def asInstanceOf [T0] : T0

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def compose [A] (g: (A) ⇒ T): (A) ⇒ U

    Definition Classes
    Function1
  13. def composedF : ComposedPartialFunction[T, U]

    Return the function defining this attribute as ComposedPartialFunction.

    Return the function defining this attribute as ComposedPartialFunction.

    Attributes
    protected
  14. def eq (arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  19. def isDefinedAt (t: T): Boolean

    Is the attribute defined at the node t?

    Is the attribute defined at the node t?

    Definition Classes
    DynamicAttribute → PartialFunction
  20. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  21. def lift : (T) ⇒ Option[U]

    Definition Classes
    PartialFunction
  22. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  25. def orElse [A1 <: T, B1 >: U] (that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  26. def reset (): Unit

    Immediately reset this attribute's memoisation cache.

  27. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    Function1 → 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 PartialFunction[T, U]

Inherited from (T) ⇒ U

Inherited from AnyRef

Inherited from Any