blob: 54a9e49c1c15f63456795d34383d2b645648bdcf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
class Mxml {
private def processChildren( children:Seq[Any] ):List[Mxml] = {
children.toList.flatMap ( e => {
e match {
case s:scala.collection.Traversable[_] => s case a => List(a)
}
})
}
}
|