Module flussab::text[][src]

Utilities for parsing text based formats using a ByteReader.

Structs

LineColumn

Source location consisting of a line and column number.

LineReader

Wraps a ByteReader to count track lines.

SyntaxError

A simple syntax error type for text based formats.

Functions

ascii_digits

Passes over ASCII digits and parses them as decimal number.

ascii_digits_multi

Optimized version of ascii_digits.

fixed

Passes over a fixed sequence if present.

newline

Passes over a single newline if present.

next_newline

Passes over the next newline.

signed_ascii_digits

Passes over ASCII digits, optionally prefixed by '-’, and parses them as decimal number.

signed_ascii_digits_multi

Optimized version of signed_ascii_digits.

tabs_or_spaces

Passes over tab and space characters.