__anonymous.skipStep

Skip a single character if it matches. Params: check = Function to match against.

struct __anonymous
ref
skipStep
(
Checker check
)

Return Value

Type: ParsingStream!T

the stream, to allow chaining with other methods.

Examples

auto stream = parsingStream("  white  = space(stuff)");

assert(stream.skip().match(a => a.isAlpha) == "white");

Meta