Lines Matching refs:Fallback
14 Fallback(fallback::TokenStream), enumerator
29 Fallback(fallback::LexError), enumerator
68 TokenStream::Fallback(fallback::TokenStream::new()) in new()
75 TokenStream::Fallback(tts) => tts.is_empty(), in is_empty()
82 TokenStream::Fallback(_) => mismatch(), in unwrap_nightly()
89 TokenStream::Fallback(s) => s, in unwrap_stable()
103 Ok(TokenStream::Fallback(src.parse()?)) in from_str()
112 Err(LexError::Fallback(fallback::LexError { in proc_macro_parse()
122 TokenStream::Fallback(tts) => Display::fmt(tts, f), in fmt()
137 TokenStream::Fallback(inner) => inner.to_string().parse().unwrap(), in from()
144 TokenStream::Fallback(inner) in from()
171 TokenStream::Fallback(token.into()) in from()
183 TokenStream::Fallback(trees.into_iter().collect()) in from_iter()
196 TokenStream::Fallback(_) => mismatch(), in from_iter()
200 Some(TokenStream::Fallback(mut first)) => { in from_iter()
202 TokenStream::Fallback(s) => s, in from_iter()
205 TokenStream::Fallback(first) in from_iter()
221 TokenStream::Fallback(tts) => tts.extend(stream), in extend()
234 TokenStream::Fallback(tts) => { in extend()
245 TokenStream::Fallback(tts) => Debug::fmt(tts, f), in fmt()
254 LexError::Fallback(e) => Span::Fallback(e.span()), in span()
267 LexError::Fallback(e) in from()
275 LexError::Fallback(e) => Debug::fmt(e, f), in fmt()
292 LexError::Fallback(e) => Display::fmt(e, f), in fmt()
300 Fallback(fallback::TokenTreeIter), enumerator
312 TokenStream::Fallback(tts) => TokenTreeIter::Fallback(tts.into_iter()), in into_iter()
323 TokenTreeIter::Fallback(iter) => return iter.next(), in next()
344 TokenTreeIter::Fallback(tts) => tts.size_hint(), in size_hint()
359 Fallback(fallback::SourceFile), enumerator
372 SourceFile::Fallback(a) => a.path(), in path()
379 SourceFile::Fallback(a) => a.is_real(), in is_real()
389 SourceFile::Fallback(a) => Debug::fmt(a, f), in fmt()
403 Fallback(fallback::Span), enumerator
411 Span::Fallback(fallback::Span::call_site()) in call_site()
420 Span::Fallback(fallback::Span::mixed_site()) in mixed_site()
429 Span::Fallback(fallback::Span::def_site()) in def_site()
442 (Span::Fallback(a), Span::Fallback(b)) => Span::Fallback(a.resolved_at(b)), in resolved_at()
456 (Span::Fallback(a), Span::Fallback(b)) => Span::Fallback(a.located_at(b)), in located_at()
464 Span::Fallback(_) => panic!("proc_macro::Span is only available in procedural macros"), in unwrap()
472 Span::Fallback(s) => SourceFile::Fallback(s.source_file()), in source_file()
486 Span::Fallback(s) => { in start()
503 Span::Fallback(s) => { in end()
514 (Span::Fallback(a), Span::Fallback(b)) => Span::Fallback(a.join(b)?), in join()
524 (Span::Fallback(a), Span::Fallback(b)) => a.eq(b), in eq()
532 Span::Fallback(_) => mismatch(), in unwrap_nightly()
545 Span::Fallback(inner) in from()
553 Span::Fallback(s) => Debug::fmt(s, f), in fmt()
563 Span::Fallback(s) => fallback::debug_span_field_if_nontrivial(debug, s), in debug_span_field_if_nontrivial()
570 Fallback(fallback::Group), enumerator
585 TokenStream::Fallback(stream) => { in new()
586 Group::Fallback(fallback::Group::new(delimiter, stream)) in new()
599 Group::Fallback(g) => g.delimiter(), in delimiter()
606 Group::Fallback(g) => TokenStream::Fallback(g.stream()), in stream()
613 Group::Fallback(g) => Span::Fallback(g.span()), in span()
623 Group::Fallback(g) => Span::Fallback(g.span_open()), in span_open()
633 Group::Fallback(g) => Span::Fallback(g.span_close()), in span_close()
640 (Group::Fallback(g), Span::Fallback(s)) => g.set_span(s), in set_span()
648 Group::Fallback(_) => mismatch(), in unwrap_nightly()
655 Group::Fallback(g) in from()
663 Group::Fallback(group) => Display::fmt(group, formatter), in fmt()
672 Group::Fallback(group) => Debug::fmt(group, formatter), in fmt()
680 Fallback(fallback::Ident), enumerator
687 Span::Fallback(s) => Ident::Fallback(fallback::Ident::new(string, s)), in new()
704 Span::Fallback(s) => Ident::Fallback(fallback::Ident::new_raw(string, s)), in new_raw()
711 Ident::Fallback(t) => Span::Fallback(t.span()), in span()
718 (Ident::Fallback(t), Span::Fallback(s)) => t.set_span(s), in set_span()
726 Ident::Fallback(_) => mismatch(), in unwrap_nightly()
735 (Ident::Fallback(t), Ident::Fallback(o)) => t == o, in eq()
749 Ident::Fallback(t) => t == other, in eq()
758 Ident::Fallback(t) => Display::fmt(t, f), in fmt()
767 Ident::Fallback(t) => Debug::fmt(t, f), in fmt()
775 Fallback(fallback::Literal), enumerator
784 Literal::Fallback(fallback::Literal::$name(n))
796 Literal::Fallback(fallback::Literal::$name(n))
840 Literal::Fallback(fallback::Literal::f32_unsuffixed(f)) in f32_unsuffixed()
848 Literal::Fallback(fallback::Literal::f64_unsuffixed(f)) in f64_unsuffixed()
856 Literal::Fallback(fallback::Literal::string(t)) in string()
864 Literal::Fallback(fallback::Literal::character(t)) in character()
872 Literal::Fallback(fallback::Literal::byte_string(bytes)) in byte_string()
879 Literal::Fallback(lit) => Span::Fallback(lit.span()), in span()
886 (Literal::Fallback(lit), Span::Fallback(s)) => lit.set_span(s), in set_span()
897 Literal::Fallback(lit) => lit.subspan(range).map(Span::Fallback), in subspan()
904 Literal::Fallback(_) => mismatch(), in unwrap_nightly()
911 Literal::Fallback(s) in from()
919 Literal::Fallback(t) => Display::fmt(t, f), in fmt()
928 Literal::Fallback(t) => Debug::fmt(t, f), in fmt()