StepParsers

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

Companion
object
trait ImplicitParameters
class Object
trait Matchable
class Any
object StepParser

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

Inherited classlikes

Inherited from
ImplicitParameters

Value members

Concrete methods

def apply[T](f: String => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String) => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String, String, String, String) => T)(using fpr: Regex): DelimitedStepParser[T]
def apply[T](f: (String, String, String, String, String, String, String, String, String, String) => T)(using 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

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

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

Concrete fields

final lazy val stepParserRegex: Regex

Inherited fields

Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters
Inherited from
ImplicitParameters