SPatt

Abstract Super Pattern.

Constructors

this
this(Patt[] subs_)
Undocumented in source.
this
this(Args subs_)
Undocumented in source.

Members

Variables

_subs
Patt[] _subs;
Undocumented in source.

Inherited Members

From Patt

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

Match this with 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.
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.
opAltImpl
Alt opAltImpl(Patt rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

minLength
size_t minLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
maxLength
size_t maxLength [@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.
isConstant
bool isConstant [@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.
getConstant
const(ubyte[]) getConstant [@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.

optionals
Lit[] optionals [@property getter]

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

_parent
Patt _parent;

Parenting (Super) Pattern.

greedy
bool greedy;
Undocumented in source.

Meta