Scala Library
|
|
abstract
class
BasicTransformer
extends
(Node) => NodeMethod Summary | |
def
|
apply (n : Node) : Node |
def
|
transform (n : Node) : Seq[Node] |
def
|
transform
(it : Iterator[Node], nb : NodeBuffer) : Seq[Node]
Call transform(Node) for each node in ns, append results
to NodeBuffer.
|
def
|
transform
(ns : Seq[Node]) : Seq[Node]
Call transform(Node) to each node in ns, yield ns if nothing changes,
otherwise a new sequence of concatenated results.
|
protected def
|
unchanged (n : Node, ns : Seq[Node]) : Boolean |
Methods inherited from Function1 | |
toString, compose, 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 |
n -
...ns -
...
def
transform(it : Iterator[Node], nb : NodeBuffer) : Seq[Node]
Scala Library
|
|