Object/Trait

org.bitbucket.inkytonik.kiama.attribution

UncachedAttribution

Related Docs: trait UncachedAttribution | package attribution

Permalink

object UncachedAttribution extends UncachedAttribution

Module for uncached attributes.

Source
UncachedAttribution.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UncachedAttribution
  2. UncachedAttribution
  3. AttributionCommon
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ConstantAttribute[T, U] extends Attribute[T, U]

    Permalink

    A constant attribute of a node type T with value of type U.

    A constant attribute of a node type T with value of type U. The value is given by the computation u which is evaluated at most once.

    Definition Classes
    AttributionCommon
  2. class UncachedAttribute[T, U] extends Attribute[T, U]

    Permalink

    An attribute of a node type T with value of type U, supported by a circularity test.

    An attribute of a node type T with value of type U, supported by a circularity test. The value of the attribute is computed by the function f. f will be called each time the value of the attribute is accessed. f should not itself require the value of this attribute. If it does, a circularity error is reported by throwing an IllegalStateException.

    Definition Classes
    UncachedAttribution
  3. class UncachedParamAttribute[A, T, U] extends (A) ⇒ Attribute[T, U]

    Permalink

    A variation of the UncachedAttribute class for parameterised attributes.

    A variation of the UncachedAttribute class for parameterised attributes.

    Definition Classes
    UncachedAttribution

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def attr[T, U](f: (T) ⇒ U): UncachedAttribute[T, U]

    Permalink

    Define an uncached attribute of T nodes of type U by the function f, which should not depend on the value of this attribute.

    Define an uncached attribute of T nodes of type U by the function f, which should not depend on the value of this attribute. The computed attribute value is cached so it will be computed at most once.

    Definition Classes
    UncachedAttribution
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def constant[T, U](u: ⇒ U): Attribute[T, U]

    Permalink

    Define a constant attribute of T nodes of type U given by the value u.

    Define a constant attribute of T nodes of type U given by the value u. u is evaluated at most once.

    Definition Classes
    AttributionCommon
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def paramAttr[V, T, U](f: (V) ⇒ (T) ⇒ U): UncachedParamAttribute[V, T, U]

    Permalink

    Define a parameterised uncached attribute of T nodes of type U by the function f, which takes an argument of type A.

    Define a parameterised uncached attribute of T nodes of type U by the function f, which takes an argument of type A. The computed attribute value for a given T and A pair is cached so it will be computed at most once.

    Definition Classes
    UncachedAttribution
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UncachedAttribution

Inherited from AttributionCommon

Inherited from AnyRef

Inherited from Any

Ungrouped