MatchResult

Normally this struct wouldn't exist and I'd use a delegate. But for the wire protocol I need access to the captures array so it's a struct.

Constructors

this
this(CucumberStepFunction func, CucumberStepFunctionWithDocString funcWithDocString, CucumberStepFunctionWithDataTable funcWithDataTable, string[] captures, int id, string regex, string source)

Members

Functions

opCall
void opCall(DataTable dataTable)
opCall
void opCall()
opCall
void opCall(DocString docString)
opCast
bool opCast()

Variables

captures
const(string)[] captures;
func
CucumberStepFunction func;
funcWithDataTable
CucumberStepFunctionWithDataTable funcWithDataTable;
funcWithDocString
CucumberStepFunctionWithDocString funcWithDocString;
id
int id;
regex
string regex;
source
string source;

Meta