SPatt

Abstract Super Pattern.

abstract
class SPatt : Patt {
protected @safe pure nothrow
Patt[] _subs;
}

Inherited Members

From Patt

matchU
auto ref matchU(ubyte[] haystack, size_t soff)

Match this with haystack at Offset soff.

findAt
const(ubyte[]) findAt(string haystack, size_t soff)

Find this in String haystack at Offset soff.

findRawAt
const(ubyte[]) findRawAt(ubyte[] haystack, size_t soff, Patt[] enders)

Find this in Raw Bytes haystack at Offset soff.

mandatories
Lit[] mandatories()

Get All Literals that must match a given source X in order for this to match X somewhere.

optionals
Lit[] optionals()

Get Optional Literals that may match a given source X if this matches X somewhere.

Meta