Module chumsky::primitive[][src]

Expand description

Parser primitives that accept specific token patterns.

Structs

Functions

A parser that accepts any input (but not the end of input).

A parser primitive that allows you to define your own custom parsers. In theory, you shouldn’t need to use this unless you have particularly bizarre requirements.

A parser that parses no inputs.

A parser that accepts only the end of input.

A parser that accepts only inputs that match the given predicate.

A parser that accepts a input and tests it against the given fallible function.

A parser that accepts only the given input.

A parser that accepts any input that is not in a sequence of specific inputs.

A parser that accepts one of a sequence of specific inputs.

A parser that accepts only a sequence of specific inputs.

Type Definitions

See any.