kiama.attribution.Attribution

class CachedParamAttribute

[source: kiama/attribution/Attribution.scala]

class CachedParamAttribute[TArg, T <: AnyRef, U](f : (TArg) => scala.PartialFunction[T, U])
extends (TArg) => scala.PartialFunction[T, U]
A variation of the CachedAttribute class for parameterised attributes.
Method Summary
def apply (arg : TArg) : scala.PartialFunction[T, U]
Return the value of this attribute for node t, raising an error if it depends on itself.
Methods inherited from scala.Function1
scala.Function1.toString, scala.Function1.compose, scala.Function1.andThen
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def apply(arg : TArg) : scala.PartialFunction[T, U]
Return the value of this attribute for node t, raising an error if it depends on itself.
Overrides
scala.Function1.scala.Function1.apply