Module scan_rules::scanner::runtime [] [src]

Types and constructors for various runtime scanners.

Structs

ExactWidth

Runtime scanner that forces exactly width bytes to be consumed.

MaxWidth

Runtime scanner that forces at most width bytes to be consumed.

MinWidth

Runtime scanner that forces at least width bytes to be consumed.

ScanA

Runtime scanner that delegates to a static scanner.

Functions

exact_width

Creates a runtime scanner that forces exactly width bytes to be consumed.

exact_width_a

Creates a runtime scanner that forces exactly width bytes to be consumed by the static scanner S.

max_width

Creates a runtime scanner that forces at most width bytes to be consumed.

max_width_a

Creates a runtime scanner that forces at most width bytes to be consumed by the static scanner S.

min_width

Creates a runtime scanner that forces at least width bytes to be consumed.

min_width_a

Creates a runtime scanner that forces at least width bytes to be consumed by the static scanner S.

scan_a

Returns a runtime scanner that delegates to a static scanner.