kiama.attribution.DynamicAttribution

class ComposedPartialFunction

[source: kiama/attribution/DynamicAttribution.scala]

class ComposedPartialFunction[T, U](f : scala.PartialFunction[T, U])
extends scala.PartialFunction[T, U]
A partial function composed of an ordered, mutable buffer of PartialFunction instances.
Value Summary
val functions : scala.collection.mutable.ArrayBuffer[scala.PartialFunction[T, U]]
Method Summary
def += (g : scala.PartialFunction[T, U]) : Unit
def -= (g : scala.PartialFunction[T, U]) : Unit
def apply (t : T) : U
def isDefinedAt (i : T) : Boolean
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
Value Details
val functions : scala.collection.mutable.ArrayBuffer[scala.PartialFunction[T, U]]

Method Details
def isDefinedAt(i : T) : Boolean
Overrides
scala.PartialFunction.scala.PartialFunction.isDefinedAt

def apply(t : T) : U

def +=(g : scala.PartialFunction[T, U]) : Unit

def -=(g : scala.PartialFunction[T, U]) : Unit