grep

ammonite.runtime.tools.grep
object grep

Lets you filter a list by searching for a matching string or regex within the pretty-printed contents.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
grep.type

Members list

Type members

Classlikes

case class ![T](pat: T)(implicit evidence$2: Grepper[T])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object !

Magic implicits used to turn the [T: PPrint](t: T) => Option[T] into a real T => Option[T] by materializing PPrint[T] for various values of T

Magic implicits used to turn the [T: PPrint](t: T) => Option[T] into a real T => Option[T] by materializing PPrint[T] for various values of T

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
!.type

Value members

Concrete methods

def apply[T : Grepper](pat: T, str: Any)(implicit evidence$1: Grepper[T], c: PPrinter): Option[GrepResult]