All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wartremover.CompositeTraverser.scala Maven / Gradle / Ivy

The newest version!
package org.wartremover

abstract class CompositeTraverser(val traversers: List[WartTraverser]) extends WartTraverser {
  final def apply(u: WartUniverse): u.Traverser = {
    if (traversers.nonEmpty) {
      WartTraverser.sumList(u)(traversers)
    } else {
      import u.universe._
      new u.Traverser {
        override def traverse(tree: Tree): Unit = ()
      }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy