|
kiama 0.9.0 API
|
|
kiama/attribution/AttributionBase.scala]
class
CircularAttribute[T <: AnyRef, U](init : 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. Essentially Figure 6
from the CRAG paper.
|
def
|
isDefinedAt
(t : T) : Boolean
A circular 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
|
|