# Functions
ExtractAt extracts the position in the input stream where the error occurred.
Greedy returns a Matcher that matches a given inner Matcher if and only if the next character does not satisfy the inner Matcher.
Group returns a new matcher that matches a group of characters.
Literal returns a Matcher that matches a given literal string.
Many returns a Matcher that matches a given inner Matcher as many times as possible.
NewErrAfter creates a new ErrAfter error.
NewErrLexing returns an error that occurs during lexing.
NewErrNotAsExpected is a convenience function that creates a new ErrNotAsExpected error with the specified kind, got value, and expected values.
NewIterator creates a new iterator over the results of an active lexer.
Newline returns a new matcher for newline sequences.
NewPrettify returns a new instance of Prettify with the given tab size.
One returns a new matcher that matches a single character.
Predicate returns a new matcher that matches according to a predicate.
Range returns a matcher that matches a group of characters between left and right.
Sequence returns a Matcher that matches a sequence of provided Matchers in the order they are given.
WithRightBound returns a Matcher that matches a given inner Matcher until a boundary character is encountered.
# Variables
ErrExhausted occurs when an iterator is exhausted.
ErrNotFound occurs when the input stream is not empty but the current rune is not as expected.
ErrUnexpectedSuccess occurs when the matcher succeeds with utf8.RuneError as its character match.
# Structs
Builder is a builder for a Lexer.
ErrAfter is an error that occurs after another error.
ErrLexing is an error that occurs during lexing.
Iterator is an iterator over the results of an active lexer.
Lexer is a implementation of a lexer that uses a function for lexing.
Prettify is a pretty-printer.
Result is the result of an active lexer.