pub fn elm_any<'a, I>() -> Parser<'a, I, I>
Expand description
Returns a Parser that parses an any element.
任意の要素を解析するParserを返します。
§Example
use oni_comb_parser_rs::prelude::*;
let text: &str = "x";
let input: Vec<char> = text.chars().collect::<Vec<_>>();
let parser: Parser<char, char> = elm_any();
let result: ParseResult<char, char> = parser.parse(&input);
assert!(result.is_success());
assert_eq!(result.success().unwrap(), input[0]);