[][src]Module rcombinators::primitives

Structs

Int

Int parses an integer resulting in IType. It is recommended to use the specializations such as Int64, Uint32, etc.

Nothing

Nothing is a parser that always succeeds.

OneOf

OneOf matches any character that is (or is not) in its set.

StringParser

StringParser consumes a fixed string.

Functions

float

float parses floats in the format of [-]dd[.[dd]][e[-]ddd].

string_none_of

A parser that parses a string consisting of any characters not in the set.

string_of

A parser that parses a string consisting of characters chars.

whitespace

whitespace consumes any number of tabs, spaces, newlines.

Type Definitions

Int8

Parse a 8 bit signed integer.

Int16

Parse a 16 bit signed integer.

Int32

Parse a 32 bit signed integer.

Int64

Parse a 64 bit signed integer.

Int128

Parse a 128 bit signed integer.

Uint8

Parse a 8 bit unsigned integer.

Uint16

Parse a 16 bit unsigned integer.

Uint32

Parse a 32 bit unsigned integer.

Uint64

Parse a 64 bit unsigned integer.

Uint128

Parse a 128 bit unsigned integer.