Struct version_number::parsers::modular::ParsedBase
source · pub struct ParsedBase { /* private fields */ }
Expand description
A parser state of a modular parser.
When the parser has reached this state, a two component BaseVersion
has been parsed, although no end-of-input check has taken place.
For example, given the hypothetical input a.bc
, we are only aware that
a.b
is a valid two component version number, while the tokens c
may be
anything. In practice, the c
tokens cannot be the complete set of available
tokens because the component parsing implementation has to distinguish
between the tokens in the component (i.e. the number) and those outside of
it. This though, is only an implementation detail, and not a concern of the
API.