StepParsers

org.specs2.specification.script.StepParsers
See theStepParsers companion object
trait StepParsers extends ImplicitParameters

StepParsers are using delimiters or regular expressions with groups to extract values from a piece of text and possibly strip it from delimiters if necessary

Attributes

Companion
object
Graph
Supertypes
trait ImplicitParameters
class Object
trait Matchable
class Any
Known subtypes
object StepParser.type
object StepParsers.type

Members list

Type members

Classlikes

class ReadAs(regex: Regex, groups: Regex)

This class creates Given or Then extractors from a regular expression and a function

This class creates Given or Then extractors from a regular expression and a function

Attributes

Supertypes
class Object
trait Matchable
class Any

Inherited classlikes

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Attributes

Inherited from:
ImplicitParameters
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](f: String => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String, String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String, String, String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String, String, String, String, String) => T)(implicit fpr: Regex): DelimitedStepParser[T]
def groupAs(groupRegex: String): ReadAs

factory method to create a Given or a Then element from a regex, using a regex denoting groups to extract

factory method to create a Given or a Then element from a regex, using a regex denoting groups to extract

Attributes

def readAs(regex: String): ReadAs

factory method to create a Given or a Then element from a regex

factory method to create a Given or a Then element from a regex

Attributes

def seq[T](f: Seq[String] => T)(implicit fpr: Regex): DelimitedStepParser[T]

Concrete fields

val extract: StepParser.type

Implicits

Implicits

implicit lazy val stepParserRegex: Regex

Inherited implicits

implicit lazy val implicitParameter: ImplicitParam

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter1: ImplicitParam1

Attributes

Inherited from:
ImplicitParameters

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter2: ImplicitParam2

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter3: ImplicitParam3

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter4: ImplicitParam4

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter5: ImplicitParam5

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter6: ImplicitParam6

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter7: ImplicitParam7

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter8: ImplicitParam8

Attributes

Inherited from:
ImplicitParameters
implicit lazy val implicitParameter9: ImplicitParam9

Attributes

Inherited from:
ImplicitParameters