LanguageExt.Parsec by Paul Louth

<PackageReference Include="LanguageExt.Parsec" Version="3.5.36-beta" />

 ParserResult<I, O>

public class ParserResult<I, O>
public readonly Reply<I, O> Reply

public readonly ResultTag Tag

public bool IsFaulted { get; }

public R Match<R>(Func<ParserError, R> EmptyError, Func<ParserError, R> ConsumedError, Func<ParserResult<I, O>, R> Otherwise)

public R Match<R>(Func<ParserError, R> EmptyError, Func<ParserResult<I, O>, R> Otherwise)

public R Match<R>(Func<Reply<I, O>, R> Empty, Func<ParserResult<I, O>, R> Otherwise)

public R Match<R>(Func<Reply<I, O>, R> Empty, Func<Reply<I, O>, R> Consumed)

public R Match<R>(Func<O, PString<I>, ParserError, R> ConsumedOK, Func<ParserError, R> ConsumedError, Func<O, PString<I>, ParserError, R> EmptyOK, Func<ParserError, R> EmptyError)

public ParserResult<I, U> Project<S, U>(S s, Func<S, O, U> project)

public ParserResult<I, U> Select<U>(Func<O, U> map)

public ParserResult<I, O> SetEndIndex(int endIndex)

public Either<string, O> ToEither()

public Either<ERROR, O> ToEither<ERROR>(Func<string, ERROR> f)

public Option<O> ToOption()