EmptyToken<T> : IParseResult<T>
A successful parse that records no information about any characters consumed. The Length
of this token is always 0
, even if it’s from a parser that consumed characters, e.g. those returned by Parse.Ignore
. It does however, record where the token matched in the text.
Constructors
EmptyToken(int) ➜ EmptyToken<T>
Constructs an
EmptyToken
for a given index.