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. 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: ==>[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. final def asInstanceOf[T0]: T0

    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. final def eq(arg0: AnyRef): Boolean

    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. final def getClass(): java.lang.Class[_]

    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. final def isInstanceOf[T0]: Boolean

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

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

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

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

    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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. 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