Module parser

Source
Expand description

Parser that consumes a string and produces the first representation of the matcher.

Enums§

CaptureOrExact
Either a Capture, or an Exact match
RefCaptureVariant
Token representing various types of captures.
RouteParserToken
Tokens generated from parsing a route matcher string. They will be optimized to another token type that is used to match URLs.

Functions§

parse
Parse a matching string into a vector of RouteParserTokens.