[][src]Crate nl_parser

Enums

Number

Represents either a float or an integer

ParseError

An Error which may occur during parsing

Parsed

Result of parsing a string

Functions

parse_next

Attempt to parse a Parsed. Precedence is string, then number and then token

parse_number

Attempt to parse a Parsed::Number

parse_string

Attempt to parse a Parsed::String

parse_token

Attempt to parse a Parsed::Token

Type Definitions

ParseResult

A helper for the result of parsing. Holds a tuple of the index of the found result, the type parsed as well as the remaining unparsed string