org.kiama.attribution.DynamicAttribution

DynamicAttribute

class DynamicAttribute[T, U] extends ==>[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. DynamicAttribute
  2. PartialFunction
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DynamicAttribute(f: ==>[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. def +=(g: ==>[T, U]): Unit

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

  5. def -=(g: ==>[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. final def ==(arg0: AnyRef): Boolean

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

    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 applyOrElse[A1 <: T, B1 >: U](x: A1, default: (A1) ⇒ B1): B1

    Definition Classes
    PartialFunction
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

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

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  14. def composedF: ComposedPartialFunction[T, U]

    Return the function defining this attribute as ComposedPartialFunction.

    Return the function defining this attribute as ComposedPartialFunction.

    Attributes
    protected
  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()
  18. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  20. 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
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def lift: (T) ⇒ Option[U]

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

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

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

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

    Definition Classes
    PartialFunction
  27. def reset(): Unit

    Immediately reset this attribute's memoisation cache.

  28. def runWith[U](action: (U) ⇒ U): (T) ⇒ Boolean

    Definition Classes
    PartialFunction
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from PartialFunction[T, U]

Inherited from (T) ⇒ U

Inherited from AnyRef

Inherited from Any

Ungrouped