Patt

Base Pattern.

Members

Functions

at
size_t at(string haystack, size_t soff)
Undocumented in source. Be warned that the author may not have intended to support it.
atU
size_t atU(ubyte[] haystack, size_t soff)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

match
auto ref match(string haystack, size_t soff)
Undocumented in source. Be warned that the author may not have intended to support it.
matchU
auto ref matchU(ubyte[] haystack, size_t soff)

Match this with haystack at Offset soff.

opAltImpl
Alt opAltImpl(Patt rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Seq opBinary(Patt rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Alt opBinary(Patt rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatImpl
Seq opCatImpl(Patt rhs)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

getConstant
const(ubyte[]) getConstant [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isConstant
bool isConstant [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isFixed
bool isFixed [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isVariable
bool isVariable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
mandatories
Lit[] mandatories [@property getter]

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

maxLength
size_t maxLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
minLength
size_t minLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
optionals
Lit[] optionals [@property getter]

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

Variables

_parent
Patt _parent;

Parenting (Super) Pattern.

greedy
bool greedy;
Undocumented in source.

Meta