|
kiama 0.9.0 API
|
|
kiama/attribution/Attribution.scala]
class
CachedAttribute[T <: AnyRef, U](f : scala.PartialFunction[T, U])
extends scala.PartialFunction[T, U]| Method Summary | |
def
|
apply
(t : T) : U
Return the value of this attribute for node t, raising an error if
it depends on itself.
|
def
|
isDefinedAt
(t : T) : Boolean
A cached attribute is defined at the same places as its
defining function.
|
| Methods inherited from scala.PartialFunction | |
| scala.PartialFunction.orElse, scala.PartialFunction.andThen |
| Methods inherited from scala.Function1 | |
| scala.Function1.toString, scala.Function1.compose |
| 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 |
|
kiama 0.9.0 API
|
|