tryParse<I, O> function
Implementation
ParseResult<I, O> tryParse<I, O>(O? Function(State<I> state) parse, I input) {
final state = State(input);
final result = parse(state);
final parseResult = _createParseResult<I, O>(state, result);
return parseResult;
}