Lines Matching defs:string
57 /// `tag(string)` generates a parser that recognizes the argument string.
66 // This is a parser that returns `true` if it sees the string "true", and
70 // This is a parser that returns `false` if it sees the string "false", and
84 /// interior of a string, with a parse to recognize the double quote character,
85 /// before the string (using `preceded`) and after the string (using `terminated`).
91 /// parsing the string
92 /// - `context` lets you add a static string to provide more information in the
94 fn string<'a, E: ParseError<&'a str> + ContextError<&'a str>>(
98 "string",
126 preceded(sp, string),
164 map(string, |s| JsonValue::Str(String::from(s))),