kiama.rewriting.Rewriter

object Term

[source: kiama/rewriting/Rewriter.scala]

object Term
extends AnyRef
Generic term deconstruction.
Method Summary
def unapply (t : Any) : scala.Option[(Any, scala.Seq[Any])]
Generic term deconstruction. An extractor that decomposes Products into the product itself and a sequence of its children. Terms that are not products are not decomposable (ie the list of children will be empty).
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def unapply(t : Any) : scala.Option[(Any, scala.Seq[Any])]
Generic term deconstruction. An extractor that decomposes Products into the product itself and a sequence of its children. Terms that are not products are not decomposable (ie the list of children will be empty).