Пример #1
0
 public bool Equals(SuspendedResult <TToken, T> other)
 => this.Rest == other.Result && this.Rest == other.Rest;
Пример #2
0
 private static ParsecStateStream <TToken, TPosition> Tokenize <TInput, TToken, TPosition>(IDisposable?resource, SuspendedResult <TInput, TToken> state, Parser <TInput, TToken> parser, TPosition position)
     where TPosition : IPosition <TToken, TPosition>
 => state.Result.CaseOf <ParsecStateStream <TToken, TPosition> >(