Lines Matching refs:str
7 use core::str::{Bytes, CharIndices, Chars};
11 pub rest: &'a str,
26 pub fn starts_with(&self, s: &str) -> bool {
65 fn parse(&self, tag: &str) -> Result<Cursor<'a>, Reject> {
125 fn block_comment(input: Cursor) -> PResult<&str> {
166 const ERROR: &str = "(/*ERROR*/)";
322 fn ident_not_raw(input: Cursor) -> PResult<&str> {
478 fn delimiter_of_raw_string(input: Cursor) -> PResult<&str> {
961 fn doc_comment_contents(input: Cursor) -> PResult<(&str, bool)> {
984 fn take_until_newline_or_eof(input: Cursor) -> (Cursor, &str) {