Parser.Success<T> method (1 of 2)

Succeeds with the specified value without advancing the text position.

public static IParser<T> Success<T>(T value)

See Also


Parser.Success<T,U> method (2 of 2)

Succeeds with the specified value if the parser is successful.

public static IParser<U> Success<T, U>(this IParser<T> parser, U value)

See Also