DelimitedStepParser9

org.specs2.specification.script.DelimitedStepParser9
class DelimitedStepParser9[T](f: (String, String, String, String, String, String, String, String, String) => T, regex: Regex) extends DelimitedStepParser[T]

Attributes

Graph
Supertypes
trait StepParser[T]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def parse1(text: String): T
def withRegex(r: Regex): DelimitedStepParser[T]

use another regex with this parser

use another regex with this parser

Attributes

Inherited methods

def map[S](f: T => S): StepParser[S]

Attributes

Inherited from:
StepParser
def parse(text: String): Either[Throwable, (String, T)]

parse some text and extract some well-type value T if the original text contains delimiters to indicate the values to extract, remove them

parse some text and extract some well-type value T if the original text contains delimiters to indicate the values to extract, remove them

this is equivalent to running strip and run at the same time so it might be more efficient

Attributes

Inherited from:
DelimitedStepParser
def run(text: String): Either[Throwable, T]

Attributes

Inherited from:
DelimitedStepParser
def strip(text: String): String

Attributes

Inherited from:
DelimitedStepParser