org.kiama.attribution.AttributionCore

CachedParamAttribute

class CachedParamAttribute[A, T <: AnyRef, U] extends (A) ⇒ Attribute[T, U] with Memoised[ParamAttributeKey, Option[U]]

A variation of the CachedAttribute class for parameterised attributes.

Self Type
CachedParamAttribute[A, T, U]
Source
AttributionCore.scala
Linear Supertypes
AttributionCore.Memoised[ParamAttributeKey, Option[U]], AttributionCore.MemoisedBase[ParamAttributeKey, Option[U]], (A) ⇒ Attribute[T, U], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CachedParamAttribute
  2. Memoised
  3. MemoisedBase
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CachedParamAttribute(name: String, f: (A) ⇒ (T) ⇒ U)

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 andThen[A](g: (Attribute[T, U]) ⇒ A): (A) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(arg: A): Attribute[T, U]

    Return the value of this attribute for node t, raising an error if it depends on itself.

    Return the value of this attribute for node t, raising an error if it depends on itself.

    Definition Classes
    CachedParamAttribute → Function1
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

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

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  15. def hasBeenComputedAt(arg: A, t: T): Boolean

    Has the value of this attribute at t already been computed for arg or not?

  16. def hasBeenComputedAt(t: ParamAttributeKey): Boolean

    Has the value of this attribute at t already been computed or not? By default, does the memo table contain a value for t?

    Has the value of this attribute at t already been computed or not? By default, does the memo table contain a value for t?

    Definition Classes
    MemoisedMemoisedBase
  17. def hashCode(): Int

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

    Definition Classes
    Any
  19. val memo: HashMap[ParamAttributeKey, Option[U]]

    The memo table as a mutable hash map.

    The memo table as a mutable hash map.

    Definition Classes
    Memoised
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. def reset(): Unit

    Immediately reset the memo table.

    Immediately reset the memo table.

    Definition Classes
    MemoisedMemoisedBase
  24. def resetIfRequested(): Unit

    Check to see if a reset has been requested via the common memo version, and if so, do it.

    Check to see if a reset has been requested via the common memo version, and if so, do it.

    Definition Classes
    MemoisedBase
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AttributionCore.Memoised[ParamAttributeKey, Option[U]]

Inherited from AttributionCore.MemoisedBase[ParamAttributeKey, Option[U]]

Inherited from (A) ⇒ Attribute[T, U]

Inherited from AnyRef

Inherited from Any

Ungrouped