Lit

Literal Pattern with Cached Binary Byte Histogram.

Constructors

this
this(string bytes_)
Undocumented in source.
this
this(ubyte ch)
Undocumented in source.
this
this(Data bytes_)
Undocumented in source.
this
this(Data bytes_)
Undocumented in source.

Alias This

_bytes

Members

Functions

atRaw
size_t atRaw(Data input, size_t soff)
Undocumented in source. Be warned that the author may not have intended to support it.
findRawAt
const(Data) findRawAt(Data input, size_t soff, Node[] enders)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

bounds
Bounds bounds [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
bytes
auto ref bytes [@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.
mandatories
Lit[] mandatories [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tryGetConstant
const(Data) tryGetConstant [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Node

opBinary
Seq opBinary(Node rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Alt opBinary(Node rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opCatImpl
Seq opCatImpl(Node rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opAltImpl
Alt opAltImpl(Node rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
at
size_t at(string input, size_t soff)
Undocumented in source. Be warned that the author may not have intended to support it.
atRaw
size_t atRaw(Data input, size_t soff)
Undocumented in source.
findAt
const(Data) findAt(string input, size_t soff)

Find this in String input at offset soff.

findRawAt
const(Data) findRawAt(Data input, size_t soff, Node[] enders)

Find this in Raw Bytes input at offset soff.

bounds
Bounds bounds [@property getter]
Undocumented in source.
isFixed
bool isFixed [@property getter]
Undocumented in source.
isConstant
bool isConstant [@property getter]
Undocumented in source.
isVariable
bool isVariable [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
tryGetConstant
const(Data) tryGetConstant [@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
Node _parent;

Parenting (Super) Pattern.

Meta